diff --git a/ZPDuszynska/Views/Home/Index.cshtml b/ZPDuszynska/Views/Home/Index.cshtml index a30be16..074dbeb 100644 --- a/ZPDuszynska/Views/Home/Index.cshtml +++ b/ZPDuszynska/Views/Home/Index.cshtml @@ -2,6 +2,10 @@ ViewData["Title"] = "Home Page"; } -
+
+
+ +@*

Strona w trakcie budowy...

+ *@ \ No newline at end of file diff --git a/ZPDuszynska/wwwroot/css/site.css b/ZPDuszynska/wwwroot/css/site.css index 904371a..1bb1f73 100644 --- a/ZPDuszynska/wwwroot/css/site.css +++ b/ZPDuszynska/wwwroot/css/site.css @@ -44,4 +44,22 @@ body { .navbar-nav .nav-link { padding-right: 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; + } } \ No newline at end of file diff --git a/ZPDuszynska/wwwroot/images/main.jpg b/ZPDuszynska/wwwroot/images/main.jpg new file mode 100644 index 0000000..eb18b80 Binary files /dev/null and b/ZPDuszynska/wwwroot/images/main.jpg differ