Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

fix(web): use h2 for homepage section titles

Richie McIlroy9eb863899085
diff --git a/apps/web/components/pages/HomePage/Pricing/index.tsx b/apps/web/components/pages/HomePage/Pricing/index.tsx
index e0248305e..bf3489708 100644
--- a/apps/web/components/pages/HomePage/Pricing/index.tsx
+++ b/apps/web/components/pages/HomePage/Pricing/index.tsx
@@ -11,9 +11,9 @@ const Pricing = () => {
return (
<div className="w-full max-w-[960px] mx-auto px-5">
<div className="px-5 mb-14 text-center">
- <h1 className="mb-3 w-full text-4xl font-medium tracking-tight text-gray-12">
+ <h2 className="mb-3 w-full text-4xl font-medium tracking-tight text-gray-12">
{homepageCopy.pricing.title}
- </h1>
+ </h2>
<p className="text-lg text-gray-10 max-w-[640px] mx-auto leading-[1.75rem] w-full">
{homepageCopy.pricing.subtitle}
</p>
diff --git a/apps/web/components/pages/HomePage/Testimonials.tsx b/apps/web/components/pages/HomePage/Testimonials.tsx
index a0d8e7366..4248f3af4 100644
--- a/apps/web/components/pages/HomePage/Testimonials.tsx
+++ b/apps/web/components/pages/HomePage/Testimonials.tsx
@@ -121,9 +121,9 @@ const Testimonials = () => {
return (
<div className="w-full max-w-[1200px] mx-auto md:px-5">
<div className="px-5 mb-16 text-center">
- <h1 className="mx-auto mb-3 w-full text-4xl font-medium text-gray-12 text-balance">
+ <h2 className="mx-auto mb-3 w-full text-4xl font-medium text-gray-12 text-balance">
{homepageCopy.testimonials.title}
- </h1>
+ </h2>
<p className="text-lg text-gray-10 w-full max-w-[400px] mx-auto leading-[1.75rem]">
{homepageCopy.testimonials.subtitle}
</p>