Skip to content

Commit a5dee65

Browse files
Thomas StrombergThomas Stromberg
authored andcommitted
more front page tuning
1 parent 8b8d631 commit a5dee65

File tree

2 files changed

+35
-17
lines changed

2 files changed

+35
-17
lines changed

src/assets/css/style.css

Lines changed: 30 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -60,20 +60,20 @@ body {
6060
justify-content: space-between;
6161
align-items: center;
6262
background: var(--yellow);
63-
filter: drop-shadow(6px 6px 0px rgba(0, 0, 0, 1));
63+
filter: drop-shadow(5px 5px 8px rgba(0, 0, 0, 0.9));
6464
}
6565

6666
.nav-accent-angle {
6767
position: absolute;
6868
top: 0px;
6969
left: 0px;
70-
width: 11.5em;
71-
height: 2.25em;
70+
width: 11.1em;
71+
height: calc(2.25em - 2px);
7272
background: var(--yellow);
7373
clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
7474
z-index: 101;
75-
filter: drop-shadow(6px 6px 0px rgba(0, 0, 0, 1));
76-
transform: skewX(-20deg);
75+
filter: drop-shadow(5px 5px 8px rgba(0, 0, 0, 0.9));
76+
transform: skewX(-10deg);
7777
}
7878

7979
.nav-logo {
@@ -92,7 +92,7 @@ body {
9292
font-weight: 400;
9393
color: var(--black);
9494
text-decoration: none;
95-
transform: skewX(-20deg);
95+
transform: skewX(-10deg);
9696
display: inline-block;
9797
padding: 0;
9898
letter-spacing: 1px;
@@ -127,7 +127,7 @@ body {
127127
}
128128

129129
.nav-links li:not(:last-child)::after {
130-
content: "";
130+
content: "/";
131131
color: #888;
132132
opacity: 0.75;
133133
margin-left: 8px;
@@ -193,6 +193,7 @@ button,
193193
overflow: hidden;
194194
padding-right: 40px;
195195
padding-top: 80px;
196+
padding-bottom: 140px;
196197
}
197198

198199
.hero.hero-left {
@@ -285,19 +286,19 @@ button,
285286

286287
.hero-button {
287288
display: inline-block;
288-
background: var(--cyan);
289+
background: var(--yellow);
289290
color: var(--black);
290291
padding: 12px 28px;
291292
border-radius: 8px;
292293
font-weight: 700;
293294
font-size: 16px;
294295
transition: transform 0.2s, box-shadow 0.2s;
295-
box-shadow: 0 4px 12px rgba(92, 225, 230, 0.4);
296+
box-shadow: 0 4px 12px rgba(255, 232, 56, 0.4);
296297
}
297298

298299
.hero-clickable:hover .hero-button {
299300
transform: translateY(-2px);
300-
box-shadow: 0 6px 20px rgba(92, 225, 230, 0.6);
301+
box-shadow: 0 6px 20px rgba(255, 232, 56, 0.6);
301302
}
302303

303304
/* Product Box Styles */
@@ -1240,3 +1241,22 @@ hr.text-separator {
12401241
opacity: 0;
12411242
overflow: hidden;
12421243
}
1244+
1245+
/* Prevent hero overlap on short viewports */
1246+
@media (max-height: 700px) {
1247+
.hero {
1248+
padding-bottom: 160px;
1249+
}
1250+
1251+
.hero-content {
1252+
max-width: 500px;
1253+
padding: 24px;
1254+
}
1255+
}
1256+
1257+
@media (max-height: 600px) {
1258+
.hero {
1259+
padding-bottom: 180px;
1260+
align-items: center;
1261+
}
1262+
}

src/index.njk

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,27 +10,25 @@ title: Supercharge your dev teams
1010
<a href="/products/ready-to-review/" class="hero-link">
1111
<h1 class="hero-title">SUPERCHARGE YOUR DEV TEAMS.</h1>
1212

13-
<p class="hero-highlight">20X faster code reviews.</p>
13+
<p class="hero-highlight">20X faster code merges.</p>
1414
<ul class="hero-list">
15+
<li>Turn-based PR tracking.</li>
1516
<li>Automated review assignments.</li>
1617
<li>Real-time notifications.</li>
1718
<li>Team leaderboards.</li>
1819
<li>No bullshit.</li>
1920
</ul>
2021

21-
<p class="hero-cta">Out-run your competition.</p>
22-
23-
<div style="text-align: center; margin-top: 25px;">
24-
<span class="hero-button">Find out how →</span>
25-
<p style="margin-top: 12px; font-size: 14px; color: var(--cyan); font-weight: 500;">2-minute setup • Free for OSS</p>
22+
<div style="text-align: right; margin-top: 25px;">
23+
<span class="hero-button">Out-run your competition →</span>
2624
</div>
2725
</a>
2826
</div>
2927

3028
<div style="position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); max-width: 900px; width: calc(100% - 40px);">
3129
<div style="background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(10px); border: 2px solid rgba(92, 225, 230, 0.3); border-radius: 16px; padding: 20px 30px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6); text-align: center;">
3230
<p style="font-size: 13px; color: rgba(255, 232, 56, 0.95); font-weight: 600; letter-spacing: 0.5px; margin: 0; line-height: 1.6;">
33-
🏗️ Built by ex-Google & Chainguard engineers • 🔒 Security-first architecture • 💚 10% of profits reinvested in OSS
31+
🔒 Security-first architecture • 🏗️ Built by ex-Google & Chainguard engineers • 💚 Free for OSS
3432
</p>
3533
</div>
3634
</div>

0 commit comments

Comments
 (0)