- Go backend: auth (JWT), points earn/spend, QR token generation, partners, admin grant/stats endpoints with chi router - Next.js 14 frontend: login, student dashboard, transaction history, QR display, partners list - PostgreSQL migrations (4 tables), Redis cache, Docker Compose - CORS middleware, role-based route protection, Zustand auth store Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
30 lines
762 B
TypeScript
30 lines
762 B
TypeScript
import type { Metadata } from 'next';
|
|
import localFont from 'next/font/local';
|
|
import './globals.css';
|
|
|
|
const geistSans = localFont({
|
|
src: './fonts/GeistVF.woff',
|
|
variable: '--font-geist-sans',
|
|
weight: '100 900',
|
|
});
|
|
const geistMono = localFont({
|
|
src: './fonts/GeistMonoVF.woff',
|
|
variable: '--font-geist-mono',
|
|
weight: '100 900',
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: 'CU Points',
|
|
description: 'Система лояльности Центрального Университета',
|
|
};
|
|
|
|
export default function RootLayout({ children }: { children: React.ReactNode }) {
|
|
return (
|
|
<html lang="ru">
|
|
<body className={`${geistSans.variable} ${geistMono.variable} antialiased`}>
|
|
{children}
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|