diff --git a/app/about-us/page.tsx b/app/about-us/page.tsx new file mode 100644 index 0000000..7c7697c --- /dev/null +++ b/app/about-us/page.tsx @@ -0,0 +1,3 @@ +import AboutUsPage from "@/Pages/AboutUsPage/AboutUsPage"; + +export default AboutUsPage; diff --git a/app/layout.tsx b/app/layout.tsx new file mode 100644 index 0000000..31838fa --- /dev/null +++ b/app/layout.tsx @@ -0,0 +1,9 @@ +import RootLayout from "@/App/App"; +import type { Metadata } from "next"; + +export const metadata: Metadata = { + title: "KG Road", + description: "Road in Kyrgyzstan", +}; + +export default RootLayout; diff --git a/app/news/page.tsx b/app/news/page.tsx new file mode 100644 index 0000000..955b210 --- /dev/null +++ b/app/news/page.tsx @@ -0,0 +1,3 @@ +import NewsPage from "@/Pages/NewsPage/NewsPage"; + +export default NewsPage; diff --git a/app/page.tsx b/app/page.tsx new file mode 100644 index 0000000..3095677 --- /dev/null +++ b/app/page.tsx @@ -0,0 +1,3 @@ +import Homepage from "@/Pages/Homepage/Homepage"; + +export default Homepage; diff --git a/app/profile/page.tsx b/app/profile/page.tsx new file mode 100644 index 0000000..a54c709 --- /dev/null +++ b/app/profile/page.tsx @@ -0,0 +1,7 @@ +import React from "react"; + +const page = () => { + return
page
; +}; + +export default page; diff --git a/app/sign-in/page.tsx b/app/sign-in/page.tsx new file mode 100644 index 0000000..a54c709 --- /dev/null +++ b/app/sign-in/page.tsx @@ -0,0 +1,7 @@ +import React from "react"; + +const page = () => { + return
page
; +}; + +export default page; diff --git a/app/sign-up/page.tsx b/app/sign-up/page.tsx new file mode 100644 index 0000000..a54c709 --- /dev/null +++ b/app/sign-up/page.tsx @@ -0,0 +1,7 @@ +import React from "react"; + +const page = () => { + return
page
; +}; + +export default page; diff --git a/app/statistics/page.tsx b/app/statistics/page.tsx new file mode 100644 index 0000000..2ea4a18 --- /dev/null +++ b/app/statistics/page.tsx @@ -0,0 +1,3 @@ +import StatisticsPage from "@/Pages/StatisticsPage/StatisticsPage"; + +export default StatisticsPage; diff --git a/app/volunteers/page.tsx b/app/volunteers/page.tsx new file mode 100644 index 0000000..8bc622c --- /dev/null +++ b/app/volunteers/page.tsx @@ -0,0 +1,3 @@ +import VolunteersPage from "@/Pages/VolunteersPage/VolunteersPage"; + +export default VolunteersPage; diff --git a/package.json b/package.json index 84ce1a5..8e8148e 100644 --- a/package.json +++ b/package.json @@ -9,16 +9,17 @@ "lint": "next lint" }, "dependencies": { + "next": "14.1.0", "react": "^18", "react-dom": "^18", - "next": "14.1.0" + "sass": "^1.70.0" }, "devDependencies": { - "typescript": "^5", "@types/node": "^20", "@types/react": "^18", "@types/react-dom": "^18", "eslint": "^8", - "eslint-config-next": "14.1.0" + "eslint-config-next": "14.1.0", + "typescript": "^5" } } diff --git a/src/App/App.tsx b/src/App/App.tsx new file mode 100644 index 0000000..fd75142 --- /dev/null +++ b/src/App/App.tsx @@ -0,0 +1,22 @@ +import { Montserrat } from "next/font/google"; +import "./globals.scss"; +import Navbar from "@/Widgets/general/Navbar/Navbar"; +import Footer from "@/Widgets/general/Footer/Footer"; + +const montserrat = Montserrat({ subsets: ["latin"] }); + +export default function RootLayout({ + children, +}: Readonly<{ + children: React.ReactNode; +}>) { + return ( + + + + {children} +