update carousel styles; change caption font weight to bold and adjust link text size for better readability; refactor body class attributes for improved clarity
This commit is contained in:
@@ -2,7 +2,7 @@ doctype html
|
||||
html.scroll-smooth(lang=head.lang)
|
||||
include src/components/Head
|
||||
|
||||
body.m-0.p-0(class="bg-nls-white text-nls-black dark:bg-nls-black dark:text-white")
|
||||
body.m-0.p-0.bg-nls-white.text-nls-black(class="dark:bg-nls-black dark:text-white")
|
||||
main.flex.flex-col
|
||||
article(itemscope, itemtype="http://schema.org/Person")
|
||||
include src/components/Landingpage
|
||||
|
||||
@@ -51,11 +51,11 @@ mixin Carousel(items, options)
|
||||
)
|
||||
if item.caption
|
||||
.p-4(class="sm:static sm:self-center")
|
||||
p.text-lg.pt-2.font-large(class="sm:text-xl")= item.caption
|
||||
p.text-lg.pt-2.font-bold(class="sm:text-xl")= item.caption
|
||||
if item.description
|
||||
p.text-sm.mt-2(class="sm:text-base")= item.description
|
||||
if item.href
|
||||
p.text-sm.mt-4.underline(class="sm:text-sm hover:text-nls-black dark:hover:text-nls-white")= item.href
|
||||
p.text-sm.mt-4.underline(class="sm:text-base hover:text-nls-black dark:hover:text-nls-white")= item.href
|
||||
else if item.type === "brand"
|
||||
.aspect-video.flex.items-center.justify-center.mx-2.mb-4(class="sm:mx-12")
|
||||
img.max-w-full.max-h-full.min-h-64.object-contain.p-4(src=item.logo, alt=item.name, loading=index < 6 ? "eager" : "lazy")
|
||||
|
||||
Reference in New Issue
Block a user