diff --git a/components/badges.tsx b/components/badges.tsx
index caeb10b..0b68fb2 100644
--- a/components/badges.tsx
+++ b/components/badges.tsx
@@ -1,4 +1,4 @@
-import React from "react";
+import Link from "next/link";
interface BadgeProps {
href?: string;
@@ -17,10 +17,17 @@ function Badge({ href, children, style }: BadgeProps) {
);
if (href) {
+ if (href.startsWith("http")) {
+ return (
+
+ {base}
+
+ );
+ }
return (
-
+
{base}
-
+
);
}
return base;