feat: fix routes

This commit is contained in:
Aleksey_Levin 2024-01-07 17:25:59 +08:00
parent 4801bebcc5
commit 6edfebf24b

View file

@ -1,5 +1,6 @@
import ContainerLayout from "../../utils/ContainerLayout"; import ContainerLayout from "../../utils/ContainerLayout";
import GamepadIcon from "../../components/icons/GamepadIcon"; import GamepadIcon from "../../components/icons/GamepadIcon";
import {Link} from "react-router-dom";
export const MainPage = () => { export const MainPage = () => {
return ( return (
@ -54,7 +55,7 @@ export const MainPage = () => {
<div className="flex flex-col h-full justify-between"> <div className="flex flex-col h-full justify-between">
<div className="flex flex-row justify-between min-w-[200px]"> <div className="flex flex-row justify-between min-w-[200px]">
<span className="text-xl font-bold">DICE</span> <span className="text-xl font-bold">DICE</span>
<a href="/dice" className="min-w-[100px] max-h-[45px] bg-blue-500 rounded-[10px] border border-blue-400 font-bold px-3 items-center flex justify-center">Play now</a> <Link to="dice" className="min-w-[100px] max-h-[45px] bg-blue-500 rounded-[10px] border border-blue-400 font-bold px-3 items-center flex justify-center">Play now</Link>
</div> </div>
</div> </div>
</div> </div>