new models, frontend functions, public pages

This commit is contained in:
2025-05-07 15:41:03 +09:00
parent 91f0d54563
commit 18497d4343
784 changed files with 124024 additions and 289 deletions

View File

@@ -0,0 +1,31 @@
// src/app/[username]/layout.tsx
import { ReactNode } from "react";
export const dynamic = "force-dynamic"; // всегда свежие данные
export default function UserLayout({
children,
}: {
children: ReactNode;
}) {
return (
<>
{/* Подключаем стили точно так же, как в root */}
<link
rel="stylesheet"
href="/assets/bootstrap/css/bootstrap.min.css?h=608a9825a1f76f674715160908e57785"
/>
<link
rel="stylesheet"
href="/assets/css/Lato.css?h=8253736d3a23b522f64b7e7d96d1d8ff"
/>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css"
/>
{/* Только контент пользователской страницы */}
<main>{children}</main>
</>
);
}