Skip to content

Commit ccd659a

Browse files
committed
Simplify hero: single tagline + subtitle, add SITE_SUBTITLE constant
- Update SITE_SLOGAN to "The Postgres expert your startup is missing" - Add SITE_SUBTITLE constant for hero subtitle - Remove duplicate H1, keep single orange tagline as h1 - Use constants for both tagline and subtitle
1 parent 40533ec commit ccd659a

3 files changed

Lines changed: 6 additions & 9 deletions

File tree

src/config/site.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
22
"SITE_NAME": "PostgresAI",
3-
"SITE_SLOGAN": "Stop firefighting Postgres"
3+
"SITE_SLOGAN": "The Postgres expert your startup is missing",
4+
"SITE_SUBTITLE": "PostgresAI delivers database fixes in minutes. You stay focused on building"
45
}

src/config/site.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ import siteConfig from './site.json'
99

1010
export const SITE_NAME: string = siteConfig.SITE_NAME
1111
export const SITE_SLOGAN: string = siteConfig.SITE_SLOGAN
12+
export const SITE_SUBTITLE: string = siteConfig.SITE_SUBTITLE

src/pages/index.tsx

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import useDocusaurusContext from '@docusaurus/useDocusaurusContext'
44

55
import styles from './index.module.css'
66
import { TRUSTED_BY_COMPANIES } from './pricing'
7-
import { SITE_NAME, SITE_SLOGAN } from '../config/site'
7+
import { SITE_NAME, SITE_SLOGAN, SITE_SUBTITLE } from '../config/site'
88

99
// Testimonials
1010
const testimonials = [
@@ -54,13 +54,8 @@ function IndexPage() {
5454
Ship your product features instead of fighting Postgres fires
5555
</p>
5656
*/}
57-
<p className={styles.tagline}>{SITE_SLOGAN}</p>
58-
<h1 className={styles.mainTitle}>
59-
Your next Postgres outage is already in your logs
60-
</h1>
61-
<p className={styles.subtitle}>
62-
PostgresAI finds Postgres problems and delivers fixes automatically — so your team can focus on the roadmap.
63-
</p>
57+
<h1 className={styles.tagline}>{SITE_SLOGAN}</h1>
58+
<p className={styles.subtitle}>{SITE_SUBTITLE}</p>
6459

6560
{/* Video Container */}
6661
<div className={styles.videoContainer}>

0 commit comments

Comments
 (0)