From ac1d74469680253b1e59edf635272e7ae113469c Mon Sep 17 00:00:00 2001 From: sammy-ette Date: Wed, 18 Jun 2025 18:08:44 -0400 Subject: [PATCH] fix: change styling of some stuff --- website/src/pages/index.gleam | 40 ++++++++++++++++++++++++----------- website/src/website.gleam | 4 ++-- 2 files changed, 30 insertions(+), 14 deletions(-) diff --git a/website/src/pages/index.gleam b/website/src/pages/index.gleam index 86f423d7..daa8f938 100644 --- a/website/src/pages/index.gleam +++ b/website/src/pages/index.gleam @@ -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."), ]), ]), @@ -59,6 +59,32 @@ pub fn page() -> element.Element(a) { ], [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( [ attribute.class( @@ -220,17 +246,7 @@ fn feature_section( <> reverse, ), ], - [ - case image { - "" -> element.none() - _ -> - html.img([ - attribute.src(image), - attribute.class("h-32 rounded-md"), - ]) - }, - html.p([], [element.text(text)]), - ], + [html.p([], [element.text(text)])], ), ], ) diff --git a/website/src/website.gleam b/website/src/website.gleam index 21e6101d..e77dcc2e 100644 --- a/website/src/website.gleam +++ b/website/src/website.gleam @@ -146,7 +146,7 @@ fn nav() -> element.Element(a) { html.nav( [ 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([ 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")], [ element.text("Hilbish"),