Skip to content

Commit

Permalink
feat: Redesign landing page with enhanced layout and feature highlights
Browse files Browse the repository at this point in the history
  • Loading branch information
yarlson committed Dec 25, 2024
1 parent f25dd47 commit 416ff17
Showing 1 changed file with 99 additions and 12 deletions.
111 changes: 99 additions & 12 deletions www/src/components/lander.astro
Original file line number Diff line number Diff line change
Expand Up @@ -36,25 +36,112 @@ volumes:
---

<div class="splash-template">
<div class="hero">
<Code
wrap
lang="yaml"
code={code}
frame="terminal"
themes={["tokyo-night", "light-plus"]}
title="ftl.yaml"
/>
<div class="hero-ftl">
<div class="hero-content">
<div class="hero-copy">
<h1>FTL: Faster Than Light Deployment</h1>
<p class="hero-subtitle">
Simple, zero-downtime deployments without the complexity of
traditional CI/CD pipelines.
</p>
<ul class="feature-list">
<li>✨ Single YAML configuration</li>
<li>🔒 Automated SSL/TLS management</li>
<li>🐳 Docker-based deployment</li>
<li>🔄 Zero-downtime updates</li>
<li>🌐 Multi-provider support</li>
</ul>
<div>
<a href="/docs/getting-started" class="button">Get Started</a>
</div>
</div>
<div class="hero-code">
<Code
wrap
lang="yaml"
code={code}
frame="terminal"
themes={["tokyo-night", "light-plus"]}
title="ftl.yaml"
/>
</div>
</div>
</div>
</div>

<style is:global>
.hero {
display: none;
}
.hero-ftl {
width: 100%;
margin: 0;
padding: 0;
}
.hero h1 {
font-size: 3rem;
margin: 0;
</style>
<style>
.hero-content {
display: flex;
gap: 4rem;
max-width: 1400px;
margin: 0 auto;
}

.hero-copy {
flex: 1;
padding-right: 2rem;
}

.hero-code {
flex: 1;
min-width: 0; /* Prevents code block from overflowing */
}

.hero-subtitle {
font-size: 1.25rem;
line-height: 1.6;
margin-bottom: 2rem;
color: var(--text-secondary);
}

.feature-list {
list-style: none;
padding: 0;
margin: 0 0 2rem 0;
}

.feature-list li {
font-size: 1.125rem;
margin-bottom: 1rem;
display: flex;
align-items: center;
gap: 0.5rem;
}

.button {
display: inline-block;
font-size: 2rem;
font-weight: 600;
}
@media (max-width: 1024px) {
.hero-content {
flex-direction: column;
gap: 2rem;
}

.hero-copy {
padding-right: 0;
text-align: center;
}

.feature-list {
display: inline-block;
text-align: left;
margin: 0 auto 2rem auto;
}

h1 {
font-size: 2.5rem;
}
}
</style>

0 comments on commit 416ff17

Please sign in to comment.