Skip to content

Commit bda0651

Browse files
committed
demo-request
1 parent dd28003 commit bda0651

File tree

2 files changed

+286
-231
lines changed

2 files changed

+286
-231
lines changed

src/pages/book-a-demo.astro

Lines changed: 286 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,286 @@
1+
---
2+
import Navigation from "../components/base/Navigation.astro";
3+
import ProductLayout from "../layouts/ProductLayout.astro";
4+
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";
10+
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";
15+
const url = "https://defguard.net/book-a-demo/";
16+
const tags = [
17+
"defguard",
18+
"open source",
19+
"sso & vpn",
20+
"vpn",
21+
"mfa",
22+
"2fa",
23+
"mfa/2fa",
24+
"WireGuard®",
25+
"ldap",
26+
"openldap",
27+
"postgresql",
28+
"postgres",
29+
"openid",
30+
"totp",
31+
"webauthn",
32+
"opensense",
33+
"freebsd",
34+
"rust",
35+
"secure",
36+
"desktop client",
37+
"desktop",
38+
"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",
49+
];
50+
---
51+
52+
<ProductLayout
53+
title={title}
54+
featuredImage={featuredImage}
55+
imageWidth={imageWidth}
56+
imageHeight={imageHeight}
57+
url={url}
58+
tags={tags}
59+
>
60+
<Navigation activeSlug="/press/" />
61+
62+
<main id="demo-request-page">
63+
64+
<HomeSection variant="white" contentId="press-header">
65+
<h1>Book a Demo</h1>
66+
<p>
67+
Take control of your team's security and access. See what defguard can do for you.
68+
</p>
69+
</HomeSection>
70+
71+
72+
73+
<FlexibleSection
74+
title="Demo Request"
75+
id="press-contact"
76+
variant="gray"
77+
theme="light"
78+
>
79+
<div slot="left">
80+
<p>
81+
<ul>
82+
<li>Streamline identity and access management with ease</li>
83+
<li>Strengthen your organization’s security posture</li>
84+
<li>See how defguard fits into your infrastructure</li>
85+
</ul>
86+
</p>
87+
</div>
88+
<div slot="right">
89+
<BookDemoForm client:load />
90+
</div>
91+
</FlexibleSection>
92+
</div>
93+
94+
</main>
95+
</ProductLayout>
96+
97+
<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);
117+
}
118+
119+
.link-track {
120+
width: 100%;
121+
display: flex;
122+
flex-flow: row;
123+
align-items: center;
124+
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+
136+
#home-page {
137+
--page-spacing-factor: 0.5;
138+
@include break-up(lg) {
139+
--page-spacing-factor: 1;
140+
}
141+
142+
.flexible-content {
143+
padding-top: page-spacing(80px);
144+
padding-bottom: page-spacing(80px);
145+
146+
.section-title {
147+
@include typography(section); // Change back to section typography for main sections
148+
border-bottom: 1px solid var(--text-body-primary);
149+
padding-bottom: 1rem;
150+
margin-bottom: 2rem;
151+
}
152+
153+
h3 {
154+
@include typography(h3);
155+
margin-top: 0;
156+
margin-bottom: 1rem;
157+
}
158+
159+
p {
160+
@include typography(paragraph);
161+
margin-bottom: 1.5rem;
162+
}
163+
164+
.learn-more {
165+
margin-bottom: 1.5rem;
166+
}
167+
168+
.learn-more-link {
169+
display: inline-block;
170+
padding: 0.75rem 1.5rem;
171+
background-color: var(--primary-button-bg, #0C8CE0);
172+
color: var(--primary-button-text, white);
173+
border-radius: 6px;
174+
font-weight: 600;
175+
text-decoration: none;
176+
transition: background-color 0.2s ease-in-out;
177+
178+
&:hover {
179+
background-color: var(--primary-button-hover, #0C8CE0);
180+
}
181+
}
182+
183+
ul {
184+
margin: 0 0 1.5rem 0;
185+
padding-left: 20px;
186+
187+
li {
188+
@include typography(paragraph);
189+
margin-bottom: 0.5rem;
190+
}
191+
}
192+
193+
em {
194+
font-size: 0.9em;
195+
opacity: 0.8;
196+
}
197+
198+
.column {
199+
@media (max-width: 768px) {
200+
&.right-column {
201+
margin-top: 1rem;
202+
}
203+
}
204+
}
205+
}
206+
207+
#press-coverage {
208+
.full-width {
209+
width: 100%;
210+
max-width: 100%;
211+
display: flex;
212+
flex-direction: column;
213+
align-items: stretch;
214+
box-sizing: border-box;
215+
}
216+
217+
.coverage-intro {
218+
@include typography(paragraph);
219+
text-align: center;
220+
max-width: 800px;
221+
margin: 0 auto 60px auto;
222+
width: 100%;
223+
}
224+
225+
.articles-grid {
226+
display: grid;
227+
grid-template-columns: repeat(1, 1fr);
228+
gap: 25px;
229+
width: 100%;
230+
box-sizing: border-box;
231+
232+
@include break-up(sm) {
233+
grid-template-columns: repeat(2, 1fr);
234+
gap: 30px;
235+
}
236+
237+
@include break-up(lg) {
238+
grid-template-columns: repeat(3, 1fr);
239+
gap: 40px;
240+
}
241+
}
242+
243+
.article-card {
244+
display: block; // Since it's now an anchor
245+
text-decoration: none; // Remove default link styling
246+
color: inherit; // Keep text color
247+
padding: 20px;
248+
background-color: #f9f9f9;
249+
border-width: 0 0 2px 0;
250+
border-style: solid;
251+
border-color: #f5f5f5;
252+
border-radius: 0px;
253+
transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
254+
transform: translateY(-0px); // Reduced from -3px
255+
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.03); // Reduced size and opacity further
256+
257+
&:hover {
258+
transform: translateY(-5px); // Match the default state
259+
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.03); // Match the default state
260+
border-color: var(--primary-button-bg, #0C8CE0);
261+
}
262+
263+
.publication {
264+
display: block;
265+
color: var(--text-body-secondary);
266+
font-size: 14px;
267+
margin-bottom: 8px;
268+
font-weight: 500;
269+
}
270+
271+
.article-title {
272+
@include typography(h4);
273+
margin: 0 0 15px 0;
274+
color: var(--text-body-primary);
275+
}
276+
277+
.article-date {
278+
display: block;
279+
color: var(--text-body-secondary);
280+
font-size: 14px;
281+
margin-top: auto;
282+
}
283+
}
284+
}
285+
}
286+
</style>

0 commit comments

Comments
 (0)