summaryrefslogtreecommitdiff
path: root/src/components/Header.astro
diff options
context:
space:
mode:
authorElad Rosenheim <eladroz@users.noreply.github.com>2024-04-23 18:40:54 +0300
committerGitHub <noreply@github.com>2024-04-23 18:40:54 +0300
commite028782c14356a5efaaa72b01cf34c30a4357df6 (patch)
treeb6b08c0715b7d6ce71841e1b87212ce2e94ca310 /src/components/Header.astro
parent7e40aa188979311e706154dfcf52e47975f99cde (diff)
Inline Netlify logo, preload fonts (#10)
Diffstat (limited to 'src/components/Header.astro')
-rw-r--r--src/components/Header.astro5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/components/Header.astro b/src/components/Header.astro
index e06ea28..0d7a700 100644
--- a/src/components/Header.astro
+++ b/src/components/Header.astro
@@ -1,4 +1,6 @@
---
+import Logo from '../components/Logo.astro';
+
const navItems = [
{ linkText: 'Home', href: '/' },
{ linkText: 'Revalidation', href: '/revalidation' },
@@ -10,7 +12,7 @@ const navItems = [
<nav class="flex flex-wrap items-center gap-4 pt-6 pb-16 sm:pt-12 sm:pb-24">
<a href="/">
- <img src="/netlify-logo.svg" alt="Netlify logo" />
+ <Logo />
</a>
{
!!navItems?.length && (
@@ -26,4 +28,3 @@ const navItems = [
)
}
</nav>
-