Skip to content

Commit 2506022

Browse files
committed
new landing for merge
1 parent 6841a93 commit 2506022

File tree

3 files changed

+36
-23
lines changed

3 files changed

+36
-23
lines changed

src/components/TextDivider.astro

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
22
import ContentLimiter from "./ContentLimiter.astro";
33
interface Props {
44
text: string;
5+
paddingTop?: string;
56
}
6-
const { text } = Astro.props;
7+
const { text, paddingTop = '3rem' } = Astro.props;
78
---
89
<ContentLimiter>
9-
<div class="text-divider">
10+
<div class="text-divider" style={`padding-top: ${paddingTop};`}>
1011
<span class="divider-text">{text}</span>
1112
</div>
1213
</ContentLimiter>

src/pages/_home/components/CaseCapsules.astro

Lines changed: 25 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,32 @@ const { cases } = Astro.props;
1414
<ContentLimiter>
1515
<div class="case-capsules">
1616
{cases.map((caseItem) => (
17-
<a
18-
href={caseItem.link}
19-
target=""
20-
rel="noopener noreferrer"
21-
class="case-capsule case-capsule-link"
22-
tabindex={0}
23-
aria-label={caseItem.title + ' (Read more)'}
24-
>
25-
<div class="case-header">
26-
<h2>{caseItem.title}</h2>
17+
caseItem.link && caseItem.link.trim() !== "" ? (
18+
<a
19+
href={caseItem.link}
20+
target=""
21+
rel="noopener noreferrer"
22+
class="case-capsule case-capsule-link"
23+
tabindex={0}
24+
aria-label={caseItem.title + ' (Read more)'}
25+
>
26+
<div class="case-header">
27+
<h2>{caseItem.title}</h2>
28+
</div>
29+
<div class="case-link-container">
30+
<span class="case-link">Read more</span>
31+
</div>
32+
</a>
33+
) : (
34+
<div class="case-capsule case-capsule-link" tabindex={0} aria-label={caseItem.title + ' (Stay tuned)'}>
35+
<div class="case-header">
36+
<h2>{caseItem.title}</h2>
37+
</div>
38+
<div class="case-link-container">
39+
<span class="case-link" style="text-decoration:unset;">Stay tuned – full story next week!</span>
40+
</div>
2741
</div>
28-
<div class="case-link-container">
29-
<span class="case-link">Read more</span>
30-
</div>
31-
</a>
42+
)
3243
))}
3344
</div>
3445
</ContentLimiter>

src/pages/index.astro

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ const tags = [
164164
showBorder={true}
165165
title="Ready to Implement Enterprise-Grade WireGuard® VPN?"
166166
description="See how Defguard fits into your zero-trust architecture and existing infrastructure."
167-
buttonText="See all Defguard Server Features"
167+
buttonText="See Defguard Server Features"
168168
buttonLink="/server?utm_source=landing"
169169
id="cta-documentation"
170170
variant="gray"
@@ -216,7 +216,7 @@ const tags = [
216216
showBorder={true}
217217
title="Ready to Implement Enterprise-Grade WireGuard® VPN?"
218218
description="See how Defguard fits into your zero-trust architecture and existing infrastructure."
219-
buttonText="See all Defguard Client Features"
219+
buttonText="See Client Features"
220220
buttonLink="/client?utm_source=landing"
221221
id="cta-documentation"
222222
variant="white"
@@ -226,7 +226,7 @@ const tags = [
226226
227227
228228
229-
Section Beyond VPN – Identity & Access Out of the Box
229+
Section Beyond VPN
230230
231231
232232
@@ -324,19 +324,20 @@ const tags = [
324324
description="Defguard secure architecture approach and user friendly interface makes it a unique solution in the VPN management space."
325325
variant="white"
326326
/>
327-
<TextDivider text="Case Studies" />
327+
<TextDivider text="Case Studies" paddingTop="0" />
328328
<CaseCapsules
329329
cases={[
330330
{ title: "Build private cloud security with defguard.", link: "https://defguard.net/blog/self-hosted-vpn-private-cloud-acquinox-defguard/" },
331-
{ title: "Replace Fortinet or Checkpoint with a lightweight, auditable stack", link: "https://defguard.net/blog/self-hosted-vpn-private-cloud-acquinox-defguard/" },
332-
{ title: "Give contractors and remote workers secure, controlled access", link: "https://defguard.net/blog/self-hosted-vpn-private-cloud-acquinox-defguard/" }
331+
{ title: "Replace Fortinet or Checkpoint with a lightweight, auditable stack", link: "" },
332+
{ title: "Give contractors and remote workers secure, controlled access", link: "" }
333333
]}
334334
/>
335335
<TextDivider text="Testimonials" />
336336
<HomeSection id="testimonials" variant="white">
337337
<TestimonialsGrid data={testimonialsData} />
338338
</HomeSection>
339339

340+
<!-- <Roadmap variant="white" /> -->
340341

341342
<CTASection
342343
title="Try Defguard Today – Secure Access Without the Complexity"
@@ -350,7 +351,7 @@ const tags = [
350351
/>
351352

352353

353-
<!-- <Roadmap variant="white" /> -->
354+
354355
</main>
355356
</ProductLayout>
356357

0 commit comments

Comments
 (0)