'use client'
import { ArrowLeft, Play } from 'iconsax-react'
import { type FC } from 'react'
import { useRouter } from 'next/navigation'
import Seperator from '@/components/utils/Seperator'
import Image from 'next/image'
const GamePage: FC = () => {
const router = useRouter()
return (
بازی و سرگرمی
router.back()}
/>
My Games
تا سفارشت آماده بشه بازی کن
{
const currentPath = window.location.pathname
const basePath = currentPath.split('/game')[0]
router.push(`${basePath}/game/2048`)
}}
>
{
const currentPath = window.location.pathname
const basePath = currentPath.split('/game')[0]
router.push(`${basePath}/game/tower-builder`)
}}
>
{
const currentPath = window.location.pathname
const basePath = currentPath.split('/game')[0]
router.push(`${basePath}/game/the-cube`)
}}
>
)
}
export default GamePage