Skip to content

Commit b951a80

Browse files
committed
Minor fix: header logo, About page
1 parent 1915a14 commit b951a80

2 files changed

Lines changed: 12 additions & 6 deletions

File tree

src/components/Header.astro

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ interface Props {}
99
<div class="flex flex-wrap justify-start items-center">
1010
<a href="/mycelithyl-hyphae/" class="py-2 flex-none flex items-center group">
1111
<svg
12-
class="h-8 sm:h-12 stroke-fore dark:stroke-fore-dark"
12+
class="h-8 sm:h-12 stroke-fore dark:stroke-fore-dark group-hover:stroke-fore-dim
13+
transition-colors duration-200 motion-reduce:transition-none"
1314
version="1.1"
1415
viewBox="0 0 100 80"
1516
>
@@ -85,7 +86,7 @@ interface Props {}
8586
<span
8687
id="logo"
8788
class="self-center text-2xl sm:text-4xl leading-8 whitespace-nowrap
88-
motion-reduce:group-hover:underline"
89+
group-hover:text-fore-dim transition-colors duration-200 motion-reduce:transition-none"
8990
>mycelithyl-hyphae</span
9091
>
9192
</a>

src/pages/about.astro

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ function getAge(birth: Date) {
88
}
99
---
1010

11-
<Main title="About" created={new Date("2024-09-01")}>
11+
<Main title="About" created={new Date("2024-09-01")} updated={new Date("2025-03-29")}>
1212
<div class="matter">
1313
<h2>Who</h2>
1414
<h3>... am I?</h3>
@@ -39,9 +39,14 @@ function getAge(birth: Date) {
3939
</div>
4040
<h2>When</h2>
4141
<h3>... did I come to be?</h3>
42-
<p>
43-
2003年。現在{getAge(new Date(2003, 0, 23))}歳。
44-
</p>
42+
<div class="md:flex">
43+
<p>
44+
2003年。現在{getAge(new Date(2003, 0, 23))}歳。
45+
</p>
46+
<p>
47+
On 2003. Currently {getAge(new Date(2003, 0, 23))} years old.
48+
</p>
49+
</div>
4550
<h2>Where</h2>
4651
<h3>... do I come from?</h3>
4752
<div class="md:flex">

0 commit comments

Comments
 (0)