diff --git a/internal/mdparser/mdparser.go b/internal/mdparser/mdparser.go index 7e894c0..22541e5 100644 --- a/internal/mdparser/mdparser.go +++ b/internal/mdparser/mdparser.go @@ -2,7 +2,6 @@ package mdparser import ( "context" - "fmt" "regexp" "strings" diff --git a/view/component/carousel.templ b/view/component/carousel.templ index 4378774..9e9a824 100644 --- a/view/component/carousel.templ +++ b/view/component/carousel.templ @@ -25,12 +25,12 @@ templ Carousel(elm []CarouselEntry , index int) { hx-trigger="click" hx-target="#carousel-parent" > - +
- +

{getEntry(elm, index).Title}

@@ -41,7 +41,7 @@ templ Carousel(elm []CarouselEntry , index int) { hx-trigger="click" hx-target="#carousel-parent" > - + diff --git a/view/component/carousel_templ.go b/view/component/carousel_templ.go index 840e10a..b03195c 100644 --- a/view/component/carousel_templ.go +++ b/view/component/carousel_templ.go @@ -51,7 +51,7 @@ func Carousel(elm []CarouselEntry, index int) templ.Component { if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("\" class=\"h-28 w-52 rounded object-cover\">

") + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("\" class=\"h-36 w-64 rounded object-cover bg-neutral-800\">

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -90,7 +90,7 @@ func Carousel(elm []CarouselEntry, index int) templ.Component { if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("\" class=\"h-28 w-52 rounded object-cover\">

") + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("\" class=\"h-28 w-52 rounded object-cover bg-neutral-800\">

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err }