marked ou the project
This commit is contained in:
1 parent
0efb94a37c
commit
d2820757b9
25 files changed
+909
-428
No files matched your search
@@ -0,0 +1,4 @@
|
||||
.layout {
|
||||
min-height: 100vh;
|
||||
padding-block: var(--space-8);
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
import { Navigate, Outlet } from "react-router-dom";
|
||||
import { useAppSelector } from "../../store/hooks";
|
||||
import styles from "./Layout.module.css";
|
||||
|
||||
export default function Layout() {
|
||||
|
||||
return (
|
||||
<div className={styles.layout}>
|
||||
<div className="page-shell">
|
||||
<Outlet />
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
.page {
|
||||
display: grid;
|
||||
gap: var(--space-4);
|
||||
}
|
||||
|
||||
.title {
|
||||
margin: 0;
|
||||
font-size: 32px;
|
||||
line-height: 1.15;
|
||||
}
|
||||
|
||||
.text {
|
||||
margin: 0;
|
||||
color: var(--color-text-muted);
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
import styles from "./Main.module.css";
|
||||
|
||||
export default function Main() {
|
||||
return (
|
||||
<main className={styles.page}>
|
||||
<h1 className={styles.title}>Главная</h1>
|
||||
<p className={styles.text}>Базовая страница приложения готова.</p>
|
||||
</main>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user