- Updated all references, metadata, and templates to reflect the new branding, including layout files, components, and documentation. - Replaced hardcoded color tokens like `green-600` with semantic tokens (`success`, `warning`, etc.) for improved design consistency. - Enhanced `globals.css` with new color tokens for success, warning, and destructive states using the OKLCH color model. - Added comprehensive branding guidelines and updated the design system documentation to align with the new identity. - Updated tests and mocks to reflect the branding changes and ensured all visual/verbal references match "PragmaStack". - Added new `branding/README.md` and `branding` docs for mission, values, and visual identity definition.
29 lines
734 B
TypeScript
29 lines
734 B
TypeScript
/**
|
|
* Authenticated Route Group Layout
|
|
* Wraps all authenticated routes with AuthGuard and provides common layout structure
|
|
*/
|
|
|
|
import type { Metadata } from 'next';
|
|
import { AuthGuard } from '@/components/auth';
|
|
import { Header } from '@/components/layout/Header';
|
|
import { Footer } from '@/components/layout/Footer';
|
|
|
|
export const metadata: Metadata = {
|
|
title: {
|
|
template: '%s | PragmaStack',
|
|
default: 'Dashboard',
|
|
},
|
|
};
|
|
|
|
export default function AuthenticatedLayout({ children }: { children: React.ReactNode }) {
|
|
return (
|
|
<AuthGuard>
|
|
<div className="flex min-h-screen flex-col">
|
|
<Header />
|
|
<main className="flex-1">{children}</main>
|
|
<Footer />
|
|
</div>
|
|
</AuthGuard>
|
|
);
|
|
}
|