Skip to content

Commit 03f411e

Browse files
committed
partially done activities, install prettier-plugin-tailwindcss, and apply
1 parent 4831a82 commit 03f411e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+1932
-647
lines changed

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
contents

.prettierrc

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
plugins:
22
- prettier-plugin-astro
33
- prettier-plugin-svelte
4+
- prettier-plugin-tailwindcss
45
overrides:
5-
- files: '*.astro'
6+
- files: "*.astro"
67
options:
7-
parser: 'astro'
8-
- files: '*.svelte'
8+
parser: "astro"
9+
- files: "*.svelte"
910
options:
10-
parser: 'svelte'
11+
parser: "svelte"

.vscode/extensions.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
{
2-
"recommendations": [
3-
"astro-build.astro-vscode"
4-
]
2+
"recommendations": ["astro-build.astro-vscode"]
53
}

_src/pages/404.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default function NotFoundPage() {
77
return (
88
<>
99
<GlobalHeader />
10-
<main className="container mx-auto px-4 py-12 prose">
10+
<main className="prose container mx-auto px-4 py-12">
1111
<h1>ページが見つかりません</h1>
1212
</main>
1313
<GlobalFooter />

_src/pages/activities/develop.tsx

Lines changed: 0 additions & 102 deletions
This file was deleted.

_src/pages/activities/learn.tsx

Lines changed: 0 additions & 101 deletions
This file was deleted.

_src/pages/activities/share.tsx

Lines changed: 0 additions & 102 deletions
This file was deleted.

_src/pages/articles.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export default function ArticlesPage({
1212
<>
1313
<GlobalHeader />
1414
<main className="container mx-auto px-4 py-24">
15-
<h1 className="text-4xl text-center">すべての記事</h1>
15+
<h1 className="text-center text-4xl">すべての記事</h1>
1616
<ArticleList className="mt-16" articles={data.allMdx.nodes} />
1717
</main>
1818
<GlobalFooter />

_src/pages/donation.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export default function DonationPage() {
1515
<StaticImage
1616
alt=""
1717
src="../images/donation-header.jpg"
18-
class="w-full h-48"
18+
class="h-48 w-full"
1919
imgClassName="object-bottom"
2020
/>
2121
<main className="container mx-auto px-4 py-16">

0 commit comments

Comments
 (0)