Skip to content
This repository was archived by the owner on Jan 21, 2025. It is now read-only.

Commit 2c784e2

Browse files
committed
chore(widgets): change Hero component to fit intended design
1 parent d7b36e8 commit 2c784e2

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/components/widgets/Hero.astro

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,6 @@ const {
2828
<div class="pt-0 md:pt-[76px] pointer-events-none"></div>
2929
<div class="py-12 md:py-20">
3030
<div class="text-center pb-10 md:pb-16 max-w-5xl mx-auto">
31-
{
32-
tagline && (
33-
<p
34-
class="text-base text-secondary dark:text-blue-200 font-bold tracking-wide uppercase intersect-once intersect-quarter motion-safe:md:opacity-0 motion-safe:md:intersect:animate-fade"
35-
set:html={tagline}
36-
/>
37-
)
38-
}
3931
{
4032
title && (
4133
<h1
@@ -44,6 +36,14 @@ const {
4436
/>
4537
)
4638
}
39+
{
40+
tagline && (
41+
<p
42+
class="text-base text-secondary mb-4 dark:text-blue-200 font-bold tracking-wide uppercase intersect-once intersect-quarter motion-safe:md:opacity-0 motion-safe:md:intersect:animate-fade"
43+
set:html={tagline}
44+
/>
45+
)
46+
}
4747
<div class="max-w-3xl mx-auto">
4848
{
4949
subtitle && (

0 commit comments

Comments
 (0)