From 8b92fe54aed1efb75c018ac2edae90c1183c81b5 Mon Sep 17 00:00:00 2001 From: Ayo Ayco Date: Sun, 23 Mar 2025 11:32:33 +0100 Subject: [PATCH] feat(now): publish date as small instead of em --- commands/now-template | 4 +- src/constants/now.json | 2 +- src/pages/now.astro | 97 ++++++++++--------- src/pages/now/and-then/posts/2022-09-20.astro | 4 +- src/pages/now/and-then/posts/2023-01-19.astro | 4 +- src/pages/now/and-then/posts/2023-06-23.astro | 4 +- src/pages/now/and-then/posts/2023-09-09.astro | 4 +- src/pages/now/and-then/posts/2024-04-19.astro | 4 +- src/pages/now/and-then/posts/2024-06-17.astro | 4 +- src/pages/now/and-then/posts/2024-09-05.astro | 4 +- src/pages/now/and-then/posts/2024-09-27.astro | 4 +- src/pages/now/and-then/posts/2024-12-25.astro | 4 +- src/pages/now/and-then/posts/2025-01-04.astro | 4 +- src/pages/now/and-then/posts/2025-01-09.astro | 4 +- src/pages/now/and-then/posts/2025-01-15.astro | 4 +- src/pages/now/and-then/posts/2025-01-31.astro | 4 +- src/pages/now/and-then/posts/2025-02-05.astro | 4 +- src/pages/now/and-then/posts/2025-02-11.astro | 4 +- src/pages/now/and-then/posts/2025-02-15.astro | 4 +- src/pages/now/and-then/posts/2025-03-13.astro | 4 +- 20 files changed, 86 insertions(+), 85 deletions(-) diff --git a/commands/now-template b/commands/now-template index bce6372..e440a88 100644 --- a/commands/now-template +++ b/commands/now-template @@ -16,11 +16,11 @@ publishedOn = publishedOn === '' ? publishDate : publishedOn

{title}

- + Published on {publishState} - +

diff --git a/src/constants/now.json b/src/constants/now.json index f0352ce..07053d0 100644 --- a/src/constants/now.json +++ b/src/constants/now.json @@ -3,5 +3,5 @@ "description": "I am focused at bringing my own web ecosystem to life", "publishDate": "2025-03-23", "publishedOn": "the 23rd of March, 2025 in my home in Amsterdam", - "publishState": "where it is starting to get sunny again" + "publishState": "where it is starting to get sunny again (sometimes)" } diff --git a/src/pages/now.astro b/src/pages/now.astro index 87fc0d7..36ca6a2 100644 --- a/src/pages/now.astro +++ b/src/pages/now.astro @@ -13,58 +13,59 @@ const publishedOn = now.publishedOn === '' ? now.publishDate : now.publishedOn

What's up Now

- Updated on { + + Updated on { now.publishState ? `, ${now.publishState}` : '' - } + } + + +


+ About now pages + · + Previously... +
- - + .link-card-grid { + display: grid; + gap: 1rem; + padding: 0; + } + +
diff --git a/src/pages/now/and-then/posts/2022-09-20.astro b/src/pages/now/and-then/posts/2022-09-20.astro index 2fe95cc..b47265b 100644 --- a/src/pages/now/and-then/posts/2022-09-20.astro +++ b/src/pages/now/and-then/posts/2022-09-20.astro @@ -10,10 +10,10 @@ const description =

{title}

- Published on the

diff --git a/src/pages/now/and-then/posts/2023-01-19.astro b/src/pages/now/and-then/posts/2023-01-19.astro index e6b765a..c0b4f5a 100644 --- a/src/pages/now/and-then/posts/2023-01-19.astro +++ b/src/pages/now/and-then/posts/2023-01-19.astro @@ -10,10 +10,10 @@ const description =

{title}

- Published on the

diff --git a/src/pages/now/and-then/posts/2023-06-23.astro b/src/pages/now/and-then/posts/2023-06-23.astro index 75a5d6a..4aa3f2e 100644 --- a/src/pages/now/and-then/posts/2023-06-23.astro +++ b/src/pages/now/and-then/posts/2023-06-23.astro @@ -9,9 +9,9 @@ const description = 'A project that aims to be a modern-day reading assistant'

{title}

- Published on the

diff --git a/src/pages/now/and-then/posts/2023-09-09.astro b/src/pages/now/and-then/posts/2023-09-09.astro index 5ed8b5b..9a96ab2 100644 --- a/src/pages/now/and-then/posts/2023-09-09.astro +++ b/src/pages/now/and-then/posts/2023-09-09.astro @@ -11,10 +11,10 @@ const description =

{title}

- Published on the

diff --git a/src/pages/now/and-then/posts/2024-04-19.astro b/src/pages/now/and-then/posts/2024-04-19.astro index 420118f..d7ac70e 100644 --- a/src/pages/now/and-then/posts/2024-04-19.astro +++ b/src/pages/now/and-then/posts/2024-04-19.astro @@ -10,9 +10,9 @@ const description = 'Building again with Python'

{title}

- Published on the

diff --git a/src/pages/now/and-then/posts/2024-06-17.astro b/src/pages/now/and-then/posts/2024-06-17.astro index a6984b4..1fa6646 100644 --- a/src/pages/now/and-then/posts/2024-06-17.astro +++ b/src/pages/now/and-then/posts/2024-06-17.astro @@ -10,9 +10,9 @@ const description = 'I have joined ING as a Chapter Lead for Web Engineering'

{title}

- Published on the

diff --git a/src/pages/now/and-then/posts/2024-09-05.astro b/src/pages/now/and-then/posts/2024-09-05.astro index 741a554..53bb82a 100644 --- a/src/pages/now/and-then/posts/2024-09-05.astro +++ b/src/pages/now/and-then/posts/2024-09-05.astro @@ -10,10 +10,10 @@ const description = 'This is a dump of what my current state, more or less'

{title}

- Published on the from my home in Amsterdam, where it is starting to get colder again :) from my home in Amsterdam, where it is starting to get colder again :)

diff --git a/src/pages/now/and-then/posts/2024-09-27.astro b/src/pages/now/and-then/posts/2024-09-27.astro index fa3b606..d1bf493 100644 --- a/src/pages/now/and-then/posts/2024-09-27.astro +++ b/src/pages/now/and-then/posts/2024-09-27.astro @@ -11,11 +11,11 @@ const description =

{title}

- Published on the from my home in Amsterdam, where it's beginning to rain more often again - :)

diff --git a/src/pages/now/and-then/posts/2024-12-25.astro b/src/pages/now/and-then/posts/2024-12-25.astro index 304a53a..6440425 100644 --- a/src/pages/now/and-then/posts/2024-12-25.astro +++ b/src/pages/now/and-then/posts/2024-12-25.astro @@ -21,11 +21,11 @@ const content = `

Christmas holidays as started for me.

{title}

- + Published on {publishState} - +

diff --git a/src/pages/now/and-then/posts/2025-01-04.astro b/src/pages/now/and-then/posts/2025-01-04.astro index 6bfed81..421216c 100644 --- a/src/pages/now/and-then/posts/2025-01-04.astro +++ b/src/pages/now/and-then/posts/2025-01-04.astro @@ -20,11 +20,11 @@ const content = `

Happy with how I organized my spaces at home with separation

{title}

- + Published on {publishState} - +

diff --git a/src/pages/now/and-then/posts/2025-01-09.astro b/src/pages/now/and-then/posts/2025-01-09.astro index 2896c5c..d751fb8 100644 --- a/src/pages/now/and-then/posts/2025-01-09.astro +++ b/src/pages/now/and-then/posts/2025-01-09.astro @@ -21,11 +21,11 @@ const content = `

Annual Sickness

{title}

- + Published on {publishState} - +

diff --git a/src/pages/now/and-then/posts/2025-01-15.astro b/src/pages/now/and-then/posts/2025-01-15.astro index b1fc397..ea2a881 100644 --- a/src/pages/now/and-then/posts/2025-01-15.astro +++ b/src/pages/now/and-then/posts/2025-01-15.astro @@ -17,11 +17,11 @@ const content = `

FOSDEM 2025

{title}

- + Published on {publishState} - +

diff --git a/src/pages/now/and-then/posts/2025-01-31.astro b/src/pages/now/and-then/posts/2025-01-31.astro index 3fe46c8..7c62be9 100644 --- a/src/pages/now/and-then/posts/2025-01-31.astro +++ b/src/pages/now/and-then/posts/2025-01-31.astro @@ -18,11 +18,11 @@ const content = `

At FOSDEM Social Web

{title}

- + Published on {publishState} - +

diff --git a/src/pages/now/and-then/posts/2025-02-05.astro b/src/pages/now/and-then/posts/2025-02-05.astro index 3095482..9148e75 100644 --- a/src/pages/now/and-then/posts/2025-02-05.astro +++ b/src/pages/now/and-then/posts/2025-02-05.astro @@ -22,11 +22,11 @@ publishedOn = publishedOn === '' ? publishDate : publishedOn

{title}

- + Published on {publishState} - +

diff --git a/src/pages/now/and-then/posts/2025-02-11.astro b/src/pages/now/and-then/posts/2025-02-11.astro index e5e5586..860c24f 100644 --- a/src/pages/now/and-then/posts/2025-02-11.astro +++ b/src/pages/now/and-then/posts/2025-02-11.astro @@ -21,11 +21,11 @@ publishedOn = publishedOn === '' ? publishDate : publishedOn

{title}

- + Published on {publishState} - +

diff --git a/src/pages/now/and-then/posts/2025-02-15.astro b/src/pages/now/and-then/posts/2025-02-15.astro index ba9ac14..3d798f7 100644 --- a/src/pages/now/and-then/posts/2025-02-15.astro +++ b/src/pages/now/and-then/posts/2025-02-15.astro @@ -18,11 +18,11 @@ publishedOn = publishedOn === '' ? publishDate : publishedOn

{title}

- + Published on {publishState} - +

diff --git a/src/pages/now/and-then/posts/2025-03-13.astro b/src/pages/now/and-then/posts/2025-03-13.astro index 1450c16..2aa2443 100644 --- a/src/pages/now/and-then/posts/2025-03-13.astro +++ b/src/pages/now/and-then/posts/2025-03-13.astro @@ -21,11 +21,11 @@ publishedOn = publishedOn === '' ? publishDate : publishedOn

{title}

- + Published on {publishState} - +