- Added new UI components including Badge, Button, Card, Checkbox, Dialog, Footer, Input, Label, SubscriptionForm, Textarea, and Tooltip. - Implemented a new layout configuration with improved navigation and metadata handling. - Integrated third-party libraries for enhanced functionality (e.g., Radix UI, Lucide). - Updated global styles and added custom CSS variables for theming. - Introduced new pages for Changelog, Contact, Community, and GitHub redirection. - Updated package dependencies in package.json and pnpm-lock.yaml. - Added Open Graph image generation for better social media sharing. - Included favicon and application icons for branding.
46 lines
No EOL
1.2 KiB
TypeScript
46 lines
No EOL
1.2 KiB
TypeScript
import './global.css';
|
|
import { RootProvider } from 'fumadocs-ui/provider';
|
|
import { Inter } from 'next/font/google';
|
|
import type { ReactNode } from 'react';
|
|
import PlausibleProvider from 'next-plausible';
|
|
import { GoogleTagManager } from '@next/third-parties/google'
|
|
import { createMetadata } from '@/lib/metadata';
|
|
import { TooltipProvider } from '@radix-ui/react-tooltip';
|
|
|
|
|
|
export const metadata = createMetadata({});
|
|
|
|
const inter = Inter({
|
|
subsets: ['latin'],
|
|
});
|
|
|
|
export default function Layout({ children }: { children: ReactNode }) {
|
|
return (
|
|
<html lang="en" className={inter.className} suppressHydrationWarning>
|
|
<head>
|
|
<PlausibleProvider
|
|
domain="amical.ai"
|
|
trackOutboundLinks={true}
|
|
trackFileDownloads={true}
|
|
taggedEvents={true}
|
|
hash={true}
|
|
/>
|
|
</head>
|
|
<body className="flex flex-col min-h-screen">
|
|
<RootProvider
|
|
search={{
|
|
options: {
|
|
type: 'static',
|
|
}
|
|
}}
|
|
theme={{
|
|
defaultTheme: 'dark',
|
|
}}>
|
|
<TooltipProvider>
|
|
{children}
|
|
</TooltipProvider>
|
|
</RootProvider>
|
|
</body>
|
|
</html>
|
|
);
|
|
} |