ocd-website/frontend/src/app/layout.tsx
TheMaddax adc2eb7abc feat(website): complete Phase 1 with public pages and Tailwind styling
- Add Events, Membership, and Donate pages with responsive layouts
- Fix Tailwind CSS 4.0 configuration with proper PostCSS setup
- Update Memory Bank documentation (product, system, tech context)
- Configure CSS variables for consistent theming and accessibility
- Fix client-side components with 'use client' directives
- Update progress tracking in Memory Bank
- Implement WCAG 2.2 AA accessibility features

This commit completes Phase 1 of the OCD website implementation plan,
establishing all core public-facing pages with proper styling and accessibility.
2025-03-25 10:34:41 -05:00

70 lines
1.8 KiB
TypeScript

import React from 'react';
import type { Metadata } from 'next';
import { Inter } from 'next/font/google';
import './globals.css';
import Navigation from '../components/organisms/Navigation';
import Footer from '../components/organisms/Footer';
// Load Inter font
const inter = Inter({
subsets: ['latin'],
display: 'swap',
variable: '--font-inter',
});
export const metadata: Metadata = {
title: 'Olathe Club of the Deaf',
description: 'Community hub for the deaf community in Olathe',
metadataBase: new URL('https://olathedeafclub.com'),
keywords: ['deaf', 'olathe', 'club', 'community', 'ASL', 'events'],
authors: [{ name: 'Olathe Club of the Deaf' }],
openGraph: {
title: 'Olathe Club of the Deaf',
description: 'Community hub for the deaf community in Olathe',
url: 'https://olathedeafclub.com',
siteName: 'Olathe Club of the Deaf',
images: [
{
url: '/images/og-image.jpg',
width: 1200,
height: 630,
alt: 'Olathe Club of the Deaf'
}
],
locale: 'en_US',
type: 'website',
},
twitter: {
card: 'summary_large_image',
title: 'Olathe Club of the Deaf',
description: 'Community hub for the deaf community in Olathe',
images: ['/images/og-image.jpg'],
},
};
export default function RootLayout({
children,
}: {
children: React.ReactNode;
}) {
return (
<html lang="en" className={inter.variable}>
<body className={inter.className}>
{/* Skip to content link for accessibility */}
<a href="#main-content" className="skip-to-content">
Skip to content
</a>
<header>
<Navigation />
</header>
<main id="main-content">
{children}
</main>
<Footer />
</body>
</html>
);
}