Skip to content

Commit ce03edc

Browse files
committed
bookademo cleanup
1 parent 78728fc commit ce03edc

File tree

1 file changed

+78
-253
lines changed

1 file changed

+78
-253
lines changed

src/pages/book-a-demo.astro

Lines changed: 78 additions & 253 deletions
Original file line numberDiff line numberDiff line change
@@ -1,289 +1,114 @@
11
---
2+
import FeaturesTable from "../components/FeaturesTable/FeaturesTable";
23
import Navigation from "../components/base/Navigation.astro";
3-
import ProductLayout from "../layouts/ProductLayout.astro";
4+
import BaseLayout from "../layouts/BaseLayout.astro";
5+
import ProductSection from "../layouts/ProductSection.astro";
46
import FlexibleSection from "../components/FlexibleSection.astro";
5-
import HomeSection from "../components/home/HomeSection.astro";
6-
import AstroButton from "../components/AstroButton.astro";
7-
import { Image } from "astro:assets";
8-
import brandAssets from "/public/images/data/brandassets.png";
9-
import contactImage from "/public/images/data/key-visual-BD.png";
107
import BookDemoForm from "../components/form/BookDemoForm/BookDemoForm";
11-
const title = "defguard - Book a Demo";
12-
const featuredImage = "public/images/product/core/hero-image.png";
13-
const imageWidth = "1920";
14-
const imageHeight = "1080";
8+
import { featuresTableData } from "../data/compare-table";
9+
import { Button } from "../components/buttons/Button/Button";
10+
import OrganizationJSONLD from "../scripts/OrganizationJSONLD.astro";
11+
12+
const title =
13+
"Zero-Trust WireGuard® 2FA/MFA VPN: Book a Demo";
14+
const featuredImage =
15+
"github.com/DefGuard/defguard.github.io/raw/main/public/images/png/defguard.png";
16+
const imageWidth = "1080";
17+
const imageHeight = "540";
18+
const description = "defguard - Zero-Trust WireGuard® 2FA/MFA VPN - Book a Demo";
1519
const url = "https://defguard.net/book-a-demo/";
1620
const tags = [
17-
"defguard",
18-
"open source",
19-
"sso & vpn",
20-
"vpn",
21-
"mfa",
21+
"defgaurd",
22+
"compare",
23+
"WireGuard®",
2224
"2fa",
25+
"mfa",
2326
"mfa/2fa",
24-
"WireGuard®",
25-
"ldap",
26-
"openldap",
27-
"postgresql",
28-
"postgres",
2927
"openid",
30-
"totp",
31-
"webauthn",
32-
"opensense",
33-
"freebsd",
34-
"rust",
3528
"secure",
29+
"ldap",
30+
"acl",
31+
"vpn",
32+
"sso",
33+
"firewall",
3634
"desktop client",
37-
"desktop",
35+
"mesh",
36+
"mesh vpn",
37+
"nat",
3838
"yubikey",
39-
"docker",
40-
"kubernetes",
41-
"k8s",
42-
"press",
43-
"media",
44-
"press kit",
45-
"brand assets",
46-
"company information",
47-
"press release",
48-
"media contact",
39+
"email",
40+
"email notifications",
41+
"gateway",
42+
"auth",
43+
"ssh",
4944
];
5045
---
5146

52-
<ProductLayout
47+
<BaseLayout
5348
title={title}
49+
description={description}
5450
featuredImage={featuredImage}
5551
imageWidth={imageWidth}
5652
imageHeight={imageHeight}
5753
url={url}
58-
tags={tags}
5954
>
60-
<Navigation activeSlug="/press/" />
61-
62-
<main id="demo-request-page">
63-
<HomeSection variant="white" contentId="press-header">
64-
<h1>Book a Demo</h1>
65-
<p>
66-
Take control of your team's security and access. See what defguard can do for you.
67-
</p>
68-
</HomeSection>
69-
70-
<FlexibleSection title="Demo Request" id="press-contact" variant="gray" theme="light">
71-
<div slot="left">
72-
<p>What you can expect?</p>
73-
<p>
74-
<ul>
75-
<li>
76-
A walkthrough of defguard’s core features, including secure identity
77-
management, access policies, and user enrollment
78-
</li>
79-
<li>
80-
Insights into how defguard can enhance your security and streamline
81-
operations
82-
</li>
83-
<li>
84-
A discussion on how defguard can integrate with your existing infrastructure
85-
</li>
86-
</ul>
87-
</p>
88-
<p>Our demo takes around 20-30 min.</p>
89-
</div>
90-
<div slot="right">
91-
<BookDemoForm client:load />
92-
</div>
93-
</FlexibleSection>
55+
<OrganizationJSONLD
56+
slot="schema"
57+
title={title}
58+
description={description}
59+
url={url}
60+
tags={tags}
61+
/>
62+
<Navigation activeSlug="/book-a-demo/" />
63+
<main id="book-a-demo">
64+
<ProductSection padding="none">
65+
<FlexibleSection title="Book a Demo" id="press-contact" variant="white" theme="light">
66+
<div slot="left">
67+
<p>What you can expect?</p>
68+
<p>
69+
<ul>
70+
<li>
71+
A walkthrough of defguard’s core features, including secure identity
72+
management, access policies, and user enrollment
73+
</li>
74+
<li>
75+
Insights into how defguard can enhance your security and streamline
76+
operations
77+
</li>
78+
<li>
79+
A discussion on how defguard can integrate with your existing infrastructure
80+
</li>
81+
</ul>
82+
</p>
83+
<p>Our demo takes around 20-30 min.</p>
84+
</div>
85+
<div slot="right">
86+
<BookDemoForm client:load />
87+
</div>
88+
</FlexibleSection>
89+
</ProductSection>
9490
</main>
95-
</ProductLayout>
91+
</BaseLayout>
9692

9793
<style lang="scss" is:global>
98-
#press-header {
99-
padding-bottom: page-spacing(100px);
100-
padding-top: 50px;
101-
102-
& > p {
103-
@include typography(paragraph);
104-
padding-bottom: 8px;
105-
max-width: 800px;
106-
margin: 0 auto;
107-
text-align: center;
108-
}
109-
110-
h1 {
111-
color: var(--text-body-primary);
112-
padding-bottom: 40px;
113-
max-width: 996px;
114-
text-align: center;
115-
text-wrap: balance;
116-
@include typography(title);
94+
#book-a-demo {
95+
.product-section {
96+
padding-top: 0 !important; /* Match the 4rem padding from FlexibleSection */
97+
padding-bottom: 4rem !important;
11798
}
11899

119-
.link-track {
100+
.contact {
120101
width: 100%;
102+
border-top: 1px solid var(--border-separator);
121103
display: flex;
122104
flex-flow: row;
123105
align-items: center;
124106
justify-content: center;
125-
gap: 16px;
126-
padding: 40px 0px;
127-
128-
@include break-down(sm) {
129-
flex-flow: column;
130-
align-items: center;
131-
}
132-
}
133-
}
134-
135-
#home-page {
136-
--page-spacing-factor: 0.5;
137-
@include break-up(lg) {
138-
--page-spacing-factor: 1;
139-
}
140-
141-
.flexible-content {
142-
padding-top: page-spacing(80px);
143-
padding-bottom: page-spacing(80px);
144-
145-
.section-title {
146-
@include typography(
147-
section
148-
); // Change back to section typography for main sections
149-
border-bottom: 1px solid var(--text-body-primary);
150-
padding-bottom: 1rem;
151-
margin-bottom: 2rem;
152-
}
153-
154-
h3 {
155-
@include typography(h3);
156-
margin-top: 0;
157-
margin-bottom: 1rem;
158-
}
159-
160-
p {
161-
@include typography(paragraph);
162-
margin-bottom: 1.5rem;
163-
}
107+
box-sizing: border-box;
108+
padding: 100px 10px 0px 10px;
164109

165-
.learn-more {
166-
margin-bottom: 1.5rem;
167-
}
168-
169-
.learn-more-link {
170-
display: inline-block;
171-
padding: 0.75rem 1.5rem;
172-
background-color: var(--primary-button-bg, #0c8ce0);
173-
color: var(--primary-button-text, white);
174-
border-radius: 6px;
175-
font-weight: 600;
110+
a {
176111
text-decoration: none;
177-
transition: background-color 0.2s ease-in-out;
178-
179-
&:hover {
180-
background-color: var(--primary-button-hover, #0c8ce0);
181-
}
182-
}
183-
184-
ul {
185-
margin: 0 0 1.5rem 0;
186-
padding-left: 20px;
187-
188-
li {
189-
@include typography(paragraph);
190-
margin-bottom: 0.5rem;
191-
}
192-
}
193-
194-
em {
195-
font-size: 0.9em;
196-
opacity: 0.8;
197-
}
198-
199-
.column {
200-
@media (max-width: 768px) {
201-
&.right-column {
202-
margin-top: 1rem;
203-
}
204-
}
205-
}
206-
}
207-
208-
#press-coverage {
209-
.full-width {
210-
width: 100%;
211-
max-width: 100%;
212-
display: flex;
213-
flex-direction: column;
214-
align-items: stretch;
215-
box-sizing: border-box;
216-
}
217-
218-
.coverage-intro {
219-
@include typography(paragraph);
220-
text-align: center;
221-
max-width: 800px;
222-
margin: 0 auto 60px auto;
223-
width: 100%;
224-
}
225-
226-
.articles-grid {
227-
display: grid;
228-
grid-template-columns: repeat(1, 1fr);
229-
gap: 25px;
230-
width: 100%;
231-
box-sizing: border-box;
232-
233-
@include break-up(sm) {
234-
grid-template-columns: repeat(2, 1fr);
235-
gap: 30px;
236-
}
237-
238-
@include break-up(lg) {
239-
grid-template-columns: repeat(3, 1fr);
240-
gap: 40px;
241-
}
242-
}
243-
244-
.article-card {
245-
display: block; // Since it's now an anchor
246-
text-decoration: none; // Remove default link styling
247-
color: inherit; // Keep text color
248-
padding: 20px;
249-
background-color: #f9f9f9;
250-
border-width: 0 0 2px 0;
251-
border-style: solid;
252-
border-color: #f5f5f5;
253-
border-radius: 0px;
254-
transition:
255-
transform 0.2s ease,
256-
box-shadow 0.2s ease,
257-
border-color 0.2s ease;
258-
transform: translateY(-0px); // Reduced from -3px
259-
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.03); // Reduced size and opacity further
260-
261-
&:hover {
262-
transform: translateY(-5px); // Match the default state
263-
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.03); // Match the default state
264-
border-color: var(--primary-button-bg, #0c8ce0);
265-
}
266-
267-
.publication {
268-
display: block;
269-
color: var(--text-body-secondary);
270-
font-size: 14px;
271-
margin-bottom: 8px;
272-
font-weight: 500;
273-
}
274-
275-
.article-title {
276-
@include typography(h4);
277-
margin: 0 0 15px 0;
278-
color: var(--text-body-primary);
279-
}
280-
281-
.article-date {
282-
display: block;
283-
color: var(--text-body-secondary);
284-
font-size: 14px;
285-
margin-top: auto;
286-
}
287112
}
288113
}
289114
}

0 commit comments

Comments
 (0)