@@ -3,6 +3,10 @@ import Navigation from "../components/base/Navigation.astro";
33import BaseLayout from " ../layouts/BaseLayout.astro" ;
44import { DownloadButtonList } from " ../components/download/DownloadButtonList/DownloadButtonList" ;
55import DownloadVersion from " ../components/download/DownloadVersion.astro" ;
6+ import DefguardInfo from " ../components/download/DownloadInfo/DownloadInfo" ;
7+ import NewsletterSection from " ../components/NewsletterSection.astro" ;
8+ import ProductSection from " ../layouts/ProductSection.astro" ;
9+ import FlexibleSection from " ../components/FlexibleSection.astro" ;
610
711const title = " defguard - Zero-Trust WireGuard® 2FA/MFA VPN: Download" ;
812const featuredImage =
@@ -24,67 +28,78 @@ const url = "https://defguard.net/download/";
2428>
2529 <Navigation activeSlug =" /download/" />
2630 <main id =" download-page" >
27- <header >
28- <h1 >Download defguard desktop client with WireGuard® 2FA/MFA</h1 >
29- </header >
30- <section class =" download-section" >
31- <DownloadButtonList client:only =" react" />
32- <DownloadVersion />
33- </section >
34- <hr />
35- <!-- <h3>
36- By downloading and using defguard, you agree to its <a href="#" target="_self"
37- >terms and conditions</a
38- >.
39- </h3> -->
31+ <ProductSection padding =" none" >
32+ <FlexibleSection title =" Download defguard desktop client with WireGuard® 2FA/MFA" id =" download-section" variant =" white" theme =" light" >
33+ <div slot =" left" >
34+ <DefguardInfo owner =" Defguard" repo =" client" client:only =" react" />
35+ <DownloadButtonList client:only =" react" />
36+ </div >
37+ <div slot =" right" >
38+ <NewsletterSection
39+ headerLevel =" 2"
40+ title =" Stay Updated on New Releases"
41+ description =" Release notes and occasional news — no spam, just one email per month max."
42+ />
43+ </div >
44+ </FlexibleSection >
45+ </ProductSection >
4046 </main >
4147</BaseLayout >
4248
4349<style lang =" scss" is:global >
50+ .btn.size-normal{
51+ margin: 0 0 0 auto;
52+ min-height: unset !important;
53+ height:38px;
54+ border-radius: unset;
55+ width: 100%;
56+
57+ @include break-down(lg) {
58+ margin: 0 auto;
59+ }
60+ }
61+ .btn{
62+ border-color: var(--text-button-tertiary);
63+
64+ &:hover{
65+ border: unset;
66+ background-color: var(--text-button-tertiary);
67+
68+ span {
69+ color: white;
70+ }
71+ }
72+ }
73+
4474 #download-page {
4575 display: flex;
46- padding: 100px 240px;
4776 flex-direction: column;
4877 gap: 40px;
4978
5079 h1 {
5180 @include typography(section);
5281 }
5382
54- h3 {
55- font-size: 18px;
56- font-weight: 400;
83+ header {
5784 text-align: center;
58- a {
59- text-decoration-line: underline;
60- }
61- }
62-
63- hr {
64- width: 100%;
85+ margin-bottom: 40px;
6586 }
6687
67- .download -section {
68- display: flex ;
69- width: 100% ;
70- max-width: 1500px ;
71- align-items: center ;
72- justify-content: flex-start;
73-
74- @include break-up(lg) {
75- justify-content: space-between ;
76- align-items: flex-start;
88+ .product -section {
89+ padding-top: 0 !important ;
90+ padding-bottom: 0rem !important ;
91+ border: none ;
92+ display: unset ;
93+ h1 {
94+ @include break-down(md) {
95+ padding-top: 20px;
96+ border-top: 1px solid black ;
97+ }
7798 }
7899 }
79100
80101 @include break-down(sm) {
81- padding: 100px 20px;
82102 gap: 50px;
83-
84- .download-section {
85- flex-direction: column;
86- gap: 30px;
87- }
88103 }
89104 }
90105</style >
0 commit comments