feat: post header link
This commit is contained in:
57
src/pages/background.astro
Normal file
57
src/pages/background.astro
Normal file
@@ -0,0 +1,57 @@
|
||||
---
|
||||
import "../styles/global.css"
|
||||
import Layout from "../layouts/Layout.astro"
|
||||
import NavigationCard from '../components/NavigationCard.astro';
|
||||
import { Fingerprint, PencilRuler, LibraryBig, NotepadText } from 'lucide-astro';
|
||||
|
||||
const navItems = [
|
||||
{
|
||||
href: "/about",
|
||||
icon: Fingerprint,
|
||||
heading: "About",
|
||||
content: "Who am I, my academic and professional background, what drives this work."
|
||||
},
|
||||
{
|
||||
href: "/workshop",
|
||||
icon: PencilRuler,
|
||||
heading: "Workshop",
|
||||
content: "From the theory to the implementation. What I build to understand."
|
||||
},
|
||||
{
|
||||
href: "/library",
|
||||
icon: LibraryBig,
|
||||
heading: "Library",
|
||||
content: "Books and papers and resources I use to learn. What I read, and why it matters."
|
||||
},
|
||||
{
|
||||
href: "/notes",
|
||||
icon: NotepadText,
|
||||
heading: "Notes",
|
||||
content: "My explorations into the fundamental nature of everything."
|
||||
}
|
||||
];
|
||||
---
|
||||
<Layout>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<br>
|
||||
<section class="max-w-4xl mb-20 sm:mb-28 ml-[35rem]">
|
||||
<blockquote class="border-l-4 border-neutral-300 dark:border-neutral-700 pl-6">
|
||||
<p class="text-2xl sm:text-3xl font-semibold text-neutral-900 dark:text-neutral-100 font-serif leading-relaxed">
|
||||
"May the <i> git --force </i> be with you"
|
||||
</p>
|
||||
<footer class="mt-4 text-neutral-600 dark:text-neutral-400 text-lg italic">
|
||||
— Ben K., probably.
|
||||
</footer>
|
||||
</blockquote>
|
||||
</section>
|
||||
|
||||
</Layout>
|
||||
@@ -1,19 +1,21 @@
|
||||
<!-- ---
|
||||
<!-----
|
||||
import "../../styles/global.css"
|
||||
import Layout from "../../layouts/Layout.astro"
|
||||
import { getCollection } from 'astro:content';
|
||||
import { Image } from 'astro:assets';
|
||||
|
||||
const posts = (await getCollection('workshop')).sort(
|
||||
(a, b) => b.data.pubDate.valueOf() - a.data.pubDate.valueOf(),
|
||||
);
|
||||
const posts = (await getCollection('workshop'))
|
||||
.filter(post => !post.data.private)
|
||||
.sort(
|
||||
(a, b) => b.data.pubDate.valueOf() - a.data.pubDate.valueOf(),
|
||||
);
|
||||
---
|
||||
|
||||
<Layout>
|
||||
<section class="max-w-7xl mb-10 sm:mb-14">
|
||||
<h1 class="text-4xl sm:text-5xl font-bold mb-6 text-neutral-900 dark:text-neutral-100">Workshop</h1>
|
||||
<p class="text-lg text-neutral-600 dark:text-neutral-400 leading-relaxed text-justify max-w-3xl">
|
||||
I'm a second year computer science student at the European Institute of Technology, still trying to figure out my place but enjoying the journey through systems programming, webdev and other fields. Outside of code, my favorite writer is Isaac Asimov, my favorite piece of music is Spiegel im Spiegel, and my favorite book is The Witches by Roald Dahl. My favorite star is Vega because it was once our north star and will be again in about 12,000 years - something poetic about that cycle. And that's pretty much everything you need to know about me, except maybe my tea preferences, but we'll save that for another time...
|
||||
I like to experiment, investigate and make mistakes. Here I archive my projects, ideas and failures.
|
||||
</p>
|
||||
</section>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user