feat: navbar and footer

This commit is contained in:
2025-08-19 11:59:58 +04:00
parent d3d8c5117b
commit be034ebbd0
24 changed files with 452 additions and 38 deletions

View File

@ -0,0 +1,14 @@
"use client";
import { FC, ReactNode } from "react";
import { AppShell } from "@mantine/core";
type Props = {
children: ReactNode;
};
const AppShellFooterWrapper: FC<Props> = ({ children }) => {
return <AppShell.Footer hiddenFrom={"sm"}>{children}</AppShell.Footer>;
};
export default AppShellFooterWrapper;

View File

@ -0,0 +1,14 @@
"use client";
import { FC, ReactNode } from "react";
import { AppShell } from "@mantine/core";
type Props = {
children: ReactNode;
};
const AppShellMainWrapper: FC<Props> = ({ children }) => {
return <AppShell.Main>{children}</AppShell.Main>;
};
export default AppShellMainWrapper;

View File

@ -0,0 +1,14 @@
"use client";
import { FC, ReactNode } from "react";
import { AppShell } from "@mantine/core";
type Props = {
children: ReactNode;
};
const AppShellNavbarWrapper: FC<Props> = ({ children }) => {
return <AppShell.Navbar>{children}</AppShell.Navbar>;
};
export default AppShellNavbarWrapper;