diff --git a/frontend/casino/src/app/pages/DiceGamePage/DiceGamePage.tsx b/frontend/casino/src/app/pages/DiceGamePage/DiceGamePage.tsx new file mode 100644 index 0000000..b6f3dfa --- /dev/null +++ b/frontend/casino/src/app/pages/DiceGamePage/DiceGamePage.tsx @@ -0,0 +1,18 @@ +import ContainerLayout from "../../utils/ContainerLayout" + +export const DiceGamePage = () => { + return ( + +

+ брось кубики онлайн! +

+
+
+
+
+ Dice + Dice +
+ + ) +} \ No newline at end of file diff --git a/frontend/casino/src/app/pages/router.tsx b/frontend/casino/src/app/pages/router.tsx index 95adf1a..f9dc18f 100644 --- a/frontend/casino/src/app/pages/router.tsx +++ b/frontend/casino/src/app/pages/router.tsx @@ -1,8 +1,10 @@ import { createBrowserRouter, Navigate, type RouteObject } from 'react-router-dom' import { AppLayout } from '../components/App' -import {MainPage} from "./MainPage/MainPage.tsx"; -import {NotMainPage} from "./NotMainPage/NotMainPage.tsx"; +import { MainPage } from "./MainPage/MainPage.tsx"; +import { NotMainPage } from "./NotMainPage/NotMainPage.tsx"; +import { DiceGamePage } from './DiceGamePage/DiceGamePage.tsx'; + const routes: RouteObject[] = [ { path: '/', @@ -12,6 +14,10 @@ const routes: RouteObject[] = [ path: '/example', element: , }, + { + path: '/dice', + element: , + }, { path: '*', element: , diff --git a/frontend/casino/src/assets/img/dice-img.png b/frontend/casino/src/assets/img/dice-img.png new file mode 100644 index 0000000..685aab3 Binary files /dev/null and b/frontend/casino/src/assets/img/dice-img.png differ