added next-intl, composed next-auth and next-intl in middleware, fixed some bugs, completed details page, added google auth

This commit is contained in:
Alibek committed 2024-02-29 14:09:37 +06:00
1 parent 9cd7b2a67d
commit 6637ab4eae
172 files changed
+1772 -502

No files matched your search

@@ -0,0 +1,20 @@
.create-report {
display: flex;
flex-direction: column;
gap: 40px;
h2 {
text-align: start;
}
}
@media screen and (max-width: 768px) {
.create-report {
gap: 30px;
}
}
@media screen and (max-width: 550px) {
.create-report {
gap: 20px;
}
}
+29
View File
@@ -0,0 +1,29 @@
import Typography from "@/shared/ui/components/Typography/Typography";
import "./CreateReport.scss";
import dynamic from "next/dynamic";
import { Metadata } from "next";
export const metadata: Metadata = {
title: "KG ROAD | Написать обращение",
description:
"Написать обращение Kyrgyzstan Transperency International",
};
const DynamicForm = dynamic(
() => import("@/widgets/forms/ReportForm/ReportForm"),
{
ssr: false,
}
);
const CreateReport = () => {
return (
<div className="create-report page-padding">
<Typography element="h2">Написать обращение</Typography>
<DynamicForm />
</div>
);
};
export default CreateReport;