feat: init base

This commit is contained in:
2025-05-27 14:44:52 +03:00
parent 7606f893ab
commit 79078671c0
27 changed files with 5543 additions and 129 deletions

BIN
src/app/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

42
src/app/globals.css Normal file
View File

@@ -0,0 +1,42 @@
:root {
--background: #ffffff;
--foreground: #171717;
}
@media (prefers-color-scheme: dark) {
:root {
--background: #0a0a0a;
--foreground: #ededed;
}
}
html,
body {
max-width: 100vw;
overflow-x: hidden;
}
body {
color: var(--foreground);
background: var(--background);
font-family: Arial, Helvetica, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
* {
box-sizing: border-box;
padding: 0;
margin: 0;
}
a {
color: inherit;
text-decoration: none;
}
@media (prefers-color-scheme: dark) {
html {
color-scheme: dark;
}
}

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

@@ -0,0 +1,32 @@
import type { Metadata } from "next";
import { Geist, Geist_Mono } from "next/font/google";
import "./globals.css";
const geistSans = Geist({
variable: "--font-geist-sans",
subsets: ["latin"],
});
const geistMono = Geist_Mono({
variable: "--font-geist-mono",
subsets: ["latin"],
});
export const metadata: Metadata = {
title: "Пожарная экспертиза",
description: "Пожарная экспертиза",
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en">
<body className={`${geistSans.variable} ${geistMono.variable}`}>
{children}
</body>
</html>
);
}

9
src/app/page.tsx Normal file
View File

@@ -0,0 +1,9 @@
import {HomePage} from "@pages/home";
export default function Home() {
return (
<main>
<HomePage />
</main>
);
}

1
src/core/.gitkeep Normal file
View File

@@ -0,0 +1 @@
reusable components

1
src/pages/home/index.tsx Normal file
View File

@@ -0,0 +1 @@
export {default as HomePage} from './ui/Home'

View File

View File

@@ -0,0 +1,8 @@
export default function Home() {
return (
<main>
Home
</main>
)
}

1
src/shared/.gitkeep Normal file
View File

@@ -0,0 +1 @@
reusable components

1
src/widgets/.gitkeep Normal file
View File

@@ -0,0 +1 @@
reusable components