overall tweaks for mobile + margins

This commit is contained in:
2022-12-11 01:44:20 +01:00
parent 0185e29512
commit aaf7403e21
7 changed files with 20 additions and 17 deletions

View File

@@ -4,7 +4,7 @@ const PageError404 = () => {
return (
<>
<SEO title="404" />
Error 404!!
<main>Error 404 - nie znaleziono takiego URL.</main>
</>
);
};

View File

@@ -4,7 +4,7 @@ const PageCytaty = () => {
return (
<>
<SEO title="cytaty" />
Miejsce na stronkę od cytatów.
<main>Miejsce na stronkę od cytatów.</main>
</>
);
};

View File

@@ -11,8 +11,7 @@ const PageIndex = () => {
config.splashes[Math.floor(Math.random() * config.splashes.length)].body
);
}, []);
const welcometext: string =
"Witamy na witrynie internetowej Gractwa. Mamy nadzieję że odnajdziesz czego szukasz, zbłąkana duszo.";
const welcometext: string = "Witamy na witrynie internetowej Gractwa."; // Mamy nadzieję że odnajdziesz czego szukasz, zbłąkana duszo.";
return (
<>
<SEO />
@@ -24,17 +23,16 @@ const PageIndex = () => {
<p>Warto naznaczyć, że strona jest w trakcie remontu.</p>
</div>
</div>
<div className={styles.stats}>
<main>
<h1>Hejo!</h1>
<p>
Gractwo istnieje od{" "}
{Math.floor(
// (Date.now() - new Date("06.07.2020").getTime()) / 86400000
(Date.now() - new Date("2020-07-06").getTime()) / 86400000
)}
{" dni"}.
)}{" "}
dni.
</p>
</div>
</main>
</>
);
};

View File

@@ -4,7 +4,7 @@ const PageInfo = () => {
return (
<>
<SEO title="o gractwie" />
Miejsce na stronkę od informacji nt. Gractwa.
<main>Miejsce na stronkę od informacji nt. Gractwa.</main>
</>
);
};

View File

@@ -4,7 +4,7 @@ const PageRankingi = () => {
return (
<>
<SEO title="rankingi" />
Miejsce na stronkę od rankingów.
<main>Miejsce na stronkę od rankingów.</main>
</>
);
};

View File

@@ -2,13 +2,13 @@
display: block;
width: 100%;
height: 28rem;
@media screen and (max-width: 800px) {
height: 20rem;
}
overflow: hidden;
position: relative;
border-left: none;
border-right: none;
@media screen and (max-width: 800px) {
height: 14rem;
}
}
.hero::before {
position: absolute;
@@ -33,7 +33,7 @@
justify-content: center;
align-items: center;
text-align: center;
@media screen and (max-width: 800px) {
transform: scale(0.85);
}
.stats {
margin: 1rem 16rem;
}

View File

@@ -30,6 +30,11 @@ h3 {
padding: 0.5rem 0;
font-family: var(--fonts-bold);
}
main {
max-width: 1200px;
margin: 0 auto;
padding: 1rem;
}
/* html,
body {