Skip to content

Commit e08e69d

Browse files
committed
Hero: more top padding, yellow glow CTA button; services h1 copy
1 parent e884379 commit e08e69d

3 files changed

Lines changed: 32 additions & 17 deletions

File tree

src/components/home/Hero/Banner.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,29 +9,29 @@ export default function Banner() {
99
<div className={styles.banner_container_small}>
1010
<div className={styles.banner_text_overlay}>
1111
<div className={styles.banner_text_overlay_title}>Introducing <span className={styles.notebook_link}>Notebook.link</span></div>
12-
<div className={styles.banner_text_overlay_subtile}>The future of notebook sharing</div>
12+
<div className={styles.banner_text_overlay_subtitle}>The future of notebook sharing</div>
1313
<LinkToNotebookLink label={"Get started"} />
1414
</div>
1515
</div>
1616
<div className={styles.banner_container_medium}>
1717

1818
<div className={styles.banner_text_overlay}>
1919
<div className={styles.banner_text_overlay_title}>Introducing <span className={styles.notebook_link}>Notebook.link</span></div>
20-
<div className={styles.banner_text_overlay_subtile}>The future of notebook sharing</div>
20+
<div className={styles.banner_text_overlay_subtitle}>The future of notebook sharing</div>
2121
<LinkToNotebookLink label={"Get started"} />
2222
</div>
2323
</div>
2424
<div className={styles.banner_container_large}>
2525
<div className={styles.banner_text_overlay}>
2626
<div className={styles.banner_text_overlay_title}>Introducing <span className={styles.notebook_link}>Notebook.link</span></div>
27-
<div className={styles.banner_text_overlay_subtile}>The future of notebook sharing</div>
27+
<div className={styles.banner_text_overlay_subtitle}>The future of notebook sharing</div>
2828
<LinkToNotebookLink label={"Get started"} />
2929
</div>
3030
</div>
3131
<div className={styles.banner_container_very_large}>
3232
<div className={styles.banner_text_overlay}>
3333
<div className={styles.banner_text_overlay_title}>Introducing <span className={styles.notebook_link}>Notebook.link</span></div>
34-
<div className={styles.banner_text_overlay_subtile}>The future of notebook sharing</div>
34+
<div className={styles.banner_text_overlay_subtitle}>The future of notebook sharing</div>
3535
<LinkToNotebookLink label={"Get started"} />
3636
</div>
3737
</div>

src/components/home/Hero/styles.module.css

Lines changed: 27 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
display: flex;
1919
align-items: center;
2020
gap: var(--ifm-spacing-2xl);
21-
padding: var(--ifm-spacing-3xl) 0;
21+
padding: var(--ifm-spacing-xl) 0 var(--ifm-spacing-3xl);
2222
}
2323

2424
.hero_text {
@@ -100,12 +100,11 @@
100100
}
101101

102102
.banner_text_overlay {
103-
margin-top: 50px;
103+
margin-top: calc(var(--ifm-navbar-height) + 96px);
104104
margin-left: auto;
105105
margin-right: auto;
106106
text-align: center;
107107
color: white;
108-
/* or whatever contrasts with your SVG */
109108
font-size: 2rem;
110109
font-family: var(--ifm-font-family-kode-mono);
111110
}
@@ -131,18 +130,35 @@
131130
}
132131

133132
:global(.link-to-button).link_to_notebook_link {
134-
display: flex;
133+
display: inline-flex;
135134
align-items: center;
136135
justify-content: center;
137-
background: linear-gradient(135deg,
138-
var(--ifm-color-accent-indigo),
139-
var(--ifm-color-accent-dark));
140-
color: white;
141-
width: 358px;
136+
background: var(--ifm-color-accent-yellow);
137+
color: var(--ifm-color-primary-p2);
138+
width: auto;
139+
padding: 14px 40px;
142140
font-weight: 700;
143141
font-family: var(--ifm-font-family-roboto);
144-
font-weight: 600;
145-
font-size: 24px;
142+
font-size: 18px;
143+
letter-spacing: 0.5px;
144+
border-radius: 35px;
145+
animation: notebookLinkGlow 2.5s ease-in-out infinite;
146+
transition: transform 0.15s ease, box-shadow 0.15s ease;
147+
}
148+
149+
:global(.link-to-button).link_to_notebook_link:hover {
150+
transform: scale(1.05);
151+
animation: none;
152+
box-shadow: 0 0 32px rgba(252, 241, 43, 0.85);
153+
}
154+
155+
@keyframes notebookLinkGlow {
156+
0%, 100% {
157+
box-shadow: 0 0 10px rgba(252, 241, 43, 0.3), 0 0 24px rgba(252, 241, 43, 0.12);
158+
}
159+
50% {
160+
box-shadow: 0 0 22px rgba(252, 241, 43, 0.7), 0 0 48px rgba(252, 241, 43, 0.3);
161+
}
146162
}
147163

148164

src/components/services/Header.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ export default function Header() {
55
return (
66
<Section pageTop bg="yellow">
77
<h1 className={styles.services_header_text}>
8-
Hire QuantStack to build upon the Jupyter, Mamba, and the PyData
9-
ecosystem.
8+
Hire QuantStack for expert engineering at the frontier of open-source.
109
</h1>
1110
<p>Expert-led development from the people who built and maintain the tools you depend on. Whether you need a custom feature, a support retainer, or hands-on engineering, you work directly with the upstream maintainers.</p>
1211
</Section>

0 commit comments

Comments
 (0)