@eox/pages-theme-esa 0.6.3 → 0.7.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 +9 -2
- 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(!href.startsWith(site.value.base) ? withBase(href) : href);
|
|
63
63
|
}
|
|
64
64
|
};
|
|
65
65
|
|
|
@@ -106,7 +106,7 @@ onMounted(async () => {
|
|
|
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
111
|
.menuItems="theme.nav.map((n) => ({ title: n.text, href: withBase(n.link) }))"
|
|
112
112
|
:enable-login="theme.login"
|
|
@@ -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="withBase('/')">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
|
}
|