From 8f09265976027dd5fd1e286291650b03b68aa3e1 Mon Sep 17 00:00:00 2001 From: christian Date: Mon, 20 May 2024 13:55:55 +0200 Subject: [PATCH] css and routing adjustments --- src/routes/+layout.svelte | 31 ++++--------------- .../{get_in_touch => contact}/+page.svelte | 0 src/routes/login/+page.svelte | 2 -- .../{ => projects}/homelab/+page.svelte | 0 src/routes/{ => projects}/nextjs/+page.svelte | 4 +-- src/routes/{ => projects}/svelte/+page.svelte | 4 +-- src/routes/resume/+page.svelte | 9 ------ src/routes/socials/+page.svelte | 1 - 8 files changed, 10 insertions(+), 41 deletions(-) rename src/routes/{get_in_touch => contact}/+page.svelte (100%) delete mode 100644 src/routes/login/+page.svelte rename src/routes/{ => projects}/homelab/+page.svelte (100%) rename src/routes/{ => projects}/nextjs/+page.svelte (64%) rename src/routes/{ => projects}/svelte/+page.svelte (72%) delete mode 100644 src/routes/resume/+page.svelte delete mode 100644 src/routes/socials/+page.svelte diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 12a58c9..0f34f5c 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -9,31 +9,12 @@ DropdownItem, DarkMode } from 'flowbite-svelte'; - import { ChevronDownOutline } from 'flowbite-svelte-icons'; + import { ChevronDownOutline, HomeOutline } from 'flowbite-svelte-icons'; import '../app.css'; - import CloudflareAnalytics from '../lib/CloudflareAnalytics.svelte'; + import CloudflareAnalytics from '$lib/CloudflareAnalytics.svelte'; import logo from '$lib/logo.png'; import { page } from '$app/stores'; - // Navigation links are generated based on this object - const nav = [ - { - name: 'index', - subPages: [] - }, - { - name: 'whoami', - subPages: ['about', 'resume'] - }, - { - name: 'portfolio', - subPages: ['svelte', 'next.js', 'homelab'] - }, - { - name: 'contact', - subPages: ['get_in_touch', 'socials'] - } - ]; $: activeUrl = $page.url.pathname; @@ -53,9 +34,9 @@ projects - svelte - nextjs - homelab + svelte + nextjs + homelab contact @@ -63,7 +44,7 @@ -
+