Skip to content

Commit 60678cb

Browse files
committed
Made a few tweaks to the header
1 parent 6742737 commit 60678cb

3 files changed

Lines changed: 12 additions & 8 deletions

File tree

src/components/Header.astro

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1-
<header class="mb-32 flex flex-col items-start">
2-
<a class="text-medium inline-block font-medium no-underline" href="/">
3-
Cristopher Yates
1+
<header class="mb-32 inline-block">
2+
<a
3+
class="flex flex-col items-start no-underline"
4+
href="/"
5+
aria-label="Go to homepage"
6+
>
7+
<span class="text-medium font-medium">Cristopher Yates</span>
8+
<span class="text-medium text-muted-foreground leading-none font-medium">
9+
Software Developer
10+
</span>
411
</a>
5-
<span class="text-medium text-muted-foreground leading-none">
6-
Software Developer
7-
</span>
812
</header>

src/pages/blog/[id].astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const { Content } = await render(entry);
2121
currentEntry={entry}
2222
>
2323
<article class="flex-col items-start justify-start">
24-
<h1 class="mb-8 font-semibold">{entry.data.title}</h1>
24+
<h1 class="mt-0 mb-8 font-semibold">{entry.data.title}</h1>
2525
<Content />
2626
</article>
2727
</BlogPostLayout>

src/styles/global.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120
}
121121

122122
/* Make headings a positioning context */
123-
h1,
123+
/* h1, */
124124
h2,
125125
h3,
126126
h4,

0 commit comments

Comments
 (0)