Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 | <script lang="ts"></script>
<svelte:head>
<title>Strengthsys</title>
</svelte:head>
<section class="hero">
<p class="eyebrow">Strength training, made personal</p>
<h1>Strengthsys</h1>
<p class="hero__tagline">AI-assisted workout programming.</p>
<a href="/login" class="hero__cta">Sign in to get started</a>
</section>
<style>
.hero {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
gap: var(--space-4);
padding: var(--space-9) 0;
}
.hero__tagline {
font-family: var(--font-serif);
font-style: italic;
font-size: 18px;
color: var(--ink-soft);
max-width: 36ch;
margin: 0;
}
/*
* Anchor styled as a primary button. Mirrors Button.svelte primary/lg so
* we can keep the CTA as a link without nesting <button> inside <a>
* (invalid HTML; flagged in round-1 review).
*/
.hero__cta {
display: inline-flex;
align-items: center;
gap: var(--space-2);
margin-top: var(--space-4);
padding: 14px 24px;
background: var(--primary);
color: #fff;
border-radius: var(--radius-md);
font-family: var(--font-sans);
font-size: 16px;
font-weight: 500;
text-decoration: none;
min-height: 44px;
transition: background-color 0.15s ease;
}
.hero__cta:hover {
background: var(--primary-hover);
color: #fff;
text-decoration: none;
}
.hero__cta:focus-visible {
outline: 2px solid var(--primary);
outline-offset: 2px;
}
@media (max-width: 600px) {
.hero {
padding: var(--space-7) 0;
}
}
</style>
|