feat: Added hero tagline "Production Knowledge, Distilled", value propo…
- "frontend/src/pages/Home.tsx" - "frontend/src/App.css" GSD-Task: S01/T01
This commit is contained in:
parent
813920a653
commit
881629b5c3
2 changed files with 115 additions and 2 deletions
|
|
@ -865,7 +865,7 @@ a.app-footer__repo:hover {
|
||||||
|
|
||||||
.home-hero {
|
.home-hero {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 0.5rem 1rem 1.5rem;
|
padding: 2rem 1rem 2.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.home-hero__title {
|
.home-hero__title {
|
||||||
|
|
@ -881,6 +881,78 @@ a.app-footer__repo:hover {
|
||||||
margin-bottom: 1.5rem;
|
margin-bottom: 1.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.home-hero__value-prop {
|
||||||
|
max-width: 32rem;
|
||||||
|
margin: 1.5rem auto 0;
|
||||||
|
font-size: 1.0625rem;
|
||||||
|
line-height: 1.6;
|
||||||
|
color: var(--color-text-secondary);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ── How It Works ─────────────────────────────────────────────────────────── */
|
||||||
|
|
||||||
|
.home-how-it-works {
|
||||||
|
display: grid;
|
||||||
|
grid-template-columns: repeat(3, 1fr);
|
||||||
|
gap: 1.25rem;
|
||||||
|
max-width: 42rem;
|
||||||
|
margin: 2rem auto 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.home-how-it-works__step {
|
||||||
|
padding: 1.25rem 1rem;
|
||||||
|
background: var(--color-bg-surface);
|
||||||
|
border: 1px solid var(--color-border);
|
||||||
|
border-radius: 0.625rem;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.home-how-it-works__number {
|
||||||
|
display: inline-flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
width: 2rem;
|
||||||
|
height: 2rem;
|
||||||
|
border-radius: 50%;
|
||||||
|
background: var(--color-accent);
|
||||||
|
color: var(--color-bg-page);
|
||||||
|
font-weight: 700;
|
||||||
|
font-size: 0.875rem;
|
||||||
|
margin-bottom: 0.75rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.home-how-it-works__title {
|
||||||
|
font-size: 0.9375rem;
|
||||||
|
font-weight: 600;
|
||||||
|
margin-bottom: 0.375rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.home-how-it-works__desc {
|
||||||
|
font-size: 0.8125rem;
|
||||||
|
color: var(--color-text-secondary);
|
||||||
|
line-height: 1.5;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* ── CTA Button ───────────────────────────────────────────────────────────── */
|
||||||
|
|
||||||
|
.home-cta {
|
||||||
|
display: inline-block;
|
||||||
|
margin-top: 2rem;
|
||||||
|
padding: 0.75rem 2rem;
|
||||||
|
background: var(--color-accent);
|
||||||
|
color: var(--color-bg-page);
|
||||||
|
font-weight: 700;
|
||||||
|
font-size: 1rem;
|
||||||
|
border-radius: 0.5rem;
|
||||||
|
text-decoration: none;
|
||||||
|
transition: background 0.15s, transform 0.15s;
|
||||||
|
}
|
||||||
|
|
||||||
|
.home-cta:hover {
|
||||||
|
background: var(--color-accent-hover);
|
||||||
|
transform: translateY(-1px);
|
||||||
|
}
|
||||||
|
|
||||||
/* ── Search form ──────────────────────────────────────────────────────────── */
|
/* ── Search form ──────────────────────────────────────────────────────────── */
|
||||||
|
|
||||||
.search-container {
|
.search-container {
|
||||||
|
|
@ -2079,6 +2151,16 @@ a.app-footer__repo:hover {
|
||||||
font-size: 1.75rem;
|
font-size: 1.75rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.home-how-it-works {
|
||||||
|
grid-template-columns: 1fr;
|
||||||
|
max-width: 20rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.home-cta {
|
||||||
|
width: 100%;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
.nav-cards {
|
.nav-cards {
|
||||||
grid-template-columns: 1fr;
|
grid-template-columns: 1fr;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -110,7 +110,7 @@ export default function Home() {
|
||||||
<div className="home">
|
<div className="home">
|
||||||
{/* Hero search */}
|
{/* Hero search */}
|
||||||
<section className="home-hero">
|
<section className="home-hero">
|
||||||
|
<h1 className="home-hero__title">Production Knowledge, Distilled</h1>
|
||||||
<p className="home-hero__subtitle">
|
<p className="home-hero__subtitle">
|
||||||
Search techniques, key moments, and creators
|
Search techniques, key moments, and creators
|
||||||
</p>
|
</p>
|
||||||
|
|
@ -167,6 +167,37 @@ export default function Home() {
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<p className="home-hero__value-prop">
|
||||||
|
Real music production techniques extracted from creator tutorials.
|
||||||
|
Skip the 4-hour videos — find the insight you need in seconds.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<div className="home-how-it-works">
|
||||||
|
<div className="home-how-it-works__step">
|
||||||
|
<span className="home-how-it-works__number">1</span>
|
||||||
|
<h3 className="home-how-it-works__title">Creators Share Techniques</h3>
|
||||||
|
<p className="home-how-it-works__desc">
|
||||||
|
Real producers and sound designers publish in-depth tutorials
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<div className="home-how-it-works__step">
|
||||||
|
<span className="home-how-it-works__number">2</span>
|
||||||
|
<h3 className="home-how-it-works__title">AI Extracts Key Moments</h3>
|
||||||
|
<p className="home-how-it-works__desc">
|
||||||
|
We distill hours of video into structured, searchable knowledge
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
<div className="home-how-it-works__step">
|
||||||
|
<span className="home-how-it-works__number">3</span>
|
||||||
|
<h3 className="home-how-it-works__title">You Find Answers Fast</h3>
|
||||||
|
<p className="home-how-it-works__desc">
|
||||||
|
Search by topic, technique, or creator — get straight to the insight
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<Link to="/topics" className="btn home-cta">Start Exploring</Link>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
{/* Navigation cards */}
|
{/* Navigation cards */}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue