diff --git a/src/components/Header.astro b/src/components/Header.astro
index 1e13855..e41ba89 100644
--- a/src/components/Header.astro
+++ b/src/components/Header.astro
@@ -4,21 +4,25 @@ import { SITE_TITLE, SITE_DESCRIPTION } from "../config";
---
diff --git a/src/components/HeaderLink.astro b/src/components/HeaderLink.astro
index 3b6ccf2..b76975f 100644
--- a/src/components/HeaderLink.astro
+++ b/src/components/HeaderLink.astro
@@ -1,28 +1,37 @@
---
-const { href, class: className, ...props } = Astro.props;
-let isActive: boolean;
+import ExternalIcon from "./assets/external.svg";
-if (href === "/") {
- isActive = Astro.url.pathname === href;
-} else {
- isActive = Astro.url.pathname.startsWith(href);
-}
+const { href, isExternal, class: className, ...props } = Astro.props;
+const isActive =
+ href === "/"
+ ? Astro.url.pathname === href
+ : Astro.url.pathname.startsWith(href);
---
-
-
+
+
+ {isExternal && }
diff --git a/src/components/assets/external.svg b/src/components/assets/external.svg
new file mode 100644
index 0000000..ec06ba1
--- /dev/null
+++ b/src/components/assets/external.svg
@@ -0,0 +1,5 @@
+
\ No newline at end of file