Template
The header inlined its own logo/wordmark fallback markup. Pull it into components/logo.tsx so the footer can show the same mark, and drop the now-unneeded 'use client' from the root layout. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01VUttSNLkLPvvR6Xf75QA1K
30 lines
684 B
TypeScript
30 lines
684 B
TypeScript
import React from 'react';
|
|
import './globals.css';
|
|
import { Geist, Geist_Mono } from 'next/font/google';
|
|
import StoreAssistant from '@/components/shopify/store-assistant';
|
|
|
|
const geist = Geist({
|
|
subsets: ['latin'],
|
|
variable: '--font-geist-sans',
|
|
});
|
|
|
|
const geistMono = Geist_Mono({
|
|
subsets: ['latin'],
|
|
variable: '--font-geist-mono',
|
|
});
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode;
|
|
}) {
|
|
return (
|
|
<html lang="en" className={`${geist.variable} ${geistMono.variable}`}>
|
|
<body className="font-body antialiased bg-background text-foreground m-0 p-0">
|
|
{children}
|
|
<StoreAssistant />
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|