From 336290a92f497fabe07ac3151d988042372eb2c8 Mon Sep 17 00:00:00 2001 From: saicaca Date: Sat, 27 Jul 2024 21:51:32 +0800 Subject: [PATCH] feat!: add credit configurations for banner image BREAKING CHANGES: new mandatory fields added in `config.ts` --- src/components/GlobalStyles.astro | 5 +- src/components/Navbar.astro | 83 ++++++++++++++++--------------- src/config.ts | 5 ++ src/layouts/MainGridLayout.astro | 22 +++++++- src/types/config.ts | 5 ++ 5 files changed, 77 insertions(+), 43 deletions(-) diff --git a/src/components/GlobalStyles.astro b/src/components/GlobalStyles.astro index 1201280..1129d81 100644 --- a/src/components/GlobalStyles.astro +++ b/src/components/GlobalStyles.astro @@ -281,7 +281,7 @@ color_set({ animation: 300ms fade-in-up; animation-fill-mode: forwards; } -#top-row { +#navbar { animation-delay: 0ms } #sidebar { @@ -293,6 +293,9 @@ color_set({ #footer { animation-delay: 400ms; } +#banner-credit { + animation-delay: 400ms; +} \ No newline at end of file diff --git a/src/components/Navbar.astro b/src/components/Navbar.astro index cbac9fe..2fb47ee 100644 --- a/src/components/Navbar.astro +++ b/src/components/Navbar.astro @@ -18,49 +18,52 @@ let links: NavBarLink[] = navBarConfig.links.map((item: NavBarLink | LinkPreset) }); --- -
- -
- - {siteConfig.title} +