@eox/pages-theme-esa 0.2.2 → 0.2.3

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.2",
3
+ "version": "0.2.3",
4
4
  "type": "module",
5
5
  "description": "Vitepress Theme with ESA branding",
6
6
  "main": "src/index.js",
package/src/Home.vue CHANGED
@@ -7,8 +7,12 @@ const { frontmatter, theme } = useData();
7
7
  <ClientOnly>
8
8
  <esa-cover
9
9
  :overline="frontmatter.hero.name"
10
+ :underline="frontmatter.hero.underline"
10
11
  :title="frontmatter.hero.text"
11
12
  :background-image="frontmatter.hero.image.src"
13
+ :cta="frontmatter.hero.cta"
14
+ :cta-text="frontmatter.hero.cta?.text"
15
+ :cta-link="frontmatter.hero.cta?.link"
12
16
  ></esa-cover>
13
17
  <esa-gateway
14
18
  v-if="theme.gateway"
package/src/esa.css CHANGED
@@ -7,7 +7,7 @@ body.loaded {
7
7
  }
8
8
 
9
9
  /* anchor tags*/
10
- .container a {
10
+ .container a:not(.cta) {
11
11
  all: unset;
12
12
  color: white;
13
13
  cursor: pointer;
@@ -15,7 +15,7 @@ body.loaded {
15
15
  transition: all 0.5s ease;
16
16
  border-bottom: 0.2rem solid white;
17
17
  }
18
- .container a:hover {
18
+ .container a:not(.cta) {
19
19
  padding-bottom: 0.5rem;
20
20
  background: none;
21
21
  color: white;
@@ -80,7 +80,3 @@ body.loaded {
80
80
  .light a {
81
81
  border-bottom: 0.2rem solid #003247;
82
82
  }
83
-
84
- section#site-footer {
85
- margin-top: 0;
86
- }
package/src/index.js CHANGED
@@ -16,6 +16,8 @@ export default {
16
16
  app.use(plugin4);
17
17
  const plugin5 = await import("@eox/esa-ui/components/cover.js");
18
18
  app.use(plugin5);
19
+ const cta = await import("@eox/esa-ui/components/cta.js");
20
+ app.use(cta);
19
21
  const plugin6 = await import("@eox/esa-ui/components/main-section.js");
20
22
  app.use(plugin6);
21
23
  const plugin7 = await import("@eox/esa-ui/components/cookies.js");