@eox/pages-theme-eox 0.9.4 → 0.10.1
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 +1 -1
- package/src/Layout.vue +1 -0
- package/src/components/FeatureSection.vue +5 -4
- package/src/components/NavBar.vue +1 -1
- package/src/components/NewsBanner.vue +25 -0
- package/src/index.js +2 -0
- package/src/style.css +2 -0
package/package.json
CHANGED
package/src/Layout.vue
CHANGED
|
@@ -119,11 +119,12 @@ const props = defineProps([
|
|
|
119
119
|
background: var(--surface-container-low);
|
|
120
120
|
}
|
|
121
121
|
.feature-section.dark .holder {
|
|
122
|
+
background: var(--primary);
|
|
122
123
|
background: radial-gradient(
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
var(--primary)
|
|
126
|
-
|
|
124
|
+
74.48% 130.95% at 50% -12.27%,
|
|
125
|
+
hsl(from var(--primary) h s calc(l + 7)) 0%,
|
|
126
|
+
var(--primary) 45%,
|
|
127
|
+
hsl(from var(--primary) h s calc(l - 20)) 100%
|
|
127
128
|
);
|
|
128
129
|
color: #fff;
|
|
129
130
|
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div
|
|
3
|
+
class="news-banner primary center-align middle-align small-padding"
|
|
4
|
+
v-html="content"
|
|
5
|
+
></div>
|
|
6
|
+
</template>
|
|
7
|
+
|
|
8
|
+
<script setup>
|
|
9
|
+
import { defineProps } from "vue";
|
|
10
|
+
const props = defineProps(["content"]);
|
|
11
|
+
</script>
|
|
12
|
+
|
|
13
|
+
<style scoped>
|
|
14
|
+
.news-banner {
|
|
15
|
+
position: fixed;
|
|
16
|
+
top: calc(var(--vp-nav-height) - 2px);
|
|
17
|
+
z-index: 99;
|
|
18
|
+
background: color-mix(in srgb, var(--primary) 70%, transparent) !important;
|
|
19
|
+
width: 100%;
|
|
20
|
+
transition: all 0.25s ease;
|
|
21
|
+
backdrop-filter: blur(5px);
|
|
22
|
+
pointer-events: none;
|
|
23
|
+
gap: 0.5rem;
|
|
24
|
+
}
|
|
25
|
+
</style>
|
package/src/index.js
CHANGED
|
@@ -7,6 +7,7 @@ import FeaturesGallery from "./components/FeaturesGallery.vue";
|
|
|
7
7
|
import PricingTable from "./components/PricingTable.vue";
|
|
8
8
|
import CTASection from "./components/CTASection.vue";
|
|
9
9
|
import LogoSection from "./components/LogoSection.vue";
|
|
10
|
+
import NewsBanner from "./components/NewsBanner.vue";
|
|
10
11
|
import CookieBanner from "./components/CookieBanner.vue";
|
|
11
12
|
import CookieSettings from "./components/CookieSettings.vue";
|
|
12
13
|
import NotFound from "./components/NotFound.vue";
|
|
@@ -25,6 +26,7 @@ export default {
|
|
|
25
26
|
app.component("PricingTable", PricingTable);
|
|
26
27
|
app.component("CTASection", CTASection);
|
|
27
28
|
app.component("LogoSection", LogoSection);
|
|
29
|
+
app.component("NewsBanner", NewsBanner);
|
|
28
30
|
app.component("CookieBanner", CookieBanner);
|
|
29
31
|
app.component("CookieSettings", CookieSettings);
|
|
30
32
|
app.component("NotFound", NotFound);
|