diff --git a/src/components/Nav.astro b/src/components/Nav.astro
index be5f8b2..4d66256 100644
--- a/src/components/Nav.astro
+++ b/src/components/Nav.astro
@@ -3,6 +3,7 @@ import Icon from "astro-icon";
export type Link = {
url: string;
icon: string;
+ text?: string;
};
export interface Props {
@@ -26,7 +27,7 @@ if (Astro.url.pathname !== "/") {
.filter((link) => link.url !== "")
.map((link) => (
- {link.icon}
+ {link.text ?? link.icon}
))
}
diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro
index d86be48..407e2f9 100644
--- a/src/layouts/Layout.astro
+++ b/src/layouts/Layout.astro
@@ -19,7 +19,7 @@ const links: Link[] = [
icon: "mastodon",
},
{
- url: "https://ayco.io/github",
+ url: "https://ayco.io/gh",
icon: "github",
},
];
@@ -56,17 +56,13 @@ const links: Link[] = [
--ayo-gradient: linear-gradient(45deg, #3054bf, #416fff);
}
- html {
+ html, body, * {
font-family: system-ui, sans-serif;
font-size: var(--font-size-base);
color: var(--color-text);
background-color: var(--color-bg);
}
- body {
- margin: 0;
- }
-
@keyframes pulse {
0%,
100% {
diff --git a/src/pages/index.astro b/src/pages/index.astro
index 9adc029..dcf2b6f 100644
--- a/src/pages/index.astro
+++ b/src/pages/index.astro
@@ -20,14 +20,12 @@ import Footer from "../components/Footer.astro";
Now
- The Fediverse and Other Passion Projects
+ Building a Cozy Web without borders...
@@ -40,23 +38,12 @@ import Footer from "../components/Footer.astro";
title="Fun Side Projects"
body="See demos of opensource side projects I created"
/>
-
-
@@ -110,7 +97,7 @@ import Footer from "../components/Footer.astro";
.highlighted-section__content {
margin: auto;
- padding: 1em;
+ padding: 1em 0;
max-width: var(--content-width);
font-weight: normal;
font-size: var(--font-size-lg);
@@ -120,7 +107,7 @@ import Footer from "../components/Footer.astro";
.highlighted-section__content__profile-picture {
float: right;
width: 20%;
- margin: 20px 0 0;
+ margin: 1em 1em 0 0;
border: 1px solid var(--color-brand-blue-1);
display: block;
border-radius: 50%;
@@ -184,6 +171,9 @@ import Footer from "../components/Footer.astro";
}
@media only screen and (min-device-width: 280px) and (max-device-width: 653px) {
+ .highlighted-section__content {
+ padding: 1em;
+ }
.highlighted-section__content__profile-picture {
float: none;
margin: 0;
@@ -195,6 +185,9 @@ import Footer from "../components/Footer.astro";
}
@media only screen and (min-device-width: 360px) and (max-device-width: 812px) {
+ .highlighted-section__content {
+ padding: 1em;
+ }
.highlighted-section__content ul li {
font-size: var(--font-size-base);
}
diff --git a/src/pages/now.astro b/src/pages/now.astro
new file mode 100644
index 0000000..48862e3
--- /dev/null
+++ b/src/pages/now.astro
@@ -0,0 +1,71 @@
+---
+import Layout from "../layouts/Layout.astro";
+import Footer from "../components/Footer.astro";
+import Posts from "../components/Posts.astro";
+
+const posts = await Astro.glob("./now/and-then/posts/*.astro");
+---
+
+
+
+ Now
+ What am I currently up to?
+
+ Recently started a new project that aims to be a modern-day reading assistant, called Cozy 🧸.
+
+
+ The full motivation as of the moment, I've written on my blog.
+
+
+ Also started exploring ways to interact on the web without being confined on a centralized solution that big tech companies have lured us into.
+
+
+ I mean protocols that allow websites and people to exchange messages with each other without borders, like webmention, activitypub, and the likes.
+
+
+
+ About now pages
+
+
+
+
+
diff --git a/src/pages/now/index.astro b/src/pages/now/and-then/posts/01-19-2023.astro
similarity index 80%
rename from src/pages/now/index.astro
rename to src/pages/now/and-then/posts/01-19-2023.astro
index 3a723b5..f6efaf4 100644
--- a/src/pages/now/index.astro
+++ b/src/pages/now/and-then/posts/01-19-2023.astro
@@ -1,18 +1,15 @@
---
-import Layout from "../../layouts/Layout.astro";
-import Footer from "../../components/Footer.astro";
-import Posts from "../../components/Posts.astro";
-
-const posts = await Astro.glob("./and-then/posts/*.astro");
+import Layout from "../../../../layouts/Layout.astro";
+import Footer from "../../../../components/Footer.astro";
+const title = "The Fediverse and Other Passion Projects";
+const description = "I have been living now in Amsterdam for a little over a year with my wife and son."
---
-
+
- Now
- What am I currently up to?
+ The Fediverse and Other Passion Projects
- I have been living now in Amsterdam for a little over a year with my wife
- and son.
+ I have been living now in Amsterdam for a little over a year with my wife and son.
I am employed as a frontend web developer by Kaboom!
-
-
- About now pages
diff --git a/src/pages/showcase/index.astro b/src/pages/showcase.astro
similarity index 72%
rename from src/pages/showcase/index.astro
rename to src/pages/showcase.astro
index 0a3b79d..d0e915c 100644
--- a/src/pages/showcase/index.astro
+++ b/src/pages/showcase.astro
@@ -1,7 +1,7 @@
---
-import Layout from "../../layouts/Layout.astro";
-import Footer from "../../components/Footer.astro";
-import Card from "../../components/Card.astro";
+import Layout from "../layouts/Layout.astro";
+import Footer from "../components/Footer.astro";
+import Card from "../components/Card.astro";
---
Fun Side Projects
+ See more of my previous projects at my blog.