From 4a114678ebe779f27632f7bab8ed39d281074527 Mon Sep 17 00:00:00 2001 From: Filip Znachor Date: Sat, 25 May 2024 22:34:25 +0200 Subject: [PATCH] Improved navigation bar --- src/components/Nav.astro | 18 +++----- src/layouts/Layout.astro | 11 ++++- src/pages/index.astro | 2 +- src/styles/global.css | 88 +++------------------------------------- src/styles/nav.css | 49 ++++++++++++++++++++++ src/styles/variables.css | 26 ++++++++++++ 6 files changed, 97 insertions(+), 97 deletions(-) create mode 100644 src/styles/nav.css create mode 100644 src/styles/variables.css diff --git a/src/components/Nav.astro b/src/components/Nav.astro index e1e2c75..41f860a 100644 --- a/src/components/Nav.astro +++ b/src/components/Nav.astro @@ -1,6 +1,7 @@ --- import { Icon } from 'astro-icon/components'; import NavLink from './NavLink.astro'; +import "../styles/nav.css"; const nav = [ {title: "Úvod", link: "/"}, @@ -14,19 +15,12 @@ const nav = [