From ef4fb0a5277ee99bd0f1747b77e733ef7f02460d Mon Sep 17 00:00:00 2001
From: flu0r1ne <flu0r1ne@flu0r1ne.net>
Date: Wed, 6 Sep 2023 19:53:23 -0500
Subject: Make BreadCrumbs domain agnostic

---
 pages/wg2nd/index.tsx | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

(limited to 'pages/wg2nd/index.tsx')

diff --git a/pages/wg2nd/index.tsx b/pages/wg2nd/index.tsx
index 45125d5..3f38a12 100644
--- a/pages/wg2nd/index.tsx
+++ b/pages/wg2nd/index.tsx
@@ -9,6 +9,8 @@ import Button from '../../components/Button';
 import Markdown from '../../components/Markdown';
 import Typography from '../../components/Typography';
 
+import PathCrumbs from "../../components/PathCrumbs";
+
 import Script from 'next/script';
 
 // @ts-ignore
@@ -91,8 +93,6 @@ const Panel: React.FC<PanelProps> = ({ children, customStyle }) => (
     </section>
 );
 
-import { Breadcrumbs, LinkCrumb } from "../../components/Breadcrumbs";
-
 const Wg2nd = () => {
   const intfNameRef = useRef<HTMLInputElement>(null);
   const intfConfigRef = useRef<HTMLTextAreaElement>(null);
@@ -136,11 +136,7 @@ const Wg2nd = () => {
     >
       {/* Description */}
       <Panel>
-        <Breadcrumbs>
-          <LinkCrumb href="/">flu0r1ne.net</LinkCrumb>
-          <LinkCrumb href="/wg2nd">wg2nd</LinkCrumb>
-        </Breadcrumbs>
-
+        <PathCrumbs path="/wg2nd" />
         <Markdown md={desc} />
       </Panel>
 
-- 
cgit v1.2.3

