aboutsummaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
authorflu0r1ne <flu0r1ne@flu0r1ne.net>2023-09-06 19:53:23 -0500
committerflu0r1ne <flu0r1ne@flu0r1ne.net>2023-09-06 19:53:23 -0500
commitef4fb0a5277ee99bd0f1747b77e733ef7f02460d (patch)
tree2c7b306eaa814dedccb987a28a1cd050fdd94136 /pages
parenta66d6b395e22d6506319cc20b6dfab0e88cb0f39 (diff)
downloadhomepage-ef4fb0a5277ee99bd0f1747b77e733ef7f02460d.tar.xz
homepage-ef4fb0a5277ee99bd0f1747b77e733ef7f02460d.zip
Make BreadCrumbs domain agnostic
Diffstat (limited to 'pages')
-rw-r--r--pages/wg2nd/index.tsx10
1 files changed, 3 insertions, 7 deletions
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>