Move now to the notes, add redirect. Fix bug with note links and capitalization

This commit is contained in:
2026-05-15 16:49:36 -07:00
parent 0a98a4c6ed
commit 8f299c9631
6 changed files with 33 additions and 9 deletions

View File

@@ -13,4 +13,8 @@ export default defineConfig({
vite: {
plugins: [],
},
redirects: {
"/now": "/notes/now",
},
});

View File

@@ -41,7 +41,7 @@ const pathname = Astro.url.pathname.replace(import.meta.env.BASE_URL, '/');
return (
<div>
<a href={notePath} class={linkClasses}>
<a href={node.id} class={linkClasses}>
{node.title || leader}
</a>
</div>

View File

@@ -12,6 +12,7 @@ import SocialLinks from './SocialLinks.astro';
<SidebarLink href="/">Home</SidebarLink>
<SidebarLink href="/blog">Blog</SidebarLink>
<SidebarLink href="/about">About</SidebarLink>
<SidebarLink href="/now">Now</SidebarLink>
<NotesLinks />
</div>
<div class="social-links">

View File

@@ -16,6 +16,17 @@
></path></svg
>
</a>
<a href="/rss.xml">
<span class="sr-only">Subscribe to Periodic's RSS feed</span>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640" aria-hidden="true" width="32" height="32">
<!--!Font Awesome Free v7.2.0 by @fontawesome - https://fontawesome.com
License - CC BY 4.0 - https://fontawesome.com/license/free
Copyright 2026 Fonticons, Inc.-->
<path
fill="currentColor"
d="M96 128C96 110.3 110.3 96 128 96C357.8 96 544 282.2 544 512C544 529.7 529.7 544 512 544C494.3 544 480 529.7 480 512C480 317.6 322.4 160 128 160C110.3 160 96 145.7 96 128zM96 480C96 444.7 124.7 416 160 416C195.3 416 224 444.7 224 480C224 515.3 195.3 544 160 544C124.7 544 96 515.3 96 480zM128 224C287.1 224 416 352.9 416 512C416 529.7 401.7 544 384 544C366.3 544 352 529.7 352 512C352 388.3 251.7 288 128 288C110.3 288 96 273.7 96 256C96 238.3 110.3 224 128 224z"/>
</svg>
</a>
</div>
<style>
@@ -23,6 +34,7 @@
display: flex;
flex-direction: row;
gap: 16px;
justify-content: center;
a {
color: var(--color-light-text);

14
src/content/notes/now.md Normal file
View File

@@ -0,0 +1,14 @@
---
title: Now
---
This is my [Now Page](https://nownownow.com/about).
It hopes to answer the question, **"what are you doing these days?"**
It is inspired by many other people on the internet and popularized by [Derek Sivers](https://sive.rs/).
- Personal health and well-being
- Finding my place in swiftly changing culture, economy and technology
- Exploring ways to use Haskell for various projects, particularly the web
- Playing miniature war games, mostly Warhammer 40k

View File

@@ -8,14 +8,7 @@ I do full stack web-development: A little front-end, a little back-end, database
I have been a software developer from a young age and have spent two decades in the tech industry. I've done freelance, start-ups (Asana, Fossa) and some big corps (Google, Visa).
## Now
What is my focus right now?
- Personal health and well-being
- Finding my place in swiftly changing culture, economy and technology
- Exploring ways to use Haskell for various projects, particularly the web
- Playing miniature war games, mostly Warhammer 40k
See my [now page](/now) for more about what I'm focused on right now.
## What is "Blaze Star"?