foto added

This commit is contained in:
darius 2024-05-29 16:14:34 +02:00
parent 61871201d9
commit a414a7b606
5 changed files with 21 additions and 2 deletions

View File

@ -22434,4 +22434,9 @@ has-background-danger.is-hoverable:active {
pointer-events: all !important;
}
body::-webkit-scrollbar {
display: none;
/* for Chrome, Safari, and Opera */
}
/*# sourceMappingURL=style.css.map */

File diff suppressed because one or more lines are too long

View File

@ -11,5 +11,11 @@ $custom-info: #6715ef;
$link: $custom-link,
);
body::-webkit-scrollbar {
display: none;
/* for Chrome, Safari, and Opera */
}
// Import the Google Font
@import url("https://fonts.googleapis.com/css?family=Nunito:400,700");

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 MiB

View File

@ -3,6 +3,7 @@ package handlers
import (
g "github.com/maragudk/gomponents"
. "github.com/maragudk/gomponents/html"
b "github.com/willoma/bulma-gomponents"
"net/http"
)
@ -17,5 +18,12 @@ func HomePageHandler(w http.ResponseWriter, r *http.Request) {
func createHomeBody(w http.ResponseWriter, r *http.Request) g.Node {
return Body()
return Body(
Div(
Class("flex max-h-[calc(100vh_-_3.75rem)]"),
b.ImageImg("assets/images/Darius_pasfoto_2023_Large.png",
b.OnImg(Class("object-scale-down max-h-full m-auto")),
)),
Hr(Class("h-1 border-t-0 bg-neutral-300 dark:bg-white/100 flex")),
)
}