diff --git a/src/components/Common/others/CastomHead.tsx b/src/components/Common/others/CastomHead.tsx
index 9132194..79e41b3 100644
--- a/src/components/Common/others/CastomHead.tsx
+++ b/src/components/Common/others/CastomHead.tsx
@@ -1,68 +1,117 @@
import React from "react";
import { useRouter } from "next/router";
-import Head from 'next/head'
+import Head from "next/head";
export const CostomHead = () => {
- const router = useRouter()
+ const router = useRouter();
const BaseMeta = () => (
<>
C3 OpenCampus2023
-
+
-
+
-
+
>
- )
+ );
switch (router.pathname) {
case "/":
return (
-
+
-
+
-
+
- )
+
+ );
case "/map":
return (
-
+
-
+
-
+
- )
+
+ );
case "/web":
return (
-
+
-
+
-
+
- )
+
+ );
case "/web/artifact":
return (
-
-
-
+
+
+
-
+
- )
+
+ );
case "/web/artifact/[category]":
case "/web/artifact/[category]/[artifactId]":
switch (router.query.category) {
@@ -70,74 +119,149 @@ export const CostomHead = () => {
return (
-
-
-
-
-
+
+
+
+
+
- )
+ );
case "game":
return (
-
-
-
-
-
+
+
+
+
+
- )
+ );
case "cg3d":
return (
-
-
-
-
-
+
+
+
+
+
- )
+ );
case "cg2d":
return (
-
-
-
-
-
+
+
+
+
+
- )
+ );
case "music":
return (
-
-
-
-
-
+
+
+
+
+
- )
+ );
default:
return (
- )
+ );
}
default:
return (
- )
+ );
}
-}
+};
diff --git a/src/components/Common/others/Layout.tsx b/src/components/Common/others/Layout.tsx
index bbcc6d5..dc84485 100644
--- a/src/components/Common/others/Layout.tsx
+++ b/src/components/Common/others/Layout.tsx
@@ -1,10 +1,12 @@
import React from "react";
import { TopLoading } from "../TopLoading/TopLoading";
import { CostomHead } from "./CastomHead";
+import { Gtag } from "./Gtag";
export default function Layout({ children }: { children: React.ReactNode }) {
return (
<>
+
<>{children}>
>