Skip to content

Commit

Permalink
optimize: optimize blog and button (#388)
Browse files Browse the repository at this point in the history
  • Loading branch information
weiguowang112 authored Oct 12, 2023
1 parent 4eced81 commit 48cac12
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 24 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,21 @@ This website is built using [Docusaurus 2](https://docusaurus.io/), a modern sta
### Installation

```
$ yarn
$ npm
```

### Local Development

```
$ yarn start
$ npm start
```

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

### Build

```
$ yarn build
$ npm run build
```

This command generates static content into the `build` directory and can be served using any static contents hosting service.
Expand All @@ -29,13 +29,13 @@ This command generates static content into the `build` directory and can be serv
Using SSH:

```
$ USE_SSH=true yarn deploy
$ USE_SSH=true npm deploy
```

Not using SSH:

```
$ GIT_USER=<Your GitHub username> yarn deploy
$ GIT_USER=<Your GitHub username> npm deploy
```

If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch.
1 change: 0 additions & 1 deletion blog/2019-05-28-first-blog-post.md

This file was deleted.

1 change: 0 additions & 1 deletion blog/2019-05-29-long-blog-post.md

This file was deleted.

1 change: 0 additions & 1 deletion blog/2021-08-01-mdx-blog-post.mdx

This file was deleted.

1 change: 0 additions & 1 deletion blog/download.md

This file was deleted.

7 changes: 0 additions & 7 deletions i18n/en/docusaurus-plugin-content-blog/download.md

This file was deleted.

7 changes: 0 additions & 7 deletions i18n/zh-cn/docusaurus-plugin-content-blog/download.md

This file was deleted.

2 changes: 2 additions & 0 deletions src/components/button/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
text-align: center;
border-radius: 4px;
text-decoration: none;
padding: 0%;

&-primary {
background: #267DF7;
}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/home/top/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ $animationDuration: 2s;
.button-area {
text-align: center;
margin-top: 40px;

.button {
margin-right: 12px;

Expand Down

0 comments on commit 48cac12

Please sign in to comment.