File tree Expand file tree Collapse file tree 6 files changed +40
-20
lines changed Expand file tree Collapse file tree 6 files changed +40
-20
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ interface Props {
10
10
maxWidth? : number ;
11
11
variant? : ' white' | ' gray' ;
12
12
theme? : ' light' | ' dark' ;
13
+ bottomBorder? : boolean ;
13
14
}
14
15
15
16
const {
@@ -20,6 +21,7 @@ const {
20
21
maxWidth = 1100 ,
21
22
variant = ' white' ,
22
23
theme = ' light' ,
24
+ bottomBorder = true ,
23
25
} = Astro .props ;
24
26
---
25
27
@@ -35,7 +37,7 @@ const {
35
37
>
36
38
<ContentLimiter maxWidth ={ maxWidth } >
37
39
<div class =" flexible-content" >
38
- <div class =" header" >
40
+ <div class ={ clsx ( " header" , { " with-bottom-border " : bottomBorder }) } >
39
41
<TitleTag class =" section-title" id ={ id ? ` ${id }-title ` : undefined } set:html ={ title } ></TitleTag >
40
42
</div >
41
43
@@ -91,10 +93,16 @@ const {
91
93
flex-direction: column;
92
94
width: 100%;
93
95
94
- .header {
96
+ .header {
95
97
width: 100%;
96
98
box-sizing: border-box;
97
99
padding-bottom: 2rem;
100
+
101
+ &.with-bottom-border .section-title {
102
+ border-bottom: 1px solid var(--text-body-primary);
103
+ margin-bottom: 2rem;
104
+ padding-bottom: 1rem;
105
+ }
98
106
99
107
.section-title {
100
108
@include typography(section);
Original file line number Diff line number Diff line change @@ -87,22 +87,12 @@ const url = "https://defguard.net/blog";
87
87
@use "../../styles/mixins/breakpoints" as *;
88
88
89
89
#blog-page {
90
- padding-top: var(--nav-height);
91
90
background-color: var(--surface-frame-bg);
92
91
}
93
92
94
- #blog-header {
95
- .section-title {
96
- @include typography(section);
97
- }
98
- p {
99
- @include typography(paragraph);
100
- margin-bottom: 1.5rem;
101
- }
102
- }
103
-
104
93
.blog-posts-listing {
105
94
padding: 2rem 0 4rem;
95
+ background-color: #f5f5f5;
106
96
107
97
.container {
108
98
max-width: 1200px;
@@ -131,6 +121,7 @@ const url = "https://defguard.net/blog";
131
121
text-decoration: none;
132
122
color: inherit;
133
123
padding: 20px;
124
+ background-color: #f9f9f9;
134
125
border-width: 0 0 2px 0;
135
126
border-style: solid;
136
127
border-color: #f5f5f5;
Original file line number Diff line number Diff line change @@ -58,9 +58,10 @@ const tags = [
58
58
/>
59
59
<Navigation activeSlug =" /compare/" />
60
60
<main id =" compare-page" >
61
- <ProductSection >
61
+ <ProductSection padding = " none " >
62
62
<header id =" compare-header" >
63
- <h1 >Compare of WireGuard® Solutions<br />(on date: 2024.08)</h1 >
63
+ <h1 >Compare of WireGuard® Solutions<br /></h1 >
64
+ <p class =" compare-date" >(on date: 2025.05)</p >
64
65
</header >
65
66
<div id =" features-table" >
66
67
<FeaturesTable data ={ featuresTableData } client:load />
@@ -76,6 +77,11 @@ const tags = [
76
77
77
78
<style lang =" scss" is:global >
78
79
#compare-page {
80
+ .product-section {
81
+ padding-top: 4rem !important; /* Match the 4rem padding from FlexibleSection */
82
+ padding-bottom: 4rem !important;
83
+ }
84
+
79
85
.contact {
80
86
width: 100%;
81
87
border-top: 1px solid var(--border-separator);
@@ -101,7 +107,15 @@ const tags = [
101
107
h1 {
102
108
@include typography(section);
103
109
text-align: left;
104
- padding-bottom: 50px;
110
+ padding-bottom: 0.5rem; // reduced padding to accommodate date text
111
+ }
112
+
113
+ .compare-date {
114
+ font-size: 0.875rem;
115
+ color: var(--text-secondary, #666);
116
+ text-align: left;
117
+ margin-top: 0.25rem;
118
+ margin-bottom: 2rem;
105
119
}
106
120
}
107
121
</style >
Original file line number Diff line number Diff line change @@ -385,7 +385,6 @@ const tags = [
385
385
386
386
.section-title {
387
387
@include typography(section); // Change back to section typography for main sections
388
- border-bottom: 1px solid var(--text-body-primary);
389
388
padding-bottom: 1rem;
390
389
margin-bottom: 2rem;
391
390
}
Original file line number Diff line number Diff line change @@ -363,6 +363,7 @@ const tags = [
363
363
text-decoration: none; // Remove default link styling
364
364
color: inherit; // Keep text color
365
365
padding: 20px;
366
+ background-color: #f9f9f9;
366
367
border-width: 0 0 2px 0;
367
368
border-style: solid;
368
369
border-color: #f5f5f5;
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ import BookDemoForm from "../components/form/BookDemoForm/BookDemoForm";
7
7
import PricingHeaderContent from " ../data/pricing/page-header.mdx" ;
8
8
import { PricingCards } from " ../components/pricing/Pricing" ;
9
9
import ContentLimiter from " ../components/ContentLimiter.astro" ;
10
+ import FlexibleSection from " ../components/FlexibleSection.astro" ;
10
11
11
12
const pricingCollection = await getCollection (" pricing" );
12
13
// sort and map to prop type
@@ -64,7 +65,13 @@ const tags = [
64
65
<main id =" pricing-page" >
65
66
<ContentLimiter contentId =" pricing-tiers" maxWidth ={ 1100 } >
66
67
<header >
67
- <h1 >Pricing</h1 >
68
+ <FlexibleSection
69
+ title =" Pricing"
70
+ titleTag =" h1"
71
+ id =" blog-header"
72
+ variant =" white"
73
+ theme =" light"
74
+ >
68
75
<PricingHeaderContent />
69
76
</header >
70
77
<PricingCards client:load data ={ pricingData } />
@@ -141,11 +148,11 @@ const tags = [
141
148
}
142
149
143
150
#pricing-tiers {
144
- padding-top: calc(100px - var(--nav-height));
151
+ // padding-top: calc(100px - var(--nav-height));
145
152
padding-bottom: calc(100px - var(--nav-height));
146
153
147
154
@include break-up(md) {
148
- padding-top: calc(200px - var(--nav-height));
155
+ // padding-top: calc(200px - var(--nav-height));
149
156
padding-bottom: calc(200px - var(--nav-height));
150
157
}
151
158
You can’t perform that action at this time.
0 commit comments