Перебросил useEffect из Main в Root и оформил как контекст

This commit is contained in:
Ifraim Solomonov committed 2024-03-04 11:38:08 +03:00
1 parent 8496cae1aa
commit ce0752c7eb
5 files changed
+72 -55

No files matched your search

-31
View File
@@ -1,37 +1,6 @@
@import "../../assets/styles/theme.scss";
#page {
.header {
height: 100vh;
padding: 0 10%;
display: flex;
flex-direction: column;
color: $text-secondary;
background-image: url(/assets/images/car.jpeg);
background-color: $bg-image;
background-blend-mode: multiply;
background-position: center;
background-size: cover;
h1 {
font-size: 60px;
font-weight: 600;
line-height: 63px;
margin-top: 40vh;
margin-bottom: 0;
}
h2 {
font-size: 24px;
font-weight: 400;
line-height: 36px;
}
}
.content {
background: $bg-primary;