This commit is contained in:
Krzysztof Famulski 2026-02-27 12:28:12 +01:00
parent a4c6130659
commit 84ab389e20
3 changed files with 23 additions and 1 deletions

View File

@ -2,6 +2,10 @@
ViewData["Title"] = "Home Page"; ViewData["Title"] = "Home Page";
} }
<div class="text-center bg-dark text-white min-vh-100 pt-5"> <div class="home-hero text-center text-white min-vh-100">
</div>
@* <div class="text-center bg-dark text-white min-vh-100 pt-5">
<h1 class="display-4">Strona w trakcie budowy...</h1> <h1 class="display-4">Strona w trakcie budowy...</h1>
</div> </div>
*@

View File

@ -45,3 +45,21 @@ body {
padding-right: 1rem; padding-right: 1rem;
padding-left: 1rem; padding-left: 1rem;
} }
.home-hero {
min-height: 100vh;
background-image: url('/images/main.jpg');
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
}
@media (max-width: 768px) {
.home-hero {
min-height: 100vh;
background-image: url('/images/main.jpg');
background-position: center center;
background-repeat: no-repeat;
background-size: 200% auto;
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB