feat: new now page 01-04-2025

This commit is contained in:
Ayo Ayco 2025-01-04 23:52:58 +01:00
parent 44acb5bb78
commit 2232ef22bf
5 changed files with 24 additions and 12 deletions

View file

@ -1,8 +1,8 @@
--- ---
export interface Props { export interface Props {
title?: string title?: string | undefined
description?: string description?: string | undefined
ogImage?: string ogImage?: string | undefined
} }
const defaultDescription = const defaultDescription =
'Professional software engineer specializing in web development with a decade of experience building web applications for both private businesses and government-funded high-impact projects utilizing web technologies, IoT, data viz/insights, remote sensing, and GIS' 'Professional software engineer specializing in web development with a decade of experience building web applications for both private businesses and government-funded high-impact projects utilizing web technologies, IoT, data viz/insights, remote sensing, and GIS'

View file

@ -1,7 +1,7 @@
{ {
"title": "", "title": "Finding my rhythm",
"description": "", "description": "Feels like I'm finding a good rhythm for myself here now...",
"publishDate": "2025-01-04", "publishDate": "2025-01-04",
"publishedOn": "", "publishedOn": "a cold Sunday night while the fam is already asleep",
"publishState": "" "publishState": "in my home in Amsterdam"
} }

View file

@ -0,0 +1,13 @@
Happy with how I organized my spaces at home with separation for *creating* and *consuming* stuff, after [realizing](https://social.ayco.io/@ayo/113753532411548490) that [*I like it that way*](https://www.youtube.com/watch?v=4fndeDfaWCg).
Meaning, in my workspace where I usually create stuff (e.g., software, music, write-ups) it feels weird to be consuming media (e.g., books, games, files).
Enjoying this so far. I now have a reading corner, a gaming corner, a music corner, and my usual work area (which is the biggest).
I have [received news](https://social.ayco.io/@ayo/113759677401894023) that my proposal to talk about [Elk](https://elk.zone) in [FOSDEM2025](https://fosdem.org/2025/) was accepted.
Fingers-crossed they send me the schedule for the slot soon. So glad that I will be participating in topics I am most passionate about: The freedom of people in the Web and the efforts to protect it using Free and Open Source Software.
I have also put up [a page](/tech-bsky-fedi) in celebration of Bsky accounts who opted to bridge their presense in the Fediverse. Hoping to get more Bsky accounts to do that...
Overall, after 3 winters here in The Netherlands, I feel like I have adjusted well already to find my rhythm. Looking forward to a great 2025!

View file

@ -38,7 +38,7 @@ const { title, description, ogImage } = Astro.props
body, body,
* { * {
background: var(--bg-darker); background: var(--bg-darker);
color: var(--text-color-light); color: var(--text-color-light-faded);
} }
} }
@ -102,7 +102,7 @@ const { title, description, ogImage } = Astro.props
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
a { a {
color: var(--color-brand-complement); color: var(--color-brand-blue-1);
} }
} }
</style> </style>

View file

@ -13,6 +13,7 @@ const __dirname = dirname(__filename)
const nowMdPath = resolve(__dirname, '../constants/now.md') const nowMdPath = resolve(__dirname, '../constants/now.md')
const nowContent = readFileSync(nowMdPath, 'utf-8') const nowContent = readFileSync(nowMdPath, 'utf-8')
const nowHtml = await mdToHTML(nowContent) const nowHtml = await mdToHTML(nowContent)
const publishedOn = now.publishedOn === '' ? now.publishDate : now.publishedOn
const posts = await Astro.glob('./now/and-then/posts/*.astro') const posts = await Astro.glob('./now/and-then/posts/*.astro')
--- ---
@ -22,9 +23,7 @@ const posts = await Astro.glob('./now/and-then/posts/*.astro')
<h1><span class="text-gradient">Now: {now.title}</span></h1> <h1><span class="text-gradient">Now: {now.title}</span></h1>
<p> <p>
<em <em
>Published on <time datetime="{now.publishDate}" >Published on <time datetime="{now.publishDate}">{publishedOn}</time>
>{now.publishedOn ?? now.publishDate}</time
>
{now.publishState}</em {now.publishState}</em
> >
</p> </p>