Skip to content

Commit 21f6e86

Browse files
committed
refactor: replace explore banner with inline links
- Remove large banner cards (too prominent) - Add "View all →" link next to "What People Say" header - Add "See what people built →" link in integrations section - Add "View all showcase projects →" link on integrations page - Cleaner, less cluttered navigation
1 parent f4445e5 commit 21f6e86

File tree

2 files changed

+61
-93
lines changed

2 files changed

+61
-93
lines changed

src/pages/index.astro

Lines changed: 46 additions & 93 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,12 @@ const duration2 = (row2.length / 2 * pixelsPerItem) / pixelsPerSecond;
9292

9393
<!-- Testimonials (moved up for social proof) -->
9494
<section class="testimonials">
95-
<h2 class="section-title">
96-
<span class="claw-accent">⟩</span> What People Say
97-
</h2>
95+
<div class="section-header">
96+
<h2 class="section-title">
97+
<span class="claw-accent">⟩</span> What People Say
98+
</h2>
99+
<a href="/shoutouts" class="section-link">View all →</a>
100+
</div>
98101
<div class="testimonials-track">
99102
<div class="testimonials-row row-1" style={`--duration: ${duration1}s`}>
100103
{row1.map((t) => (
@@ -419,7 +422,11 @@ const duration2 = (row2.length / 2 * pixelsPerItem) / pixelsPerSecond;
419422
</span>
420423
))}
421424
</div>
422-
<a href="/integrations" class="integrations-link">View all 50+ integrations →</a>
425+
<div class="integrations-links">
426+
<a href="/integrations" class="integrations-link">View all 50+ integrations →</a>
427+
<span class="link-separator">·</span>
428+
<a href="https://docs.clawd.bot/start/showcase" class="integrations-link" target="_blank" rel="noopener">See what people built →</a>
429+
</div>
423430
</section>
424431

425432
<!-- CTA Grid -->
@@ -460,33 +467,6 @@ const duration2 = (row2.length / 2 * pixelsPerItem) / pixelsPerSecond;
460467
</a>
461468
</nav>
462469

463-
<!-- Explore More Banner -->
464-
<section class="explore-banner">
465-
<div class="explore-links">
466-
<a href="/integrations" class="explore-link">
467-
<svg class="explore-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
468-
<circle cx="12" cy="12" r="3"/><path d="M12 1v6m0 6v6m5.2-13.2l-4.2 4.2m0 6l4.2 4.2M23 12h-6m-6 0H1m18.2-5.2l-4.2 4.2m0 6l4.2 4.2"/>
469-
</svg>
470-
<span class="explore-label">Integrations</span>
471-
<span class="explore-desc">50+ apps & services</span>
472-
</a>
473-
<a href="/shoutouts" class="explore-link">
474-
<svg class="explore-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
475-
<path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"/>
476-
</svg>
477-
<span class="explore-label">Shoutouts</span>
478-
<span class="explore-desc">Community love</span>
479-
</a>
480-
<a href="https://docs.clawd.bot/start/showcase" target="_blank" rel="noopener" class="explore-link">
481-
<svg class="explore-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
482-
<polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"/>
483-
</svg>
484-
<span class="explore-label">Showcase</span>
485-
<span class="explore-desc">Impressive builds</span>
486-
</a>
487-
</div>
488-
</section>
489-
490470
<!-- Footer -->
491471
<footer class="footer">
492472
<p>Built by <a href="https://clawd.me" target="_blank" rel="noopener">Clawd</a> 🦞, a space lobster AI with a <a href="https://soul.md" target="_blank" rel="noopener">soul</a>, by <a href="https://steipete.me" target="_blank" rel="noopener">Peter Steinberger</a> & <a href="https://github.com/clawdbot/clawdbot#community" target="_blank" rel="noopener">community</a>.</p>
@@ -858,9 +838,15 @@ const duration2 = (row2.length / 2 * pixelsPerItem) / pixelsPerSecond;
858838
box-shadow: 0 8px 24px color-mix(in srgb, var(--coral-bright) 20%, transparent);
859839
}
860840

841+
.integrations-links {
842+
display: flex;
843+
justify-content: center;
844+
align-items: center;
845+
gap: 12px;
846+
flex-wrap: wrap;
847+
}
848+
861849
.integrations-link {
862-
display: block;
863-
text-align: center;
864850
color: var(--coral-bright);
865851
text-decoration: none;
866852
font-size: 0.9rem;
@@ -872,22 +858,46 @@ const duration2 = (row2.length / 2 * pixelsPerItem) / pixelsPerSecond;
872858
color: var(--cyan-bright);
873859
}
874860

861+
.link-separator {
862+
color: var(--text-muted);
863+
font-size: 0.9rem;
864+
}
865+
875866
/* Quick Start */
876867
.quickstart {
877868
margin-bottom: 56px;
878869
animation: fadeInUp 0.8s ease-out 0.6s both;
879870
}
880871

872+
.section-header {
873+
display: flex;
874+
justify-content: space-between;
875+
align-items: center;
876+
margin-bottom: 20px;
877+
}
878+
881879
.section-title {
882880
font-family: var(--font-display);
883881
font-size: 1.4rem;
884882
font-weight: 600;
885-
margin-bottom: 20px;
883+
margin-bottom: 0;
886884
display: flex;
887885
align-items: center;
888886
gap: 10px;
889887
}
890888

889+
.section-link {
890+
font-size: 0.9rem;
891+
color: var(--coral-bright);
892+
text-decoration: none;
893+
font-weight: 500;
894+
transition: color 0.2s ease;
895+
}
896+
897+
.section-link:hover {
898+
color: var(--cyan-bright);
899+
}
900+
891901
.claw-accent {
892902
color: var(--coral-bright);
893903
font-weight: 700;
@@ -1112,8 +1122,8 @@ const duration2 = (row2.length / 2 * pixelsPerItem) / pixelsPerSecond;
11121122
padding: 0 24px;
11131123
}
11141124

1115-
.testimonials .section-title {
1116-
padding-left: 24px;
1125+
.testimonials .section-header {
1126+
padding: 0 24px;
11171127
}
11181128

11191129
.testimonials-track {
@@ -1223,59 +1233,6 @@ const duration2 = (row2.length / 2 * pixelsPerItem) / pixelsPerSecond;
12231233
color: var(--coral-bright);
12241234
}
12251235

1226-
/* Explore Banner */
1227-
.explore-banner {
1228-
margin: 56px 0 40px 0;
1229-
animation: fadeInUp 0.8s ease-out 0.8s both;
1230-
}
1231-
1232-
.explore-links {
1233-
display: grid;
1234-
grid-template-columns: repeat(3, 1fr);
1235-
gap: 20px;
1236-
}
1237-
1238-
.explore-link {
1239-
display: flex;
1240-
flex-direction: column;
1241-
align-items: center;
1242-
text-align: center;
1243-
padding: 32px 24px;
1244-
border-radius: 16px;
1245-
border: 1px solid var(--border-subtle);
1246-
background: rgba(10, 15, 26, 0.6);
1247-
backdrop-filter: blur(12px);
1248-
text-decoration: none;
1249-
transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
1250-
}
1251-
1252-
.explore-link:hover {
1253-
transform: translateY(-4px);
1254-
border-color: var(--coral-bright);
1255-
box-shadow: 0 12px 40px color-mix(in srgb, var(--coral-bright) 20%, transparent);
1256-
}
1257-
1258-
.explore-icon {
1259-
width: 40px;
1260-
height: 40px;
1261-
color: var(--coral-bright);
1262-
margin-bottom: 16px;
1263-
stroke-width: 2;
1264-
}
1265-
1266-
.explore-label {
1267-
font-family: var(--font-display);
1268-
font-size: 1.2rem;
1269-
font-weight: 600;
1270-
color: var(--text-primary);
1271-
margin-bottom: 8px;
1272-
}
1273-
1274-
.explore-desc {
1275-
font-size: 0.9rem;
1276-
color: var(--text-muted);
1277-
}
1278-
12791236
/* Responsive */
12801237
@media (max-width: 480px) {
12811238
.container {
@@ -1324,9 +1281,5 @@ const duration2 = (row2.length / 2 * pixelsPerItem) / pixelsPerSecond;
13241281
.testimonial-quote {
13251282
font-size: 0.85rem;
13261283
}
1327-
1328-
.explore-links {
1329-
grid-template-columns: 1fr;
1330-
}
13311284
}
13321285
</style>

src/pages/integrations.astro

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,9 @@ const showcase = [
287287
</a>
288288
))}
289289
</div>
290+
<div style="text-align: center; margin-top: 24px;">
291+
<a href="https://docs.clawd.bot/start/showcase" target="_blank" rel="noopener" class="showcase-link">View all showcase projects →</a>
292+
</div>
290293
</section>
291294

292295
<!-- CTA -->
@@ -485,6 +488,18 @@ const showcase = [
485488
border-style: dashed;
486489
}
487490

491+
.showcase-link {
492+
color: var(--coral-bright);
493+
text-decoration: none;
494+
font-size: 0.9rem;
495+
font-weight: 500;
496+
transition: color 0.2s ease;
497+
}
498+
499+
.showcase-link:hover {
500+
color: var(--cyan-bright);
501+
}
502+
488503
.showcase-card:hover {
489504
transform: translateY(-4px);
490505
border-color: var(--accent, var(--coral-bright));

0 commit comments

Comments
 (0)