···1616 <body>
1717 <MainContainer>
1818 <Header title={SITE_TITLE} />
1919- <Intro title={`vixalien's blog`} />
1919+ <Intro transition:name="blog" title={`vixalien's blog`} />
2020 <p>An archive of all my blog posts.</p>
2121 <h2>Posts</h2>
2222 <PostsIndex />
+11-11
src/pages/blog/[...slug].astro
···11---
22-import { type CollectionEntry, getCollection } from 'astro:content';
33-import BlogPost from '../../layouts/BlogPost.astro';
44-import { render } from 'astro:content';
22+import { type CollectionEntry, getCollection } from "astro:content";
33+import BlogPost from "../../layouts/BlogPost.astro";
44+import { render } from "astro:content";
5566export async function getStaticPaths() {
77- const posts = await getCollection('blog');
88- return posts.map((post) => ({
99- params: { slug: post.id },
1010- props: post,
1111- }));
77+ const posts = await getCollection("blog");
88+ return posts.map((post) => ({
99+ params: { slug: post.id },
1010+ props: post,
1111+ }));
1212}
1313-type Props = CollectionEntry<'blog'>;
1313+type Props = CollectionEntry<"blog">;
14141515const post = Astro.props;
1616const { Content } = await render(post);
1717---
18181919-<BlogPost {...post.data}>
2020- <Content />
1919+<BlogPost {...post.data} id={post.id}>
2020+ <Content />
2121</BlogPost>
+10-6
src/pages/index.astro
···1818 <ul
1919 class="flex-row list-none pl-0 gap-8 *:*:text-fg *:*:hover:text-link"
2020 >
2121- <li><a href="/blog">blog</a></li>
2222- <li><a href="/portfolio">portfolio</a></li>
2121+ <li>
2222+ <a href="/blog">blog</a>
2323+ </li>
2424+ <li>
2525+ <a href="/portfolio">portfolio</a>
2626+ </li>
2327 <li>
2428 <a href="https://memories.vixalien.com" target="_blank"
2529 >memories ↗</a
···2832 </ul>
2933 </nav>
3034 </header>
3131- <Intro title={SITE_TITLE} />
3535+ <Intro transition:name="home" title={SITE_TITLE} />
3236 <p>
3337 Hello! I'm Angelo Verlain, but you can call me <i>vixalien</i>. I am a
3438 web and GTK developer and this is my website, a collection of projects
···4650 >.
4751 </p>
4852 <p>
4949- Also keep an eye on <a href="https://karabo.io">Karabo</a>, which is an
5050- upcoming start-up I'm working on to help improve organisational
5151- procedures in the region.
5353+ Also keep an eye on <a href="https://karabo.io">Karabo ↗</a>,
5454+ which is an upcoming start-up I'm working on to help improve
5555+ organisational procedures in the region.
5256 </p>
5357 <h2 id="contact">Contact & Links</h2>
5458 <ContactLinks />
+1-1
src/pages/portfolio.astro
···1515 <body>
1616 <MainContainer>
1717 <Header title={SITE_TITLE} />
1818- <Intro title={`vixalien's portfolio`} />
1818+ <Intro title={`vixalien's portfolio`} transition:name="portfolio" />
1919 <p>Personal projects I've worked on in the past.</p>
2020 <p>
2121 For more projects (most of them are open source), see my
-4
src/styles/global.css
···2525}
26262727@layer base {
2828- html {
2929- @apply scroll-smooth;
3030- }
3131-3228 body {
3329 @apply text-fg bg-bg;
3430 }