Add Django backend, Next.js frontend, and deploy templates

This commit is contained in:
ogrechko committed 2026-08-27 15:38:31 +00:00
1 parent fc0c991335
commit e9cd22d36f
93 files changed
+7840 -1

No files matched your search

+32
View File
@@ -0,0 +1,32 @@
import { notFound } from "next/navigation";
import { getService } from "@/lib/api";
export default async function ServiceDetailPage({
params,
}: {
params: Promise<{ slug: string }>;
}) {
const { slug } = await params;
const service = await getService(slug);
if (!service) {
notFound();
}
return (
<div className="container">
<section className="page-hero">
<span className="eyebrow">Услуга</span>
<h1>{service.title}</h1>
<p className="page-intro">{service.short_description}</p>
</section>
<section className="page-layout page-layout--single">
<article className="page-panel">
<div className="page-body">{service.description}</div>
</article>
</section>
</div>
);
}