Skip to content

Commit f37e886

Browse files
committed
Improve landing-section component.
1 parent 80be348 commit f37e886

10 files changed

Lines changed: 991 additions & 474 deletions

File tree

‎frontend/docs/componentGuide.ts‎

Lines changed: 630 additions & 388 deletions
Large diffs are not rendered by default.

‎frontend/purestack.studio/components/landing/index.mdx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ Thirteen components turn a page into a useful sequence: introduce the idea, expl
5757
<h3>Landing<wbr/>Section</h3>
5858
<Badge tone="neutral">Section rhythm</Badge>
5959
<p>
60-
Introduce a section and arrange its content beside a clear heading at
61-
larger breakpoints.
60+
Give each section a clear introduction, generous spacing, and a responsive
61+
content layout.
6262
</p>
6363
<a href="/components/landing/landing-section/">Explore LandingSection ↗</a>
6464
</article>
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<LandingSection
2+
class="landing-section-demo"
3+
columnsLg="2"
4+
tone="neutral"
5+
variant="surfaceAlt"
6+
>
7+
<Panel class="landing-section-demo__feature" variant="surface">
8+
<IconFrame name="lucide:layers" tone="accent" variant="surface"/>
9+
<h3>Start with good foundations</h3>
10+
<p>Reusable components give every page a familiar structure.</p>
11+
</Panel>
12+
<Panel class="landing-section-demo__feature" variant="surface">
13+
<IconFrame name="lucide:sparkles" tone="secondary" variant="surface"/>
14+
<h3>Finish with your own details</h3>
15+
<p>Your content and ideas give the experience its character.</p>
16+
</Panel>
17+
</LandingSection>
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
<LandingSection
2+
class="landing-section-demo"
3+
eyebrow="BUILT TO FIT TOGETHER"
4+
title="Everything in its right place."
5+
subtitle="A thoughtful foundation for your next idea. Bring your content, shape the details, and make it yours."
6+
align="center"
7+
columnsLg="3"
8+
tone="neutral"
9+
variant="surface"
10+
>
11+
<Panel class="landing-section-demo__feature" variant="surfaceAlt">
12+
<IconFrame name="lucide:layers" tone="accent" variant="surface"/>
13+
<h3>Content with structure</h3>
14+
<p>
15+
Give your ideas a home with pages that are easy to write and maintain.
16+
</p>
17+
</Panel>
18+
<Panel class="landing-section-demo__feature" variant="surfaceAlt">
19+
<IconFrame name="lucide:palette" tone="secondary" variant="surface"/>
20+
<h3>A consistent design</h3>
21+
<p>
22+
Make every detail feel connected, from the first heading to the final
23+
link.
24+
</p>
25+
</Panel>
26+
<Panel class="landing-section-demo__feature" variant="surfaceAlt">
27+
<IconFrame name="lucide:mouse-pointer-2" tone="info" variant="surface"/>
28+
<h3>Room to make it yours</h3>
29+
<p>
30+
Add the interactions your visitors need, exactly where they need them.
31+
</p>
32+
</Panel>
33+
</LandingSection>
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
<LandingSection
2+
class="landing-section-demo"
3+
eyebrow="FROM IDEA TO SOMETHING REAL"
4+
title="Less setup. More making."
5+
subtitle="Keep your next release moving with a clear path from the first draft to the finishing touches."
6+
layout="split"
7+
alignItems="center"
8+
tone="accent"
9+
variant="surface"
10+
>
11+
<template #actions>
12+
<BtnLink
13+
href="/guides/"
14+
tone="accent"
15+
icon="lucide:arrow-right"
16+
iconPosition="end"
17+
>
18+
Explore the guides
19+
</BtnLink>
20+
</template>
21+
<Panel
22+
class="landing-section-demo__workflow"
23+
tone="neutral"
24+
variant="surface"
25+
>
26+
<Flex justify="between" align="center" wrap="true">
27+
<span class="text-eyebrow">YOUR NEXT RELEASE</span>
28+
<Badge tone="success">Ready to build</Badge>
29+
</Flex>
30+
<div class="landing-section-demo__step">
31+
<IconFrame
32+
name="lucide:check"
33+
tone="success"
34+
variant="surface"
35+
size="sm"/>
36+
<div>
37+
<strong>Tell your story</strong><span>Start with the content that matters.</span>
38+
</div>
39+
</div>
40+
<div class="landing-section-demo__step">
41+
<IconFrame
42+
name="lucide:check"
43+
tone="success"
44+
variant="surface"
45+
size="sm"/>
46+
<div>
47+
<strong>Find your rhythm</strong><span>Compose sections that work together.</span>
48+
</div>
49+
</div>
50+
<div class="landing-section-demo__step">
51+
<IconFrame
52+
name="lucide:check"
53+
tone="success"
54+
variant="surface"
55+
size="sm"/>
56+
<div>
57+
<strong>Make it your own</strong><span>Refine the details and share your work.</span>
58+
</div>
59+
</div>
60+
<p class="landing-section-demo__note">
61+
Three steps. One shared foundation.
62+
</p>
63+
</Panel>
64+
</LandingSection>

0 commit comments

Comments
 (0)