@eox/pages-theme-esa 0.6.3 → 0.7.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/Layout.vue +13 -6
- package/src/style.css +8 -4
package/package.json
CHANGED
package/src/Layout.vue
CHANGED
|
@@ -59,7 +59,7 @@ onMounted(async () => {
|
|
|
59
59
|
if (href.startsWith("http") || target === "_blank") {
|
|
60
60
|
window.open(href, target).focus();
|
|
61
61
|
} else {
|
|
62
|
-
router.go(href);
|
|
62
|
+
router.go(withBase(href));
|
|
63
63
|
}
|
|
64
64
|
};
|
|
65
65
|
|
|
@@ -101,14 +101,14 @@ onMounted(async () => {
|
|
|
101
101
|
<ClientOnly>
|
|
102
102
|
<slot name="layout-top"></slot>
|
|
103
103
|
<esa-menu
|
|
104
|
-
.menuItems="theme.nav.map((n) => ({ title: n.text, href:
|
|
104
|
+
.menuItems="theme.nav.map((n) => ({ title: n.text, href: n.link }))"
|
|
105
105
|
:enable-login="theme.login"
|
|
106
106
|
></esa-menu>
|
|
107
107
|
<esa-header></esa-header>
|
|
108
108
|
<esa-navbar
|
|
109
|
-
:brand-logo="theme.logo"
|
|
109
|
+
:brand-logo="withBase(theme.logo)"
|
|
110
110
|
:brand-title="site.title"
|
|
111
|
-
.menuItems="theme.nav.map((n) => ({ title: n.text, href:
|
|
111
|
+
.menuItems="theme.nav.map((n) => ({ title: n.text, href: n.link }))"
|
|
112
112
|
:enable-login="theme.login"
|
|
113
113
|
></esa-navbar>
|
|
114
114
|
</ClientOnly>
|
|
@@ -121,10 +121,10 @@ onMounted(async () => {
|
|
|
121
121
|
:background-image="frontmatter.hero.background"
|
|
122
122
|
:underline="frontmatter.hero.tagline"
|
|
123
123
|
:cta="frontmatter.hero.actions?.[0]"
|
|
124
|
-
:cta-link="
|
|
124
|
+
:cta-link="frontmatter.hero.actions?.[0]?.link"
|
|
125
125
|
:cta-text="frontmatter.hero.actions?.[0]?.text"
|
|
126
126
|
:alt="frontmatter.hero.actions?.[1]"
|
|
127
|
-
:alt-link="
|
|
127
|
+
:alt-link="frontmatter.hero.actions?.[1]?.link"
|
|
128
128
|
:alt-text="frontmatter.hero.actions?.[1]?.text"
|
|
129
129
|
:image="frontmatter.hero.image"
|
|
130
130
|
></esa-cover>
|
|
@@ -176,6 +176,13 @@ onMounted(async () => {
|
|
|
176
176
|
></esa-cookies>
|
|
177
177
|
</ClientOnly>
|
|
178
178
|
</template>
|
|
179
|
+
<template #not-found>
|
|
180
|
+
<section class="blue" style="margin-top: var(--vp-nav-height);">
|
|
181
|
+
<h1>404</h1>
|
|
182
|
+
<p>Page not found</p>
|
|
183
|
+
<a class="VPButton cta" href="/">Go to Home</a>
|
|
184
|
+
</section>
|
|
185
|
+
</template>
|
|
179
186
|
</Layout>
|
|
180
187
|
</template>
|
|
181
188
|
|
package/src/style.css
CHANGED
|
@@ -178,12 +178,16 @@ section > p {
|
|
|
178
178
|
padding: 5px 71px 5px 30px !important;
|
|
179
179
|
border-radius: 2px !important;
|
|
180
180
|
transition: all 0.25s ease;
|
|
181
|
-
font-weight: 700;
|
|
182
|
-
font-
|
|
183
|
-
font-
|
|
181
|
+
/* font-weight: 700; */
|
|
182
|
+
font-weight: 500;
|
|
183
|
+
/* font-family: "NotesESAbold", sans-serif; */
|
|
184
|
+
font-family: Arial, sans-serif;
|
|
185
|
+
/* font-size: 1rem !important; */
|
|
186
|
+
font-size: 0.75rem !important;
|
|
184
187
|
line-height: 2.5rem !important;
|
|
185
188
|
text-transform: uppercase;
|
|
186
|
-
letter-spacing: 1.6px;
|
|
189
|
+
/* letter-spacing: 1.6px; */
|
|
190
|
+
letter-spacing: 0.35rem;
|
|
187
191
|
cursor: pointer;
|
|
188
192
|
height: 50px;
|
|
189
193
|
}
|