From 715538ae70c83ae002c36585db9d9ff3719d9570 Mon Sep 17 00:00:00 2001
From: Alejandro Laguna
Date: Sat, 23 Aug 2025 15:04:12 +0200
Subject: [PATCH 1/2] feat: custom 404 page
---
src/pages/404.astro | 40 ++++++++++++++++++++++++++++++++++++++++
src/pages/about.astro | 4 ++--
2 files changed, 42 insertions(+), 2 deletions(-)
create mode 100644 src/pages/404.astro
diff --git a/src/pages/404.astro b/src/pages/404.astro
new file mode 100644
index 0000000..3a1db09
--- /dev/null
+++ b/src/pages/404.astro
@@ -0,0 +1,40 @@
+---
+import "../styles/global.css"
+import Layout from "../layouts/Layout.astro"
+import NavigationCard from '../components/NavigationCard.astro';
+import { ArrowLeft } from 'lucide-astro';
+
+const navItems = [
+ {
+ href: "/",
+ icon: ArrowLeft,
+ heading: "Home",
+ content: "Go back"
+ },
+];
+---
+
+
+
+ Seems like you tried to find something that doesn't exist yet.
+
+
+ I don't like to remove anything from here, but it can happen from time to time. Or maybe you mistyped something. In any case, my apologies. Feel free to go back to the very beginning if you want.
+
+
+
+
+
+ Site navigation
+
+ {navItems.map(item => (
+
+ ))}
+
+
+
diff --git a/src/pages/about.astro b/src/pages/about.astro
index f0e4f1a..6c9191a 100644
--- a/src/pages/about.astro
+++ b/src/pages/about.astro
@@ -74,7 +74,7 @@ const experiences = [
About
- 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...
+ Guilty of having too many interests and being unable to focus on a couple of them and making notable progress. Currently a second-year computer science student at the European Institute of Technology, and Software Engineer Intern at Migalabs
@@ -94,7 +94,7 @@ const experiences = [
INS Cendrassos, class of 2024
- Erasmus+ Scholarship
- - First of the class of 2024
+ - First of the class
- Student of the year
From 45e3a2afbc7c4d4baa8b1881a7129c41f5978589 Mon Sep 17 00:00:00 2001
From: Alejandro Laguna
Date: Sun, 24 Aug 2025 22:43:47 +0200
Subject: [PATCH 2/2] feat: work in progress page
---
src/components/WorkInProgress.astro | 46 +++++++++++++++++++++++++++++
src/pages/404.astro | 2 +-
src/pages/library/[...slug].astro | 20 +++++++++++++
src/pages/library/index.astro | 39 ++++++++++++++++++++++++
src/pages/notes/[...slug].astro | 20 +++++++++++++
src/pages/notes/index.astro | 39 ++++++++++++++++++++++++
src/pages/workshop/index.astro | 9 ++++--
7 files changed, 172 insertions(+), 3 deletions(-)
create mode 100644 src/components/WorkInProgress.astro
create mode 100644 src/pages/library/[...slug].astro
create mode 100644 src/pages/library/index.astro
create mode 100644 src/pages/notes/[...slug].astro
create mode 100644 src/pages/notes/index.astro
diff --git a/src/components/WorkInProgress.astro b/src/components/WorkInProgress.astro
new file mode 100644
index 0000000..f280bb2
--- /dev/null
+++ b/src/components/WorkInProgress.astro
@@ -0,0 +1,46 @@
+---
+import "../styles/global.css"
+import Layout from "../layouts/Layout.astro"
+import NavigationCard from '../components/NavigationCard.astro';
+import { ArrowLeft, Construction } from 'lucide-astro';
+
+const navItems = [
+ {
+ href: "/",
+ icon: ArrowLeft,
+ heading: "Home",
+ content: "Go back"
+ },
+];
+---
+
+
+
+
+
+
+ Work in Progress
+
+
+
+ This page is currently under construction. I'm working hard to bring you something amazing, but it's not quite ready yet.
+
+
+ Check back soon for updates, or feel free to explore other parts of the site while you wait.
+
+
+
+
+ Site navigation
+
+ {navItems.map(item => (
+
+ ))}
+
+
+
diff --git a/src/pages/404.astro b/src/pages/404.astro
index 3a1db09..76f0b37 100644
--- a/src/pages/404.astro
+++ b/src/pages/404.astro
@@ -16,7 +16,7 @@ const navItems = [
- Seems like you tried to find something that doesn't exist yet.
+ 404. Seems like you tried to find something that doesn't exist yet.
I don't like to remove anything from here, but it can happen from time to time. Or maybe you mistyped something. In any case, my apologies. Feel free to go back to the very beginning if you want.
diff --git a/src/pages/library/[...slug].astro b/src/pages/library/[...slug].astro
new file mode 100644
index 0000000..d21ee27
--- /dev/null
+++ b/src/pages/library/[...slug].astro
@@ -0,0 +1,20 @@
+---
+import { type CollectionEntry, getCollection, render } from 'astro:content';
+import PostLayout from '../../layouts/PostLayout.astro';
+
+export async function getStaticPaths() {
+ const posts = await getCollection('workshop');
+ return posts.map((post) => ({
+ params: { slug: post.id },
+ props: post,
+ }));
+}
+type Props = CollectionEntry<'workshop'>;
+
+const post = Astro.props;
+const { Content } = await render(post);
+---
+
+
+
+
diff --git a/src/pages/library/index.astro b/src/pages/library/index.astro
new file mode 100644
index 0000000..7496d8e
--- /dev/null
+++ b/src/pages/library/index.astro
@@ -0,0 +1,39 @@
+
+---
+import WorkInProgress from "../../components/WorkInProgress.astro"
+---
+
+
diff --git a/src/pages/notes/[...slug].astro b/src/pages/notes/[...slug].astro
new file mode 100644
index 0000000..d21ee27
--- /dev/null
+++ b/src/pages/notes/[...slug].astro
@@ -0,0 +1,20 @@
+---
+import { type CollectionEntry, getCollection, render } from 'astro:content';
+import PostLayout from '../../layouts/PostLayout.astro';
+
+export async function getStaticPaths() {
+ const posts = await getCollection('workshop');
+ return posts.map((post) => ({
+ params: { slug: post.id },
+ props: post,
+ }));
+}
+type Props = CollectionEntry<'workshop'>;
+
+const post = Astro.props;
+const { Content } = await render(post);
+---
+
+
+
+
diff --git a/src/pages/notes/index.astro b/src/pages/notes/index.astro
new file mode 100644
index 0000000..7496d8e
--- /dev/null
+++ b/src/pages/notes/index.astro
@@ -0,0 +1,39 @@
+
+---
+import WorkInProgress from "../../components/WorkInProgress.astro"
+---
+
+
diff --git a/src/pages/workshop/index.astro b/src/pages/workshop/index.astro
index eda8bc3..7496d8e 100644
--- a/src/pages/workshop/index.astro
+++ b/src/pages/workshop/index.astro
@@ -1,4 +1,4 @@
----
+
+---
+import WorkInProgress from "../../components/WorkInProgress.astro"
+---
+
+