From 746d6a1845825255fd8e301d24d7bddc91ab8220 Mon Sep 17 00:00:00 2001 From: Ayo Date: Wed, 21 Jun 2023 13:47:45 +0200 Subject: [PATCH] feat: add pens to nav --- src/components/Nav.astro | 6 ++++++ src/layouts/Layout.astro | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/src/components/Nav.astro b/src/components/Nav.astro index 4d66256..1417868 100644 --- a/src/components/Nav.astro +++ b/src/components/Nav.astro @@ -61,4 +61,10 @@ if (Astro.url.pathname !== "/") { margin: 0 auto; text-align: right; } + + @media only screen and (max-device-width: 360px) { + #wrapper { text-align: center; } + } + + diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 407e2f9..a37f870 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -17,11 +17,17 @@ const links: Link[] = [ { url: "https://ayco.io/@ayo", icon: "mastodon", + text: "social" }, { url: "https://ayco.io/gh", icon: "github", }, + { + url: "https://codepen.io/ayoayco-the-styleful", + icon: "codepen", + text: "pens" + } ]; ---