Skip to content

Commit f2cba0a

Browse files
committed
feat: unify section heading styles across components
1 parent 3942cd3 commit f2cba0a

File tree

5 files changed

+13
-16
lines changed

5 files changed

+13
-16
lines changed

app/global.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,11 @@ body {
146146
background: radial-gradient(var(--tw-gradient-stops));
147147
}
148148

149+
/* Shared section heading style — matches the store page title aesthetic */
150+
.section-heading {
151+
@apply font-semibold tracking-tight text-gray-950 dark:text-white;
152+
}
153+
149154
/* Download component styles from websitev2 */
150155
@layer components {
151156
.tab-grid {

components/home/Downloads.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -317,10 +317,8 @@ export function Downloads({ version, releaseAssets }: DownloadsProps) {
317317
transition={{ duration: 0.5 }}
318318
className="text-center mb-12"
319319
>
320-
<h2 className="text-3xl font-bold mb-4">
321-
<span className="bg-linear-to-r from-primary-400 to-primary-600 bg-clip-text text-transparent">
322-
{t("downloads.title")}
323-
</span>
320+
<h2 className="text-3xl section-heading mb-4">
321+
{t("downloads.title")}
324322
</h2>
325323
<p className="text-gray-600 dark:text-gray-400">
326324
{t("downloads.subtitle")}

components/home/Extensions.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,8 @@ export function Extensions() {
5858
transition={{ duration: 0.5 }}
5959
className="text-center mb-16"
6060
>
61-
<h2 className="text-3xl font-bold mb-4">
62-
<span className="bg-linear-to-r from-primary-400 to-primary-600 bg-clip-text text-transparent">
63-
{t("extensions.title")}
64-
</span>
61+
<h2 className="text-3xl section-heading mb-4">
62+
{t("extensions.title")}
6563
</h2>
6664
<p className="text-gray-600 dark:text-gray-400">
6765
{t("extensions.subtitle")}

components/home/Features.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,8 @@ export function Features() {
6565
transition={{ duration: 0.5 }}
6666
className="text-center mb-16"
6767
>
68-
<h2 className="text-3xl font-bold mb-4">
69-
<span className="bg-linear-to-r from-primary-400 to-primary-600 bg-clip-text text-transparent">
70-
{t("features.title")}
71-
</span>
68+
<h2 className="text-3xl section-heading mb-4">
69+
{t("features.title")}
7270
</h2>
7371
<p className="text-gray-600 dark:text-gray-400">
7472
{t("features.subtitle")}

components/home/Hero.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,8 @@ export function Hero({ version, releaseAssets }: HeroProps) {
111111
className="text-center lg:text-left space-y-4 lg:space-y-6 flex flex-col justify-center order-1"
112112
>
113113
<div className="space-y-4">
114-
<h1 className="text-3xl sm:text-5xl font-bold leading-tight">
115-
<span className="bg-gradient-to-r from-primary-400 via-primary-500 to-primary-600 bg-clip-text text-transparent animate-gradient-x">
116-
{t("hero.title")}
117-
</span>
114+
<h1 className="text-3xl sm:text-5xl leading-tight section-heading">
115+
{t("hero.title")}
118116
</h1>
119117
<p className="text-xl text-gray-600 dark:text-gray-400">
120118
{t("hero.subtitle")}

0 commit comments

Comments
 (0)