feat: init base
This commit is contained in:
BIN
src/app/favicon.ico
Normal file
BIN
src/app/favicon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 15 KiB |
42
src/app/globals.css
Normal file
42
src/app/globals.css
Normal 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
32
src/app/layout.tsx
Normal 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
9
src/app/page.tsx
Normal file
@@ -0,0 +1,9 @@
|
||||
import {HomePage} from "@pages/home";
|
||||
|
||||
export default function Home() {
|
||||
return (
|
||||
<main>
|
||||
<HomePage />
|
||||
</main>
|
||||
);
|
||||
}
|
||||
1
src/core/.gitkeep
Normal file
1
src/core/.gitkeep
Normal file
@@ -0,0 +1 @@
|
||||
reusable components
|
||||
1
src/pages/home/index.tsx
Normal file
1
src/pages/home/index.tsx
Normal file
@@ -0,0 +1 @@
|
||||
export {default as HomePage} from './ui/Home'
|
||||
0
src/pages/home/ui/Home.module.scss
Normal file
0
src/pages/home/ui/Home.module.scss
Normal file
8
src/pages/home/ui/Home.tsx
Normal file
8
src/pages/home/ui/Home.tsx
Normal file
@@ -0,0 +1,8 @@
|
||||
|
||||
export default function Home() {
|
||||
return (
|
||||
<main>
|
||||
Home
|
||||
</main>
|
||||
)
|
||||
}
|
||||
1
src/shared/.gitkeep
Normal file
1
src/shared/.gitkeep
Normal file
@@ -0,0 +1 @@
|
||||
reusable components
|
||||
1
src/widgets/.gitkeep
Normal file
1
src/widgets/.gitkeep
Normal file
@@ -0,0 +1 @@
|
||||
reusable components
|
||||
Reference in New Issue
Block a user