@eox/pages-theme-esa 0.1.1 → 0.2.0
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/Home.vue +6 -4
- package/src/index.js +3 -1
package/package.json
CHANGED
package/src/Home.vue
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script setup>
|
|
2
2
|
import { useData } from "vitepress";
|
|
3
|
-
const { frontmatter } = useData();
|
|
3
|
+
const { frontmatter, theme } = useData();
|
|
4
4
|
</script>
|
|
5
5
|
|
|
6
6
|
<template>
|
|
@@ -10,13 +10,15 @@ const { frontmatter } = useData();
|
|
|
10
10
|
:title="frontmatter.hero.text"
|
|
11
11
|
:background-image="frontmatter.hero.image.src"
|
|
12
12
|
></esa-cover>
|
|
13
|
+
<esa-gateway
|
|
14
|
+
v-if="theme.sidebar"
|
|
15
|
+
.items="theme.sidebar"
|
|
16
|
+
></esa-gateway>
|
|
13
17
|
</ClientOnly>
|
|
14
18
|
<main class="u-py-5">
|
|
15
19
|
<div class="container">
|
|
16
20
|
<div class="l-row">
|
|
17
|
-
<div
|
|
18
|
-
class="l-col-12 l-col-sm-8 l-offset-sm-1 l-col-md-6 l-col-lg-8 l-offset-lg-2"
|
|
19
|
-
>
|
|
21
|
+
<div class="l-col-10 l-col-lg-8 u-mx-auto">
|
|
20
22
|
<Content />
|
|
21
23
|
</div>
|
|
22
24
|
</div>
|
package/src/index.js
CHANGED
|
@@ -20,8 +20,10 @@ export default {
|
|
|
20
20
|
app.use(plugin6);
|
|
21
21
|
const plugin7 = await import("@eox/esa-ui/components/cookies.js");
|
|
22
22
|
app.use(plugin7);
|
|
23
|
-
const plugin8 = await import("@eox/esa-ui/
|
|
23
|
+
const plugin8 = await import("@eox/esa-ui/components/gateway.js");
|
|
24
24
|
app.use(plugin8);
|
|
25
|
+
const plugin9 = await import("@eox/esa-ui/css/main.css");
|
|
26
|
+
app.use(plugin9);
|
|
25
27
|
}
|
|
26
28
|
},
|
|
27
29
|
};
|