@eox/pages-theme-eox 0.5.2 → 0.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eox/pages-theme-eox",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Vitepress Theme with EOX branding",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@eox/eslint-config": "^2.0.0",
|
|
14
|
-
"@eox/ui": "^0.
|
|
14
|
+
"@eox/ui": "^0.3.4",
|
|
15
15
|
"vitepress": "^1.6.3"
|
|
16
16
|
}
|
|
17
17
|
}
|
package/src/Layout.vue
CHANGED
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
:rel="item.rel"
|
|
53
53
|
:class="
|
|
54
54
|
item.action
|
|
55
|
-
? `button responsive large ${item.action === 'primary' || item.action === 'secondary' ?
|
|
55
|
+
? `button responsive large ${item.action} ${item.action === 'primary' || item.action === 'secondary' ? 'medium-elevate' : 'border no-elevate'}`
|
|
56
56
|
: 'primary-text'
|
|
57
57
|
"
|
|
58
58
|
>
|
|
@@ -99,11 +99,11 @@
|
|
|
99
99
|
<li v-for="item in theme.nav.filter((item) => item.action)">
|
|
100
100
|
<a
|
|
101
101
|
class="button right-align"
|
|
102
|
-
:class="
|
|
102
|
+
:class="`${item.action} ${
|
|
103
103
|
item.action === 'primary' || item.action === 'secondary'
|
|
104
104
|
? item.action
|
|
105
105
|
: 'border'
|
|
106
|
-
"
|
|
106
|
+
}`"
|
|
107
107
|
:href="withBase(item.link)"
|
|
108
108
|
:target="item.target"
|
|
109
109
|
:rel="item.rel"
|
|
@@ -136,6 +136,15 @@
|
|
|
136
136
|
frameborder="0"
|
|
137
137
|
allowfullscreen
|
|
138
138
|
/>
|
|
139
|
+
<video
|
|
140
|
+
v-else-if="frontmatter.hero.video"
|
|
141
|
+
class="hero-image large-elevate small-round"
|
|
142
|
+
:src="withBase(frontmatter.hero.video.src)"
|
|
143
|
+
style="grid-area: image; aspect-ratio: 16/9"
|
|
144
|
+
autoplay
|
|
145
|
+
muted
|
|
146
|
+
loop
|
|
147
|
+
/>
|
|
139
148
|
<img
|
|
140
149
|
v-else-if="frontmatter.hero.image"
|
|
141
150
|
class="hero-image large-elevate small-round"
|
|
@@ -284,7 +293,8 @@ if (!import.meta.env.SSR) {
|
|
|
284
293
|
box-shadow: none;
|
|
285
294
|
}
|
|
286
295
|
.Layout.layout-home .top-nav.at-top .nav-desktop .button.primary,
|
|
287
|
-
.Layout.layout-home .top-nav.at-top .nav-desktop .button.secondary
|
|
296
|
+
.Layout.layout-home .top-nav.at-top .nav-desktop .button.secondary,
|
|
297
|
+
.Layout.layout-home .top-nav.at-top .nav-desktop .button.alt {
|
|
288
298
|
display: none;
|
|
289
299
|
}
|
|
290
300
|
.Layout.layout-home .top-nav.at-top nav.actions {
|
|
@@ -1,45 +1,43 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<section
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
>
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
<
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
>
|
|
38
|
-
</div>
|
|
39
|
-
<div class="large-space"></div>
|
|
40
|
-
<div class="large-space"></div>
|
|
41
|
-
<div class="large-space"></div>
|
|
2
|
+
<section
|
|
3
|
+
class="cta-section center-align full-width"
|
|
4
|
+
:class="
|
|
5
|
+
dark !== undefined
|
|
6
|
+
? 'primary primary-gradient-background'
|
|
7
|
+
: 'surface-container-low'
|
|
8
|
+
"
|
|
9
|
+
>
|
|
10
|
+
<div class="large-space"></div>
|
|
11
|
+
<div class="large-space"></div>
|
|
12
|
+
<div class="holder large-padding">
|
|
13
|
+
<h3 class="large bold">
|
|
14
|
+
{{ title }}
|
|
15
|
+
</h3>
|
|
16
|
+
<p class="large-text">{{ tagline }}</p>
|
|
17
|
+
<a
|
|
18
|
+
v-if="primaryButton"
|
|
19
|
+
class="button extra small-margin"
|
|
20
|
+
:class="dark !== undefined ? 'surface' : 'primary'"
|
|
21
|
+
:href="primaryLink"
|
|
22
|
+
>{{ primaryButton }} <i class="mdi mdi-arrow-right"></i
|
|
23
|
+
></a>
|
|
24
|
+
<a
|
|
25
|
+
v-if="secondaryButton"
|
|
26
|
+
class="button extra small-margin secondary"
|
|
27
|
+
:href="secondaryLink"
|
|
28
|
+
>{{ secondaryButton }}<i class="mdi mdi-arrow-right"></i
|
|
29
|
+
></a>
|
|
30
|
+
<a
|
|
31
|
+
v-if="altButton"
|
|
32
|
+
class="button border extra small-margin"
|
|
33
|
+
:class="dark !== undefined ? 'white-text' : ''"
|
|
34
|
+
:href="altLink"
|
|
35
|
+
>{{ altButton }}</a
|
|
36
|
+
>
|
|
42
37
|
</div>
|
|
38
|
+
<div class="large-space"></div>
|
|
39
|
+
<div class="large-space"></div>
|
|
40
|
+
<div class="large-space"></div>
|
|
43
41
|
</section>
|
|
44
42
|
</template>
|
|
45
43
|
|
|
@@ -50,10 +50,19 @@
|
|
|
50
50
|
</div>
|
|
51
51
|
</div>
|
|
52
52
|
<img
|
|
53
|
+
v-if="image"
|
|
53
54
|
:src="withBase(image)"
|
|
54
55
|
:alt="title"
|
|
55
56
|
class="small-round medium-elevate"
|
|
56
57
|
/>
|
|
58
|
+
<video
|
|
59
|
+
v-if="video"
|
|
60
|
+
:src="withBase(video)"
|
|
61
|
+
class="small-round medium-elevate"
|
|
62
|
+
autoplay
|
|
63
|
+
muted
|
|
64
|
+
loop
|
|
65
|
+
/>
|
|
57
66
|
</div>
|
|
58
67
|
</section>
|
|
59
68
|
</template>
|
|
@@ -64,6 +73,7 @@ const props = defineProps([
|
|
|
64
73
|
"dark",
|
|
65
74
|
"icon",
|
|
66
75
|
"image",
|
|
76
|
+
"video",
|
|
67
77
|
"landing",
|
|
68
78
|
"primaryButton",
|
|
69
79
|
"primaryLink",
|
|
@@ -24,8 +24,8 @@ const featuresExcerpts = features.map((f) => {
|
|
|
24
24
|
</script>
|
|
25
25
|
|
|
26
26
|
<template>
|
|
27
|
-
<
|
|
28
|
-
|
|
27
|
+
<section class="primary primary-gradient-background full-width">
|
|
28
|
+
<div class="large-space"></div>
|
|
29
29
|
<div class="large-space"></div>
|
|
30
30
|
<div class="holder large-padding">
|
|
31
31
|
<h5>More {{ site.title }} features:</h5>
|
|
@@ -45,9 +45,9 @@ const featuresExcerpts = features.map((f) => {
|
|
|
45
45
|
:src="withBase(feature.image)"
|
|
46
46
|
/>
|
|
47
47
|
<div class="max">
|
|
48
|
-
<
|
|
48
|
+
<h6 class="small">
|
|
49
49
|
<strong>{{ feature.title }}</strong>
|
|
50
|
-
</
|
|
50
|
+
</h6>
|
|
51
51
|
<p>{{ feature.description }}</p>
|
|
52
52
|
<div class="max"></div>
|
|
53
53
|
<nav>
|
|
@@ -63,7 +63,8 @@ const featuresExcerpts = features.map((f) => {
|
|
|
63
63
|
</div>
|
|
64
64
|
</div>
|
|
65
65
|
<div class="large-space"></div>
|
|
66
|
-
|
|
66
|
+
<div class="large-space"></div>
|
|
67
|
+
</section>
|
|
67
68
|
</template>
|
|
68
69
|
|
|
69
70
|
<style scoped>
|
|
@@ -224,7 +224,8 @@
|
|
|
224
224
|
</template>
|
|
225
225
|
|
|
226
226
|
<p class="small grey-text m-4" v-if="showVAT">
|
|
227
|
-
* All prices are given excluding VAT. Prices are valid until
|
|
227
|
+
* All prices are given excluding VAT. Prices are valid until
|
|
228
|
+
{{ showVAT }}.
|
|
228
229
|
</p>
|
|
229
230
|
</div>
|
|
230
231
|
</template>
|
|
@@ -238,7 +239,7 @@ export default {
|
|
|
238
239
|
default: () => ({
|
|
239
240
|
title: "Pricing Options",
|
|
240
241
|
showSales: true,
|
|
241
|
-
showVAT:
|
|
242
|
+
showVAT: "2025-06-30",
|
|
242
243
|
options: [],
|
|
243
244
|
plans: [],
|
|
244
245
|
details: [],
|
|
@@ -250,7 +251,7 @@ export default {
|
|
|
250
251
|
title: "",
|
|
251
252
|
showSales: true,
|
|
252
253
|
contactLink: "",
|
|
253
|
-
showVAT:
|
|
254
|
+
showVAT: "2025-06-30",
|
|
254
255
|
localOptions: [],
|
|
255
256
|
localPlans: [],
|
|
256
257
|
localDetails: [],
|
package/src/style.css
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@import "@eox/ui/style.css";
|
|
2
2
|
|
|
3
3
|
:root {
|
|
4
|
-
--vp-nav-height:
|
|
4
|
+
--vp-nav-height: 90px;
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
body {
|
|
@@ -99,6 +99,14 @@ body {
|
|
|
99
99
|
font-size: 1.75rem;
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
+
.VPHome .vp-doc h1,
|
|
103
|
+
.VPHome .vp-doc h2,
|
|
104
|
+
.VPHome .vp-doc h3,
|
|
105
|
+
.VPHome .vp-doc h4,
|
|
106
|
+
.VPHome .vp-doc h5 {
|
|
107
|
+
line-height: normal;
|
|
108
|
+
}
|
|
109
|
+
|
|
102
110
|
.VPHome .vp-doc h1 a.header-anchor,
|
|
103
111
|
.VPHome .vp-doc h2 a.header-anchor,
|
|
104
112
|
.VPHome .vp-doc h3 a.header-anchor,
|
|
@@ -205,8 +213,7 @@ button.text:hover,
|
|
|
205
213
|
background: var(--surface-bright);
|
|
206
214
|
}
|
|
207
215
|
@media (min-width: 1024px) {
|
|
208
|
-
.feature-section.landing
|
|
209
|
-
.cta-section {
|
|
216
|
+
.feature-section.landing {
|
|
210
217
|
padding: 64px;
|
|
211
218
|
padding: clamp(64px, 10%, 128px);
|
|
212
219
|
}
|
|
@@ -301,3 +308,8 @@ button.text:hover,
|
|
|
301
308
|
hsl(from var(--primary) h s calc(l - 20)) 100%
|
|
302
309
|
) !important;
|
|
303
310
|
}
|
|
311
|
+
|
|
312
|
+
header[class*="background"],
|
|
313
|
+
section[class*="background"] {
|
|
314
|
+
border-radius: 0 !important;
|
|
315
|
+
}
|