Skip to content

Commit dd632bd

Browse files
committed
Add Comic Sans font utility class and apply to hero text
1 parent 934e58e commit dd632bd

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

src/app/globals.css

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,4 +127,10 @@
127127
section {
128128
@apply w-full py-9 md:py-18;
129129
}
130-
}
130+
}
131+
132+
@layer utilities {
133+
.font-comic {
134+
font-family: "Comic Sans MS", "Comic Sans", cursive;
135+
}
136+
}

src/components/sections/hero.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ export function Hero() {
2929
<CarouselItem>
3030
<div className="p-1">
3131
<div className="flex h-96 items-center justify-center p-6">
32-
<span className="text-4xl font-semibold text-center">Next generation voices for peace.</span>
32+
<span className="text-4xl font-semibold text-center font-comic">
33+
Next generation voices for peace.
34+
</span>
3335
</div>
3436
</div>
3537
</CarouselItem>

0 commit comments

Comments
 (0)