-
風聲
+
+
-
-
+
+
-
+ } >
+ 進入遊戲
+
);
diff --git a/Frontend/the-message/src/components/page/game/map.tsx b/Frontend/the-message/src/components/page/game/map.tsx
deleted file mode 100644
index d436344..0000000
--- a/Frontend/the-message/src/components/page/game/map.tsx
+++ /dev/null
@@ -1,53 +0,0 @@
-// import Card from "../../items/card";
-import lurking from "../../../assets/images/lurking1.jpg";
-import soysauce from "../../../assets/images/soysauce.jpg";
-import millitaryIntelligence from "../../../assets/images/millitaryIntelligence.jpg";
-import useCardRenderer from "../../../hooks/useCardRenderer.tsx";
-import { useState } from "react";
-
-type CardInformations = {
- cardUrl:string,
- cardName:string
-}
-
-type CardSet = {
- cardInformations: CardInformations[],
- cardKind: "LineUp" | "Functional"
-}
-
-const Map = () => {
-
- const LineUpCards: CardInformations[] = [
- {
- cardUrl: lurking,
- cardName: "潛伏戰線",
- },
- {
- cardUrl: soysauce,
- cardName: "打醬油"
- },
- {
- cardUrl: millitaryIntelligence,
- cardName: "軍情處"
- }
- ];
-
- const LineUpCardSet: CardSet = {
- cardInformations: LineUpCards,
- cardKind: "LineUp"
- }
-
-
- const [cardsSet, setCardsSet ] = useState
(LineUpCardSet);
-
-
- return (
-
- { useCardRenderer(cardsSet) }
-
- );
-
-};
-
-export default Map;
-
diff --git a/Frontend/the-message/src/hooks/useCardRenderer.tsx b/Frontend/the-message/src/hooks/useCardRenderer.tsx
deleted file mode 100644
index 053d611..0000000
--- a/Frontend/the-message/src/hooks/useCardRenderer.tsx
+++ /dev/null
@@ -1,25 +0,0 @@
-import Card from '../components/items/card';
-import lineUpCardBack from "../assets/images/backOfLineUpCard.jpg";
-import functionalCardBack from "../assets/images/backOfFunctionCard.jpg";
-
-type CardInformations = {
- cardUrl:string,
- cardName:string
-}
-
-type CardSet = {
- cardInformations: CardInformations[],
- cardKind: string
-}
-
-const useCardRenderer = (cardSet: CardSet) => {
- return (
-
- {cardSet.cardInformations.map((card: CardInformations) => (
-
- ))}
-
- );
-};
-
-export default useCardRenderer;
\ No newline at end of file
diff --git a/Frontend/the-message/src/routes/route.tsx b/Frontend/the-message/src/routes/route.tsx
deleted file mode 100644
index 1716fa0..0000000
--- a/Frontend/the-message/src/routes/route.tsx
+++ /dev/null
@@ -1,18 +0,0 @@
-import {createBrowserRouter} from "react-router-dom";
-import Layout from '../layout/layout'
-import Map from '../components/page/game/map'
-
-
-const router = createBrowserRouter([
- {
- path: "/",
- element: ,
- },
- {
- path: "/game/map",
- element:
- }
-]);
-
-
-export default router;
\ No newline at end of file