Add Django backend, Next.js frontend, and deploy templates
This commit is contained in:
1 parent
fc0c991335
commit
e9cd22d36f
93 files changed
+7840
-1
No files matched your search
@@ -0,0 +1,35 @@
|
||||
import type { Metadata } from "next";
|
||||
|
||||
import { SiteFooter } from "@/components/site-footer";
|
||||
import { SiteHeader } from "@/components/site-header";
|
||||
import { fallbackHome } from "@/lib/fallback-data";
|
||||
|
||||
import "./globals.css";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "ККПАБ",
|
||||
description: "Современный сайт консультационного клинического патологоанатомического бюро",
|
||||
};
|
||||
|
||||
export default function RootLayout({ children }: Readonly<{ children: React.ReactNode }>) {
|
||||
const site = fallbackHome.site;
|
||||
|
||||
return (
|
||||
<html lang="ru">
|
||||
<body>
|
||||
<div className="shell">
|
||||
<SiteHeader siteName={site.site_name} tagline={site.tagline} phone={site.phone} />
|
||||
{children}
|
||||
<SiteFooter
|
||||
siteName={site.site_name}
|
||||
phone={site.phone}
|
||||
email={site.email}
|
||||
address={`${site.city}, ${site.address}`}
|
||||
workingHours={site.working_hours}
|
||||
/>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user