aboutsummaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
Diffstat (limited to 'src/components')
-rw-r--r--src/components/ExternalLink.tsx3
-rw-r--r--src/components/Navbar.tsx3
2 files changed, 1 insertions, 5 deletions
diff --git a/src/components/ExternalLink.tsx b/src/components/ExternalLink.tsx
deleted file mode 100644
index 22ed7a1..0000000
--- a/src/components/ExternalLink.tsx
+++ /dev/null
@@ -1,3 +0,0 @@
-export default function ExternalLinkIcon() {
- return <svg className="no-global w-4 h-4" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth={2}><path strokeLinecap="round" strokeLinejoin="round" d="M18 13v6a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1h6M15 6h4m0 0v4m0-4L10 15" /></svg>;
-} \ No newline at end of file
diff --git a/src/components/Navbar.tsx b/src/components/Navbar.tsx
index fd1b415..eb325fd 100644
--- a/src/components/Navbar.tsx
+++ b/src/components/Navbar.tsx
@@ -1,4 +1,3 @@
-import { Link } from "react-router-dom";
import ThemeToggle from "./ThemeToggle";
export default function Navbar() {
@@ -15,7 +14,7 @@ export default function Navbar() {
<div className="max-w-2xl mx-auto flex px-4 py-4 text-sm">
<div className="flex gap-6 items-center">
{navItems.map(({ label, href }) => (
- <Link className="hover:underline" key={label} to={href}>{label}</Link>
+ <a className="hover:underline" key={label} href={href}>{label}</a>
))}
<ThemeToggle />
</div>