diff --git a/src/app/admin/page.tsx b/src/app/admin/page.tsx index fcff86d..d2ad2ce 100644 --- a/src/app/admin/page.tsx +++ b/src/app/admin/page.tsx @@ -5,7 +5,7 @@ import useCookie from "@/app/modules/utils/useCookie"; import { useEffect, useRef, useState } from "react"; import style_root from '@/app/styles/admin/page.module.css'; import { redirect, useRouter } from "next/navigation"; -import Header, { Query } from "@/app/modules/components/Header"; +import { Query } from "@/app/modules/components/Header"; import AdaptiveGrid from "../modules/components/AdaptiveGrid"; import { Fira_Code } from "next/font/google"; import Link from "next/link"; @@ -155,14 +155,11 @@ const Admin = () => { const updateUsers = user && (user.permissions.includes('updateusers') || user.permissions.includes('superadmin')); return ( - -
-
-
- {updateUsers && } -
-
- +
+
+ {updateUsers && } +
+
); } diff --git a/src/app/contacts/page.tsx b/src/app/contacts/page.tsx index f6b2e4e..6fbc73f 100644 --- a/src/app/contacts/page.tsx +++ b/src/app/contacts/page.tsx @@ -1,5 +1,4 @@ import Link from "next/link"; -import Header from "@/app/modules/components/Header"; import style from './styles/page.module.css'; import style_card from './styles/card.module.css'; import Image from "next/image"; @@ -62,55 +61,52 @@ const Card = (props: CardProps) => { const Home = () => { return ( - -
-
-
-

Контакты

-
- +
+
+

Контакты

+
+ - -
+
-
- +
+
); } diff --git a/src/app/layout.tsx b/src/app/layout.tsx index dc19ca3..ff98959 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -5,6 +5,8 @@ import { CookiesProvider } from 'next-client-cookies/server'; import { headers } from 'next/headers'; import meta from '@/app/meta.json'; import { merge } from 'lodash'; +import Footer from "./modules/components/Footer"; +import Header from "./modules/components/Header"; export const generateMetadata = async (): Promise => { const headersList = headers(); @@ -20,7 +22,13 @@ export default function RootLayout({ children }: Readonly<{ children: React.Reac return ( - {children} + +
+
+ {children} +
+