Skip to content

Commit

Permalink
style: 🎨 style code
Browse files Browse the repository at this point in the history
  • Loading branch information
cworld1 committed Nov 28, 2024
1 parent f8b9137 commit ff64faf
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 12 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@ Install dependencies:
cd astro-theme-pure
bun install
```

> [!NOTE]
> For Bun, if the installation is slow, it is recommended to use a mirror configuration by creating `bunfig.toml` under the project root directory:
> For Bun, if the installation is slow, it is recommended to use a mirror configuration by creating `bunfig.toml` under the project root directory:
>
> ```toml
> [install]
Expand Down
2 changes: 1 addition & 1 deletion src/components/GithubCard.astro
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const data = await fetchGitHubApi(`https://api.github.com/repos/${owner}/${repo}
<img
src={data.owner.avatar_url}
alt='avatar'
class='mb-4 mt-0 h-12 w-12 rounded-full sm:mb-0 sm:!mr-4'
class='mb-4 mt-0 h-12 w-12 rounded-full sm:!mr-4 sm:mb-0'
/>
<div class='flex-grow'>
<div class='flex flex-col sm:flex-row sm:items-center sm:justify-between'>
Expand Down
8 changes: 4 additions & 4 deletions src/content/post/customize/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ language: 'English'

[astro-theme-pure](https://github.com/cworld1/astro-theme-pure)

Customizing this theme requires adjusting a significant amount of source code.
Customizing this theme requires adjusting a significant amount of source code.

We have made efforts to centralize the configuration options in the `src/site.config.ts` file for user convenience and have integrated a variety of common social media/tools icons. If you want to add new icons, you will need to modify the source code yourself.

Expand All @@ -35,7 +35,7 @@ Some special configuration items are explained as follows:
#### Waline Comment System

> [!NOTE]
>
>
> Corresponds to the `siteConfig.walineServerUrl` configuration item in `src/site.config.ts`.
The theme's comment, read statistics, likes, and other functionalities are all provided by [Waline](https://waline.js.org/).
Expand All @@ -47,7 +47,7 @@ This theme only requires providing the final backend domain name in the `siteCon
#### Footer

> [!NOTE]
>
>
> Corresponds to the `socialLinks` configuration item in `src/site.config.ts`.
Currently supported social media include:
Expand Down Expand Up @@ -93,7 +93,7 @@ It is recommended to find new icons on the following websites to maintain consis
## Deployment Mode

> [!NOTE]
>
>
> Corresponds to the `export default defineConfig` configuration item in `astro.config.ts`.
If you are deploying with Vercel, no modification is needed.
Expand Down
4 changes: 2 additions & 2 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ const allPostsByDate = sortMDByDate(allPosts).slice(0, MAX_POSTS)
<p class='text-muted-foreground'>Developer / Designer</p>
<p class='text-muted-foreground'>
Lorem ipsum dolor sit amet, vidit suscipit at mei. Quem denique mea id. Usu ei regione
indoctum dissentiunt, cu meliore fuisset mei, vel quod voluptua ne. Ex dicat impedit mel, at
eum oratio possit voluptatum.
indoctum dissentiunt, cu meliore fuisset mei, vel quod voluptua ne. Ex dicat impedit mel,
at eum oratio possit voluptatum.
</p>
<Button title='More about me' class='w-fit self-end' href='/about' style='ahead' />
</Section>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/terms/copyright.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ language: 'En'
back: '/terms/list'
---

It may be recommended to generate policies from [PolicyMaker.io](https://policymaker.io).
It may be recommended to generate policies from [PolicyMaker.io](https://policymaker.io).
2 changes: 1 addition & 1 deletion src/pages/terms/disclaimer.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ language: 'En'
back: '/terms/list'
---

It may be recommended to generate policies from [PolicyMaker.io](https://policymaker.io).
It may be recommended to generate policies from [PolicyMaker.io](https://policymaker.io).
2 changes: 1 addition & 1 deletion src/pages/terms/list.astro
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const terms = [
{
title: 'Privacy Policy',
link: '/terms/privacy-policy'
},
}
]
---

Expand Down
2 changes: 1 addition & 1 deletion src/pages/terms/terms-and-conditions.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ language: 'En'
back: '/terms/list'
---

It may be recommended to generate policies from [PolicyMaker.io](https://policymaker.io).
It may be recommended to generate policies from [PolicyMaker.io](https://policymaker.io).

0 comments on commit ff64faf

Please sign in to comment.