diff --git a/src/app/(app)/layout.tsx b/src/app/(app)/layout.tsx index d7415ee..0c69d1e 100644 --- a/src/app/(app)/layout.tsx +++ b/src/app/(app)/layout.tsx @@ -4,8 +4,6 @@ import MobileNav from "@/lib/components/MobileNav"; import NavBar from "@/lib/components/NavBar"; import { useDevice } from "@/lib/context/DeviceContext"; -import Image from "next/image"; - export default function RootLayout({ children, }: Readonly<{ @@ -16,7 +14,7 @@ export default function RootLayout({
{!isMobile && !isSafari ? : null}
- Drink Happy Logo Image + Drink Happy Logo Image {children}
{isMobile && isSafari ? ( diff --git a/src/app/(app)/page.tsx b/src/app/(app)/page.tsx index 19507db..dbd3f5f 100644 --- a/src/app/(app)/page.tsx +++ b/src/app/(app)/page.tsx @@ -6,7 +6,7 @@ function Mobile() { const { isAuthenticated, session } = useDevice(); return ( -
+

{isAuthenticated ? `Welcome, ${session.username} !!` : ""}

@@ -35,7 +35,7 @@ function Web() { return (
-

+

{isAuthenticated ? `Welcome, ${session.username} !!` : ""}

diff --git a/src/app/layout.tsx b/src/app/layout.tsx index bb00292..83e4fe6 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -3,8 +3,7 @@ import { Geist, Geist_Mono } from "next/font/google"; import "../lib/css/globals.css"; -import { DeviceProvider, useDevice } from "@/lib/context/DeviceContext"; -import MobileNav from "@/lib/components/MobileNav"; +import { DeviceProvider } from "@/lib/context/DeviceContext"; const geistSans = Geist({ variable: "--font-geist-sans",