refactor(all): migrate from React to Next.js

This commit is contained in:
2026-05-20 09:46:17 +03:30
parent dacbd3a328
commit f23108cda3
86 changed files with 2831 additions and 2679 deletions

34
src/app/layout.tsx Normal file
View File

@@ -0,0 +1,34 @@
import type { Metadata } from "next";
import Navbar from "@/components/Navbar";
import Footer from "@/components/Footer";
import Providers from "@/components/providers";
import { siteUrl } from "@/lib/site";
import "../index.css";
export const metadata: Metadata = {
metadataBase: new URL(siteUrl),
title: {
default: "انجمن علمی کامپیوتر شرق گیلان",
template: "%s | انجمن علمی کامپیوتر شرق گیلان",
},
description:
"انجمن علمی کامپیوتر شرق گیلان، برگزارکننده رویدادها، کارگاه‌ها و محتوای آموزشی برای دانشجویان و علاقه‌مندان فناوری.",
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="fa" dir="rtl" suppressHydrationWarning>
<body>
<Providers>
<Navbar />
{children}
<Footer />
</Providers>
</body>
</html>
);
}