@eox/pages-theme-esa 0.2.9 → 0.2.10

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-esa",
3
- "version": "0.2.9",
3
+ "version": "0.2.10",
4
4
  "type": "module",
5
5
  "description": "Vitepress Theme with ESA branding",
6
6
  "main": "src/index.js",
package/src/Home.vue CHANGED
@@ -14,10 +14,6 @@ const { frontmatter, theme } = useData();
14
14
  :cta-text="frontmatter.hero.cta?.text"
15
15
  :cta-link="frontmatter.hero.cta?.link"
16
16
  ></esa-cover>
17
- <esa-gateway
18
- v-if="theme.gateway"
19
- .items="theme.gateway"
20
- ></esa-gateway>
21
17
  </ClientOnly>
22
18
  <main>
23
19
  <div class="container">
package/src/Layout.vue CHANGED
@@ -67,6 +67,10 @@ onMounted(async () => {
67
67
  <Home v-else-if="frontmatter.layout === 'home'" />
68
68
  <Page v-else />
69
69
  <ClientOnly>
70
+ <esa-gateway
71
+ v-if="theme.gateway"
72
+ .items="theme.gateway"
73
+ ></esa-gateway>
70
74
  <esa-footer
71
75
  :title="theme.footer.title"
72
76
  :description="theme.footer.description"
package/src/index.js CHANGED
@@ -28,6 +28,8 @@ export default {
28
28
  app.use(roadmap);
29
29
  const capabilities = await import("@eox/esa-ui/components/capabilities.js");
30
30
  app.use(capabilities);
31
+ const card = await import("@eox/esa-ui/components/card.js");
32
+ app.use(card);
31
33
  const plugin9 = await import("@eox/esa-ui/css/main.css");
32
34
  app.use(plugin9);
33
35
  }