diff --git a/src/App.css b/src/App.css deleted file mode 100644 index b9d355d..0000000 --- a/src/App.css +++ /dev/null @@ -1,42 +0,0 @@ -#root { - max-width: 1280px; - margin: 0 auto; - padding: 2rem; - text-align: center; -} - -.logo { - height: 6em; - padding: 1.5em; - will-change: filter; - transition: filter 300ms; -} -.logo:hover { - filter: drop-shadow(0 0 2em #646cffaa); -} -.logo.react:hover { - filter: drop-shadow(0 0 2em #61dafbaa); -} - -@keyframes logo-spin { - from { - transform: rotate(0deg); - } - to { - transform: rotate(360deg); - } -} - -@media (prefers-reduced-motion: no-preference) { - a:nth-of-type(2) .logo { - animation: logo-spin infinite 20s linear; - } -} - -.card { - padding: 2em; -} - -.read-the-docs { - color: #888; -} diff --git a/src/App.tsx b/src/App.tsx index afe48ac..f3c530d 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,34 +1,15 @@ -import { useState } from 'react' -import reactLogo from './assets/react.svg' -import viteLogo from '/vite.svg' -import './App.css' +import { Suspense } from "react" +import { Route, Routes } from "react-router-dom" +import DefaultLayout from "layout/DefaultLayout" function App() { - const [count, setCount] = useState(0) - + return ( - <> -
- - Vite logo - - - React logo - -
-

Vite + React

-
- -

- Edit src/App.tsx and save to test HMR -

-
-

- Click on the Vite and React logos to learn more -

- + }> + + } /> + + ) } diff --git a/src/layout/DefaultLayout/index.tsx b/src/layout/DefaultLayout/index.tsx new file mode 100644 index 0000000..066242a --- /dev/null +++ b/src/layout/DefaultLayout/index.tsx @@ -0,0 +1,6 @@ +export default function DefaultLayout() { + return ( + <> + + ) +} \ No newline at end of file diff --git a/src/main.tsx b/src/main.tsx index ccbb35b..85a4ff7 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -1,15 +1,15 @@ -import React from 'react' import ReactDOM from 'react-dom/client' import App from './App.tsx' import './index.css' import { QueryClient, QueryClientProvider } from '@tanstack/react-query' +import { BrowserRouter } from 'react-router-dom'; const queryClient = new QueryClient(); ReactDOM.createRoot(document.getElementById('root')!).render( - + - + ) diff --git a/src/page/MemberInfo/index.tsx b/src/page/MemberInfo/index.tsx new file mode 100644 index 0000000..414221c --- /dev/null +++ b/src/page/MemberInfo/index.tsx @@ -0,0 +1,7 @@ +export default function MemberInfo() { + return ( +
+

MemberInfo

+
+ ) +} \ No newline at end of file