From 8a5b11d8322b806ce277c399e51b7f40efcb2556 Mon Sep 17 00:00:00 2001 From: Joe Carstairs <65492573+Sycamost@users.noreply.github.com> Date: Sat, 12 Aug 2023 20:47:32 +0100 Subject: Text color and background colour is controlled by CSS vars --- src/components/Navbar.astro | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/components/Navbar.astro (limited to 'src/components/Navbar.astro') diff --git a/src/components/Navbar.astro b/src/components/Navbar.astro new file mode 100644 index 0000000..8174efe --- /dev/null +++ b/src/components/Navbar.astro @@ -0,0 +1,14 @@ +--- +import type Locale from '../types/Locale'; +import SwitchLanguageLink from './SwitchLanguageLink.astro'; + +interface Props { + locale: Locale; +} + +const { locale } = Astro.props; +--- + + -- cgit v1.2.3