2
2
mirror of https://github.com/Hilbis/Hilbish synced 2025-07-01 08:42:04 +00:00

fix: change styling of some stuff

This commit is contained in:
sammyette 2025-06-18 18:08:44 -04:00
parent 06d191f09a
commit ac1d744696
Signed by: sammyette
GPG Key ID: 904FC49417B44DCD
2 changed files with 30 additions and 14 deletions

View File

@ -26,7 +26,7 @@ pub fn page() -> element.Element(a) {
]), ]),
], ],
), ),
html.p([attribute.class("text-4xl font-light")], [ html.p([attribute.class("text-6xl font-light")], [
element.text("Something Unique."), element.text("Something Unique."),
]), ]),
]), ]),
@ -59,6 +59,32 @@ pub fn page() -> element.Element(a) {
], ],
[element.text("Feature Overview")], [element.text("Feature Overview")],
), ),
html.br([]),
html.h1(
[
attribute.class(
"mt-3 text-5xl gap-2 font-bold inline-flex justify-center items-center",
),
],
[
element.text("What Makes "),
html.span(
[
attribute.class(
"inline-flex text-pink-500 items-center justify-center h-8",
),
],
[
html.img([
attribute.class("h-8"),
attribute.src(conf.base_url_join("hilbish-flower.png")),
]),
element.text("Hilbish"),
],
),
element.text(" Great?"),
],
),
html.div( html.div(
[ [
attribute.class( attribute.class(
@ -220,17 +246,7 @@ fn feature_section(
<> reverse, <> reverse,
), ),
], ],
[ [html.p([], [element.text(text)])],
case image {
"" -> element.none()
_ ->
html.img([
attribute.src(image),
attribute.class("h-32 rounded-md"),
])
},
html.p([], [element.text(text)]),
],
), ),
], ],
) )

View File

@ -146,7 +146,7 @@ fn nav() -> element.Element(a) {
html.nav( html.nav(
[ [
attribute.class( attribute.class(
"bg-stone-50/80 dark:bg-neutral-900/80 flex justify-around sticky items-center top-0 w-full z-50 border-b border-b-zinc-300 backdrop-blur-md h-18", "bg-stone-50/80 dark:bg-neutral-950/80 flex justify-around sticky items-center top-0 w-full z-50 border-b border-b-zinc-300 backdrop-blur-md h-12",
), ),
], ],
[ [
@ -157,7 +157,7 @@ fn nav() -> element.Element(a) {
[ [
html.img([ html.img([
attribute.src(conf.base_url_join("hilbish-flower.png")), attribute.src(conf.base_url_join("hilbish-flower.png")),
attribute.class("h-16"), attribute.class("h-8"),
]), ]),
html.span([attribute.class("self-center text-3xl font-medium")], [ html.span([attribute.class("self-center text-3xl font-medium")], [
element.text("Hilbish"), element.text("Hilbish"),