diff --git a/package.json b/package.json
index b152d1c..b15a7d8 100644
--- a/package.json
+++ b/package.json
@@ -14,7 +14,8 @@
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0",
- "react-icons": "^4.12.0"
+ "react-icons": "^4.12.0",
+ "react-router-dom": "^6.20.0"
},
"devDependencies": {
"@types/react": "^18.2.37",
diff --git a/src/App.tsx b/src/App.tsx
index 434b8df..ae9755a 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -2,6 +2,9 @@ import './index.css'
import LivePage from "./pages/LivePage.tsx";
import Splash from "./components/Splash.tsx";
import {useEffect, useState} from "react";
+import {BrowserRouter, Route, Routes} from "react-router-dom";
+import ViewPage from "./pages/ViewPage.tsx";
+import HomePage from "./pages/HomePage.tsx";
function App() {
// const [count, setCount] = useState(0)
@@ -19,8 +22,14 @@ function App() {
return (
<>
- {showModal && }
-
+
+ {showModal && }
+
+ }/>
+ }/>
+ }/>
+
+
>
)
}
diff --git a/src/assets/thumbnail.png b/src/assets/thumbnail.png
new file mode 100644
index 0000000..89fa7e1
Binary files /dev/null and b/src/assets/thumbnail.png differ
diff --git a/src/components/Band.tsx b/src/components/Band.tsx
new file mode 100644
index 0000000..395af10
--- /dev/null
+++ b/src/components/Band.tsx
@@ -0,0 +1,20 @@
+import BandItem, {BandItemType} from "./BandItem.tsx";
+
+interface Props {
+ title: string
+ band: BandItemType[]
+}
+
+const Band = ({title, band}: Props) => {
+ return(
+ <>
+ {title}
+
+ {band.map((item, index) => {
+ return
+ })}
+
+ >
+ )
+}
+export default Band
diff --git a/src/components/BandItem.tsx b/src/components/BandItem.tsx
new file mode 100644
index 0000000..ef2e3a4
--- /dev/null
+++ b/src/components/BandItem.tsx
@@ -0,0 +1,23 @@
+import {Link} from "react-router-dom";
+import thumbnail from "../assets/thumbnail.png";
+
+interface Props {
+ title: string
+}
+
+export interface BandItemType{
+ title: string
+}
+
+const BandItem = ({ title }:Props) => {
+ return (
+
+
+
+
{title}
+
FURIPOTER
+
+
+ )
+}
+export default BandItem
diff --git a/src/components/Header.tsx b/src/components/Header.tsx
index bcb75ab..57f61ef 100644
--- a/src/components/Header.tsx
+++ b/src/components/Header.tsx
@@ -1,11 +1,16 @@
import { MdOutlineExitToApp } from "react-icons/md";
+import {useNavigate} from "react-router-dom";
const Header = () => {
+ const navigate = useNavigate()
+ const onClick = () => {
+ navigate(-1)
+ }
return (
-
-
방송 주제 텍스트
-