Skip to content

Commit 9ff1a19

Browse files
committed
style: format project
1 parent 2521483 commit 9ff1a19

6 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/components/Announcement.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const { announcement } = Astro.props;
1414
<h1 class="text-gray-600 dark:text-gray-400">
1515
{announcement.data.description}
1616
</h1>
17-
<div class="prose my-8 text-gray-600 dark:prose-invert dark:text-gray-400">
17+
<div class="prose dark:prose-invert my-8 text-gray-600 dark:text-gray-400">
1818
<slot />
1919
</div>
2020
</div>

src/components/LatestBlogPost.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const { post } = Astro.props;
1111
<div class="my-4">
1212
<a
1313
href="/blog"
14-
class="lowercase text-gray-900 hover:underline dark:text-gray-100">posts</a
14+
class="text-gray-900 lowercase hover:underline dark:text-gray-100">posts</a
1515
>
1616
<BlogPostCard post={post} />
1717
</div>

src/components/Navbar.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import ArrowUpRight from "./ArrowUpRight.astro";
66
aria-label="Navigation bar"
77
class="sticky top-0 z-10 bg-gray-50 py-4 dark:bg-[#0a0a0a]"
88
>
9-
<ul class="flex gap-4 font-medium lowercase text-gray-900 dark:text-gray-100">
9+
<ul class="flex gap-4 font-medium text-gray-900 lowercase dark:text-gray-100">
1010
<li>
1111
<a class="py-2 hover:underline" href="/"> Home </a>
1212
</li>

src/components/Projects.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,6 @@ const projects: Project[] = [
4545
---
4646

4747
<div class="my-8">
48-
<h1 class="lowercase text-gray-900 dark:text-gray-100">Projects</h1>
48+
<h1 class="text-gray-900 lowercase dark:text-gray-100">Projects</h1>
4949
{projects.map((project) => <ProjectCard project={project} />)}
5050
</div>

src/pages/blog/index.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const tags = [...new Set(posts.map((post) => post.data.tags).flat())];
1616

1717
<BaseLayout title="Milán Herke - Blog">
1818
<Navbar />
19-
<h1 class="mb-1 mt-4 lowercase text-gray-900 dark:text-gray-100">Posts</h1>
19+
<h1 class="mt-4 mb-1 text-gray-900 lowercase dark:text-gray-100">Posts</h1>
2020
<Tags tags={tags} />
2121
{orderedPosts.map((post) => <BlogPostCard post={post} />)}
2222
</BaseLayout>

src/pages/tags/[tag].astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const allPosts = await getCollection(
2525

2626
<BaseLayout title="Milán Herke - Blog">
2727
<Navbar />
28-
<h1 class="mb-6 mt-4 lowercase text-gray-900 dark:text-gray-100">
28+
<h1 class="mt-4 mb-6 text-gray-900 lowercase dark:text-gray-100">
2929
Posts tagged with {tag}
3030
</h1>
3131
{allPosts.map((post) => <BlogPostCard post={post} />)}

0 commit comments

Comments
 (0)