diff --git a/cyperpunk.de/public/blog.png b/cyperpunk.de/public/blog.png new file mode 100644 index 0000000..b17e462 Binary files /dev/null and b/cyperpunk.de/public/blog.png differ diff --git a/cyperpunk.de/src/components/Sidebar.astro b/cyperpunk.de/src/components/Sidebar.astro index 3cd8b97..e4ec845 100644 --- a/cyperpunk.de/src/components/Sidebar.astro +++ b/cyperpunk.de/src/components/Sidebar.astro @@ -1,4 +1,12 @@ --- +import type { Props as AstroProps } from 'astro'; + +interface Props { + tags?: string[]; +} +const { tags = [] } = Astro.props; +const selectedTag = Astro.url.searchParams.get('tag'); + const links = [ { label: "github", href: "https://github.com/DerGrumpf", icon: "/github.png" }, { label: "gitea", href: "https://git.cyperpunk.de", icon: "/git.png" }, @@ -30,13 +38,15 @@ const links = [