From ac049ef067118d09a669573b2fc165fc52129d13 Mon Sep 17 00:00:00 2001 From: hamid zarghami Date: Sun, 21 Jun 2026 15:39:28 +0330 Subject: [PATCH] game glass --- src/app/[name]/(Dialogs)/game/page.tsx | 10 +++++----- src/app/[name]/(Dialogs)/layout.tsx | 14 ++------------ 2 files changed, 7 insertions(+), 17 deletions(-) diff --git a/src/app/[name]/(Dialogs)/game/page.tsx b/src/app/[name]/(Dialogs)/game/page.tsx index a193424..f818380 100644 --- a/src/app/[name]/(Dialogs)/game/page.tsx +++ b/src/app/[name]/(Dialogs)/game/page.tsx @@ -4,7 +4,7 @@ import { type FC } from 'react' import { useRouter } from 'next/navigation' import Seperator from '@/components/utils/Seperator' import Image from 'next/image' -import { glassSurfaceCardFlat } from '@/lib/styles/glassSurface' +import { glassSurfaceCard } from '@/lib/styles/glassSurface' const GamePage: FC = () => { @@ -23,7 +23,7 @@ const GamePage: FC = () => { /> -
+
My Games
@@ -47,7 +47,7 @@ const GamePage: FC = () => {
{ const currentPath = window.location.pathname const basePath = currentPath.split('/game')[0] @@ -77,7 +77,7 @@ const GamePage: FC = () => {
{ const currentPath = window.location.pathname const basePath = currentPath.split('/game')[0] @@ -107,7 +107,7 @@ const GamePage: FC = () => {
{ const currentPath = window.location.pathname const basePath = currentPath.split('/game')[0] diff --git a/src/app/[name]/(Dialogs)/layout.tsx b/src/app/[name]/(Dialogs)/layout.tsx index 9954333..cbae247 100644 --- a/src/app/[name]/(Dialogs)/layout.tsx +++ b/src/app/[name]/(Dialogs)/layout.tsx @@ -2,25 +2,15 @@ import ClientSideWrapper from '@/components/wrapper/ClientSideWrapper'; import React from 'react'; -import { usePathname } from 'next/navigation'; -import clsx from 'clsx'; function DialogsLayout({ children }: { children: React.ReactNode }) { - const pathname = usePathname(); - const isCheckoutPage = pathname?.includes('/checkout/'); - return ( -
+
{children}
) } -export default DialogsLayout \ No newline at end of file +export default DialogsLayout