@nuxtify/pages 0.1.0 → 0.2.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/README.md +200 -203
- package/dist/module.json +4 -4
- package/dist/module.mjs +1 -1
- package/dist/runtime/components/EmailSubscribeForm.vue +133 -156
- package/dist/runtime/components/EmailSubscribeForm.vue.d.ts +94 -0
- package/dist/runtime/components/FooterCallToAction.vue +32 -34
- package/dist/runtime/components/FooterCallToAction.vue.d.ts +2 -0
- package/dist/runtime/components/app/AppAnnouncementBar.vue +31 -35
- package/dist/runtime/components/app/AppAnnouncementBar.vue.d.ts +2 -0
- package/dist/runtime/components/app/AppBar.vue +116 -120
- package/dist/runtime/components/app/AppBar.vue.d.ts +2 -0
- package/dist/runtime/components/app/AppDialog.vue +34 -36
- package/dist/runtime/components/app/AppDialog.vue.d.ts +2 -0
- package/dist/runtime/components/app/AppFooter.vue +136 -142
- package/dist/runtime/components/app/AppFooter.vue.d.ts +2 -0
- package/dist/runtime/components/app/AppLoading.vue +10 -10
- package/dist/runtime/components/app/AppLoading.vue.d.ts +2 -0
- package/dist/runtime/components/app/AppLogo.vue +26 -40
- package/dist/runtime/components/app/AppLogo.vue.d.ts +23 -0
- package/dist/runtime/components/app/AppNavigationDrawer.vue +93 -97
- package/dist/runtime/components/app/AppNavigationDrawer.vue.d.ts +2 -0
- package/dist/runtime/components/app/AppToast.vue +12 -14
- package/dist/runtime/components/app/AppToast.vue.d.ts +2 -0
- package/dist/runtime/layouts/DefaultLayout.vue +27 -29
- package/dist/runtime/layouts/DefaultLayout.vue.d.ts +12 -0
- package/dist/runtime/pages/DynamicSlug.vue +17 -19
- package/dist/runtime/pages/DynamicSlug.vue.d.ts +2 -0
- package/dist/runtime/pages/IndexPage.vue +14 -18
- package/dist/runtime/pages/IndexPage.vue.d.ts +2 -0
- package/dist/runtime/server/tsconfig.json +3 -3
- package/dist/runtime/utils/formRules.d.ts +1 -0
- package/dist/runtime/utils/formRules.js +1 -0
- package/dist/types.d.mts +2 -2
- package/package.json +65 -60
- package/dist/module.cjs +0 -5
- package/dist/module.d.ts +0 -139
- package/dist/types.d.ts +0 -7
|
@@ -1,126 +1,122 @@
|
|
|
1
|
-
<script setup
|
|
2
|
-
import { useDisplay, useDrawer, useNuxtifyConfig, mdiArrowTopRight, mdiClose, mdiMenu } from
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
|
|
9
|
-
// Navigation
|
|
10
|
-
const primaryNavLinks = nuxtifyConfig.navigation?.primary
|
|
11
|
-
const secondaryNavLinks = nuxtifyConfig.navigation?.secondary
|
|
12
|
-
const featuredSecondaryLink = secondaryNavLinks?.slice(0, 1)[0] // first link gets featured
|
|
1
|
+
<script setup>
|
|
2
|
+
import { useDisplay, useDrawer, useNuxtifyConfig, mdiArrowTopRight, mdiClose, mdiMenu } from "#imports";
|
|
3
|
+
const { smAndDown } = useDisplay();
|
|
4
|
+
const nuxtifyConfig = useNuxtifyConfig();
|
|
5
|
+
const drawer = useDrawer();
|
|
6
|
+
const primaryNavLinks = nuxtifyConfig.navigation?.primary;
|
|
7
|
+
const secondaryNavLinks = nuxtifyConfig.navigation?.secondary;
|
|
8
|
+
const featuredSecondaryLink = secondaryNavLinks?.slice(0, 1)[0];
|
|
13
9
|
</script>
|
|
14
10
|
|
|
15
11
|
<template>
|
|
16
|
-
<v-app-bar
|
|
17
|
-
:density="smAndDown ? 'compact' : 'default'"
|
|
18
|
-
flat
|
|
19
|
-
class="px-sm-2 bottom-border"
|
|
20
|
-
>
|
|
21
|
-
<template #prepend>
|
|
22
|
-
<!-- Logo -->
|
|
23
|
-
<NuxtLink
|
|
24
|
-
to="/"
|
|
25
|
-
class="ml-2"
|
|
26
|
-
>
|
|
27
|
-
<AppLogo />
|
|
28
|
-
</NuxtLink>
|
|
29
|
-
</template>
|
|
30
|
-
|
|
31
|
-
<!-- Desktop navigation -->
|
|
32
|
-
<div v-if="!smAndDown">
|
|
33
|
-
<!-- Primary links -->
|
|
34
|
-
<v-btn
|
|
35
|
-
v-for="link in primaryNavLinks"
|
|
36
|
-
:key="link.text"
|
|
37
|
-
:to="link.to"
|
|
38
|
-
:href="link.href"
|
|
39
|
-
:active="false"
|
|
40
|
-
:prepend-icon="link.icon"
|
|
41
|
-
slim
|
|
42
|
-
exact
|
|
43
|
-
:ripple="false"
|
|
44
|
-
size="large"
|
|
45
|
-
color="unset"
|
|
46
|
-
:target="link.openInNew ? '_blank' :
|
|
47
|
-
:rel="link.openInNew ? 'noopener nofollow' :
|
|
48
|
-
class="nav-items mx-2"
|
|
49
|
-
>
|
|
50
|
-
{{ link.text }}
|
|
51
|
-
<v-icon
|
|
52
|
-
v-if="link.openInNew"
|
|
53
|
-
:icon="mdiArrowTopRight"
|
|
54
|
-
size="x-small"
|
|
55
|
-
color="grey"
|
|
56
|
-
class="ml-1"
|
|
57
|
-
/>
|
|
58
|
-
</v-btn>
|
|
59
|
-
</div>
|
|
60
|
-
|
|
61
|
-
<template #append>
|
|
62
|
-
<!-- Mobile navigation -->
|
|
63
|
-
<v-app-bar-nav-icon
|
|
64
|
-
v-if="smAndDown"
|
|
65
|
-
:icon="drawer ? mdiClose : mdiMenu"
|
|
66
|
-
color="primary"
|
|
67
|
-
aria-label="Navigation Menu"
|
|
68
|
-
@click="drawer = !drawer"
|
|
69
|
-
/>
|
|
70
|
-
|
|
71
|
-
<!-- Desktop navigation -->
|
|
72
|
-
<nav
|
|
73
|
-
v-else
|
|
74
|
-
class="d-flex align-center"
|
|
75
|
-
>
|
|
76
|
-
<!-- Secondary links -->
|
|
77
|
-
<v-btn
|
|
78
|
-
v-for="link in secondaryNavLinks?.slice(1).reverse()"
|
|
79
|
-
:key="link.text"
|
|
80
|
-
:to="link.to"
|
|
81
|
-
:href="link.href"
|
|
82
|
-
:prepend-icon="link.icon"
|
|
83
|
-
:active="false"
|
|
84
|
-
size="large"
|
|
85
|
-
color="unset"
|
|
86
|
-
:target="link.openInNew ? '_blank' :
|
|
87
|
-
:rel="link.openInNew ? 'noopener nofollow' :
|
|
88
|
-
class="nav-items mx-2"
|
|
89
|
-
>
|
|
90
|
-
{{ link.text }}
|
|
91
|
-
<v-icon
|
|
92
|
-
v-if="link.openInNew"
|
|
93
|
-
:icon="mdiArrowTopRight"
|
|
94
|
-
size="x-small"
|
|
95
|
-
color="grey"
|
|
96
|
-
class="ml-1"
|
|
97
|
-
/>
|
|
98
|
-
</v-btn>
|
|
99
|
-
|
|
100
|
-
<!-- Featured secondary link -->
|
|
101
|
-
<v-btn
|
|
102
|
-
v-if="featuredSecondaryLink?.text"
|
|
103
|
-
:to="featuredSecondaryLink.to"
|
|
104
|
-
:href="featuredSecondaryLink.href"
|
|
105
|
-
:prepend-icon="featuredSecondaryLink.icon"
|
|
106
|
-
:active="false"
|
|
107
|
-
variant="flat"
|
|
108
|
-
size="large"
|
|
109
|
-
:target="featuredSecondaryLink.openInNew ? '_blank' :
|
|
110
|
-
:rel="featuredSecondaryLink.openInNew ? 'noopener nofollow' :
|
|
111
|
-
class="mx-2"
|
|
112
|
-
>
|
|
113
|
-
{{ featuredSecondaryLink.text }}
|
|
114
|
-
<v-icon
|
|
115
|
-
v-if="featuredSecondaryLink.openInNew"
|
|
116
|
-
:icon="mdiArrowTopRight"
|
|
117
|
-
size="small"
|
|
118
|
-
class="ml-1"
|
|
119
|
-
/>
|
|
120
|
-
</v-btn>
|
|
121
|
-
</nav>
|
|
122
|
-
</template>
|
|
123
|
-
</v-app-bar>
|
|
12
|
+
<v-app-bar
|
|
13
|
+
:density="smAndDown ? 'compact' : 'default'"
|
|
14
|
+
flat
|
|
15
|
+
class="px-sm-2 bottom-border"
|
|
16
|
+
>
|
|
17
|
+
<template #prepend>
|
|
18
|
+
<!-- Logo -->
|
|
19
|
+
<NuxtLink
|
|
20
|
+
to="/"
|
|
21
|
+
class="ml-2"
|
|
22
|
+
>
|
|
23
|
+
<AppLogo />
|
|
24
|
+
</NuxtLink>
|
|
25
|
+
</template>
|
|
26
|
+
|
|
27
|
+
<!-- Desktop navigation -->
|
|
28
|
+
<div v-if="!smAndDown">
|
|
29
|
+
<!-- Primary links -->
|
|
30
|
+
<v-btn
|
|
31
|
+
v-for="link in primaryNavLinks"
|
|
32
|
+
:key="link.text"
|
|
33
|
+
:to="link.to"
|
|
34
|
+
:href="link.href"
|
|
35
|
+
:active="false"
|
|
36
|
+
:prepend-icon="link.icon"
|
|
37
|
+
slim
|
|
38
|
+
exact
|
|
39
|
+
:ripple="false"
|
|
40
|
+
size="large"
|
|
41
|
+
color="unset"
|
|
42
|
+
:target="link.openInNew ? '_blank' : void 0"
|
|
43
|
+
:rel="link.openInNew ? 'noopener nofollow' : void 0"
|
|
44
|
+
class="nav-items mx-2"
|
|
45
|
+
>
|
|
46
|
+
{{ link.text }}
|
|
47
|
+
<v-icon
|
|
48
|
+
v-if="link.openInNew"
|
|
49
|
+
:icon="mdiArrowTopRight"
|
|
50
|
+
size="x-small"
|
|
51
|
+
color="grey"
|
|
52
|
+
class="ml-1"
|
|
53
|
+
/>
|
|
54
|
+
</v-btn>
|
|
55
|
+
</div>
|
|
56
|
+
|
|
57
|
+
<template #append>
|
|
58
|
+
<!-- Mobile navigation -->
|
|
59
|
+
<v-app-bar-nav-icon
|
|
60
|
+
v-if="smAndDown"
|
|
61
|
+
:icon="drawer ? mdiClose : mdiMenu"
|
|
62
|
+
color="primary"
|
|
63
|
+
aria-label="Navigation Menu"
|
|
64
|
+
@click="drawer = !drawer"
|
|
65
|
+
/>
|
|
66
|
+
|
|
67
|
+
<!-- Desktop navigation -->
|
|
68
|
+
<nav
|
|
69
|
+
v-else
|
|
70
|
+
class="d-flex align-center"
|
|
71
|
+
>
|
|
72
|
+
<!-- Secondary links -->
|
|
73
|
+
<v-btn
|
|
74
|
+
v-for="link in secondaryNavLinks?.slice(1).reverse()"
|
|
75
|
+
:key="link.text"
|
|
76
|
+
:to="link.to"
|
|
77
|
+
:href="link.href"
|
|
78
|
+
:prepend-icon="link.icon"
|
|
79
|
+
:active="false"
|
|
80
|
+
size="large"
|
|
81
|
+
color="unset"
|
|
82
|
+
:target="link.openInNew ? '_blank' : void 0"
|
|
83
|
+
:rel="link.openInNew ? 'noopener nofollow' : void 0"
|
|
84
|
+
class="nav-items mx-2"
|
|
85
|
+
>
|
|
86
|
+
{{ link.text }}
|
|
87
|
+
<v-icon
|
|
88
|
+
v-if="link.openInNew"
|
|
89
|
+
:icon="mdiArrowTopRight"
|
|
90
|
+
size="x-small"
|
|
91
|
+
color="grey"
|
|
92
|
+
class="ml-1"
|
|
93
|
+
/>
|
|
94
|
+
</v-btn>
|
|
95
|
+
|
|
96
|
+
<!-- Featured secondary link -->
|
|
97
|
+
<v-btn
|
|
98
|
+
v-if="featuredSecondaryLink?.text"
|
|
99
|
+
:to="featuredSecondaryLink.to"
|
|
100
|
+
:href="featuredSecondaryLink.href"
|
|
101
|
+
:prepend-icon="featuredSecondaryLink.icon"
|
|
102
|
+
:active="false"
|
|
103
|
+
variant="flat"
|
|
104
|
+
size="large"
|
|
105
|
+
:target="featuredSecondaryLink.openInNew ? '_blank' : void 0"
|
|
106
|
+
:rel="featuredSecondaryLink.openInNew ? 'noopener nofollow' : void 0"
|
|
107
|
+
class="mx-2"
|
|
108
|
+
>
|
|
109
|
+
{{ featuredSecondaryLink.text }}
|
|
110
|
+
<v-icon
|
|
111
|
+
v-if="featuredSecondaryLink.openInNew"
|
|
112
|
+
:icon="mdiArrowTopRight"
|
|
113
|
+
size="small"
|
|
114
|
+
class="ml-1"
|
|
115
|
+
/>
|
|
116
|
+
</v-btn>
|
|
117
|
+
</nav>
|
|
118
|
+
</template>
|
|
119
|
+
</v-app-bar>
|
|
124
120
|
</template>
|
|
125
121
|
|
|
126
122
|
<style scoped>
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -1,40 +1,38 @@
|
|
|
1
|
-
<script setup
|
|
2
|
-
import { useDialog } from
|
|
3
|
-
|
|
4
|
-
// App state
|
|
5
|
-
const dialog = useDialog()
|
|
1
|
+
<script setup>
|
|
2
|
+
import { useDialog } from "#imports";
|
|
3
|
+
const dialog = useDialog();
|
|
6
4
|
</script>
|
|
7
5
|
|
|
8
6
|
<template>
|
|
9
|
-
<v-dialog
|
|
10
|
-
v-model="dialog.show"
|
|
11
|
-
width="500"
|
|
12
|
-
>
|
|
13
|
-
<v-card class="pa-2">
|
|
14
|
-
<v-card-title>{{ dialog.title }}</v-card-title>
|
|
15
|
-
|
|
16
|
-
<v-card-text class="ml-n2">
|
|
17
|
-
{{ dialog.message }}
|
|
18
|
-
</v-card-text>
|
|
19
|
-
|
|
20
|
-
<v-card-actions>
|
|
21
|
-
<v-spacer />
|
|
22
|
-
|
|
23
|
-
<v-btn
|
|
24
|
-
color="grey-darken-1"
|
|
25
|
-
@click="dialog.show = false"
|
|
26
|
-
>
|
|
27
|
-
{{ dialog.closeButtonText }}
|
|
28
|
-
</v-btn>
|
|
29
|
-
|
|
30
|
-
<v-btn
|
|
31
|
-
:color="dialog.action.buttonColor"
|
|
32
|
-
variant="flat"
|
|
33
|
-
@click="dialog.action.function"
|
|
34
|
-
>
|
|
35
|
-
{{ dialog.action.buttonText }}
|
|
36
|
-
</v-btn>
|
|
37
|
-
</v-card-actions>
|
|
38
|
-
</v-card>
|
|
39
|
-
</v-dialog>
|
|
7
|
+
<v-dialog
|
|
8
|
+
v-model="dialog.show"
|
|
9
|
+
width="500"
|
|
10
|
+
>
|
|
11
|
+
<v-card class="pa-2">
|
|
12
|
+
<v-card-title>{{ dialog.title }}</v-card-title>
|
|
13
|
+
|
|
14
|
+
<v-card-text class="ml-n2">
|
|
15
|
+
{{ dialog.message }}
|
|
16
|
+
</v-card-text>
|
|
17
|
+
|
|
18
|
+
<v-card-actions>
|
|
19
|
+
<v-spacer />
|
|
20
|
+
|
|
21
|
+
<v-btn
|
|
22
|
+
color="grey-darken-1"
|
|
23
|
+
@click="dialog.show = false"
|
|
24
|
+
>
|
|
25
|
+
{{ dialog.closeButtonText }}
|
|
26
|
+
</v-btn>
|
|
27
|
+
|
|
28
|
+
<v-btn
|
|
29
|
+
:color="dialog.action.buttonColor"
|
|
30
|
+
variant="flat"
|
|
31
|
+
@click="dialog.action.function"
|
|
32
|
+
>
|
|
33
|
+
{{ dialog.action.buttonText }}
|
|
34
|
+
</v-btn>
|
|
35
|
+
</v-card-actions>
|
|
36
|
+
</v-card>
|
|
37
|
+
</v-dialog>
|
|
40
38
|
</template>
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -1,148 +1,142 @@
|
|
|
1
|
-
<script setup
|
|
2
|
-
import { useNuxtifyConfig, mdiArrowTopRight } from
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
const
|
|
6
|
-
|
|
7
|
-
// Navigation
|
|
8
|
-
const footerPrimaryLinks = nuxtifyConfig.navigation?.footerPrimary
|
|
9
|
-
const footerSecondaryLinks = nuxtifyConfig.navigation?.footerSecondary
|
|
1
|
+
<script setup>
|
|
2
|
+
import { useNuxtifyConfig, mdiArrowTopRight } from "#imports";
|
|
3
|
+
const nuxtifyConfig = useNuxtifyConfig();
|
|
4
|
+
const footerPrimaryLinks = nuxtifyConfig.navigation?.footerPrimary;
|
|
5
|
+
const footerSecondaryLinks = nuxtifyConfig.navigation?.footerSecondary;
|
|
10
6
|
</script>
|
|
11
7
|
|
|
12
8
|
<template>
|
|
13
|
-
<v-row
|
|
14
|
-
class="px-sm-1 pt-12 pb-4 mb-1"
|
|
15
|
-
style="max-width: 1280px"
|
|
16
|
-
>
|
|
17
|
-
<v-col cols="12">
|
|
18
|
-
<FooterCallToAction v-if="nuxtifyConfig.footer?.cta?.show" />
|
|
19
|
-
|
|
20
|
-
<v-row class="mb-2">
|
|
21
|
-
<!-- Brand -->
|
|
22
|
-
<v-col
|
|
23
|
-
cols="12"
|
|
24
|
-
:lg="footerPrimaryLinks?.length === 4 ? 3 : 4"
|
|
25
|
-
>
|
|
26
|
-
<!-- Logo -->
|
|
27
|
-
<AppLogo dark />
|
|
28
|
-
|
|
29
|
-
<!-- Tagline -->
|
|
30
|
-
<p class="mt-2 clip-text">
|
|
31
|
-
{{ nuxtifyConfig.brand?.tagline }}
|
|
32
|
-
</p>
|
|
33
|
-
</v-col>
|
|
34
|
-
|
|
35
|
-
<v-spacer />
|
|
36
|
-
|
|
37
|
-
<!-- Primary Links -->
|
|
38
|
-
<v-col
|
|
39
|
-
v-for="group in footerPrimaryLinks"
|
|
40
|
-
:key="group.title"
|
|
41
|
-
cols="6"
|
|
42
|
-
md="3"
|
|
43
|
-
lg="2"
|
|
44
|
-
>
|
|
45
|
-
<p class="text-body-1 font-weight-bold mb-3">
|
|
46
|
-
{{ group.title }}
|
|
47
|
-
</p>
|
|
48
|
-
<div
|
|
49
|
-
v-for="link in group.links"
|
|
50
|
-
:key="link.text"
|
|
51
|
-
>
|
|
52
|
-
<v-btn
|
|
53
|
-
:to="link.to"
|
|
54
|
-
:href="link.href"
|
|
55
|
-
variant="text"
|
|
56
|
-
:active="false"
|
|
57
|
-
:ripple="false"
|
|
58
|
-
:target="link.openInNew ? '_blank' :
|
|
59
|
-
:rel="link.openInNew ? 'noopener nofollow' :
|
|
60
|
-
class="px-0"
|
|
61
|
-
>
|
|
62
|
-
{{ link.text }}
|
|
63
|
-
<v-icon
|
|
64
|
-
v-if="link.openInNew"
|
|
65
|
-
:icon="mdiArrowTopRight"
|
|
66
|
-
size="small"
|
|
67
|
-
color="grey"
|
|
68
|
-
class="ml-1"
|
|
69
|
-
/>
|
|
70
|
-
</v-btn>
|
|
71
|
-
</div>
|
|
72
|
-
</v-col>
|
|
73
|
-
</v-row>
|
|
74
|
-
|
|
75
|
-
<v-row>
|
|
76
|
-
<v-col
|
|
77
|
-
cols="12"
|
|
78
|
-
sm="9"
|
|
79
|
-
>
|
|
80
|
-
<small>
|
|
81
|
-
<!-- Copyright -->
|
|
82
|
-
©
|
|
83
|
-
{{
|
|
84
|
-
nuxtifyConfig.footer?.copyright
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
:
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
:
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
</v-col>
|
|
145
|
-
</v-row>
|
|
9
|
+
<v-row
|
|
10
|
+
class="px-sm-1 pt-12 pb-4 mb-1"
|
|
11
|
+
style="max-width: 1280px"
|
|
12
|
+
>
|
|
13
|
+
<v-col cols="12">
|
|
14
|
+
<FooterCallToAction v-if="nuxtifyConfig.footer?.cta?.show" />
|
|
15
|
+
|
|
16
|
+
<v-row class="mb-2">
|
|
17
|
+
<!-- Brand -->
|
|
18
|
+
<v-col
|
|
19
|
+
cols="12"
|
|
20
|
+
:lg="footerPrimaryLinks?.length === 4 ? 3 : 4"
|
|
21
|
+
>
|
|
22
|
+
<!-- Logo -->
|
|
23
|
+
<AppLogo dark />
|
|
24
|
+
|
|
25
|
+
<!-- Tagline -->
|
|
26
|
+
<p class="mt-2 clip-text">
|
|
27
|
+
{{ nuxtifyConfig.brand?.tagline }}
|
|
28
|
+
</p>
|
|
29
|
+
</v-col>
|
|
30
|
+
|
|
31
|
+
<v-spacer />
|
|
32
|
+
|
|
33
|
+
<!-- Primary Links -->
|
|
34
|
+
<v-col
|
|
35
|
+
v-for="group in footerPrimaryLinks"
|
|
36
|
+
:key="group.title"
|
|
37
|
+
cols="6"
|
|
38
|
+
md="3"
|
|
39
|
+
lg="2"
|
|
40
|
+
>
|
|
41
|
+
<p class="text-body-1 font-weight-bold mb-3">
|
|
42
|
+
{{ group.title }}
|
|
43
|
+
</p>
|
|
44
|
+
<div
|
|
45
|
+
v-for="link in group.links"
|
|
46
|
+
:key="link.text"
|
|
47
|
+
>
|
|
48
|
+
<v-btn
|
|
49
|
+
:to="link.to"
|
|
50
|
+
:href="link.href"
|
|
51
|
+
variant="text"
|
|
52
|
+
:active="false"
|
|
53
|
+
:ripple="false"
|
|
54
|
+
:target="link.openInNew ? '_blank' : void 0"
|
|
55
|
+
:rel="link.openInNew ? 'noopener nofollow' : void 0"
|
|
56
|
+
class="px-0"
|
|
57
|
+
>
|
|
58
|
+
{{ link.text }}
|
|
59
|
+
<v-icon
|
|
60
|
+
v-if="link.openInNew"
|
|
61
|
+
:icon="mdiArrowTopRight"
|
|
62
|
+
size="small"
|
|
63
|
+
color="grey"
|
|
64
|
+
class="ml-1"
|
|
65
|
+
/>
|
|
66
|
+
</v-btn>
|
|
67
|
+
</div>
|
|
68
|
+
</v-col>
|
|
69
|
+
</v-row>
|
|
70
|
+
|
|
71
|
+
<v-row>
|
|
72
|
+
<v-col
|
|
73
|
+
cols="12"
|
|
74
|
+
sm="9"
|
|
75
|
+
>
|
|
76
|
+
<small>
|
|
77
|
+
<!-- Copyright -->
|
|
78
|
+
©
|
|
79
|
+
{{
|
|
80
|
+
nuxtifyConfig.footer?.copyright || nuxtifyConfig.brand?.name || nuxtifyConfig.brand?.domain
|
|
81
|
+
}}.
|
|
82
|
+
|
|
83
|
+
<!-- Credits -->
|
|
84
|
+
{{ nuxtifyConfig.footer?.credits?.prependText }}
|
|
85
|
+
<span v-if="nuxtifyConfig.footer?.credits?.creator?.name">
|
|
86
|
+
<a
|
|
87
|
+
v-if="nuxtifyConfig.footer.credits.creator.domain"
|
|
88
|
+
:href="`https://${nuxtifyConfig.footer.credits.creator.domain}/?utm_source=${nuxtifyConfig.brand?.domain}&utm_medium=referral&utm_campaign=createdby`"
|
|
89
|
+
target="_blank"
|
|
90
|
+
rel="noopener nofollow"
|
|
91
|
+
class="font-weight-bold"
|
|
92
|
+
>{{ nuxtifyConfig.footer?.credits?.creator?.name }}</a><span v-else>{{ nuxtifyConfig.footer?.credits?.creator?.name }}</span>.
|
|
93
|
+
</span>
|
|
94
|
+
|
|
95
|
+
<!-- Message -->
|
|
96
|
+
{{ nuxtifyConfig.footer?.credits?.appendText }}
|
|
97
|
+
|
|
98
|
+
<!-- Powered By -->
|
|
99
|
+
<span v-if="nuxtifyConfig.footer?.credits?.showPoweredBy">
|
|
100
|
+
<a
|
|
101
|
+
:href="`https://nuxtify.dev/?utm_source=${nuxtifyConfig.brand?.domain}&utm_medium=referral&utm_campaign=poweredby`"
|
|
102
|
+
target="_blank"
|
|
103
|
+
rel="noopener nofollow"
|
|
104
|
+
>Powered by Nuxtify</a>.
|
|
105
|
+
</span>
|
|
106
|
+
</small>
|
|
107
|
+
|
|
108
|
+
<v-divider
|
|
109
|
+
v-if="footerSecondaryLinks?.length"
|
|
110
|
+
class="my-4"
|
|
111
|
+
style="width: 50px"
|
|
112
|
+
/>
|
|
113
|
+
|
|
114
|
+
<!-- Secondary Links -->
|
|
115
|
+
<v-btn
|
|
116
|
+
v-for="link in footerSecondaryLinks"
|
|
117
|
+
:key="link.text"
|
|
118
|
+
:to="link.to"
|
|
119
|
+
:href="link.href"
|
|
120
|
+
variant="plain"
|
|
121
|
+
size="small"
|
|
122
|
+
:ripple="false"
|
|
123
|
+
:target="link.openInNew ? '_blank' : void 0"
|
|
124
|
+
:rel="link.openInNew ? 'noopener nofollow' : void 0"
|
|
125
|
+
class="text-capitalize pl-0 mb-2"
|
|
126
|
+
>
|
|
127
|
+
{{ link.text }}
|
|
128
|
+
<v-icon
|
|
129
|
+
v-if="link.openInNew"
|
|
130
|
+
:icon="mdiArrowTopRight"
|
|
131
|
+
size="small"
|
|
132
|
+
color="grey"
|
|
133
|
+
class="ml-1"
|
|
134
|
+
/>
|
|
135
|
+
</v-btn>
|
|
136
|
+
</v-col>
|
|
137
|
+
</v-row>
|
|
138
|
+
</v-col>
|
|
139
|
+
</v-row>
|
|
146
140
|
</template>
|
|
147
141
|
|
|
148
142
|
<style scoped>
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="center">
|
|
3
|
-
<div class="sk-chase">
|
|
4
|
-
<div class="sk-chase-dot" />
|
|
5
|
-
<div class="sk-chase-dot" />
|
|
6
|
-
<div class="sk-chase-dot" />
|
|
7
|
-
<div class="sk-chase-dot" />
|
|
8
|
-
<div class="sk-chase-dot" />
|
|
9
|
-
<div class="sk-chase-dot" />
|
|
10
|
-
</div>
|
|
11
|
-
</div>
|
|
2
|
+
<div class="center">
|
|
3
|
+
<div class="sk-chase">
|
|
4
|
+
<div class="sk-chase-dot" />
|
|
5
|
+
<div class="sk-chase-dot" />
|
|
6
|
+
<div class="sk-chase-dot" />
|
|
7
|
+
<div class="sk-chase-dot" />
|
|
8
|
+
<div class="sk-chase-dot" />
|
|
9
|
+
<div class="sk-chase-dot" />
|
|
10
|
+
</div>
|
|
11
|
+
</div>
|
|
12
12
|
</template>
|
|
13
13
|
|
|
14
14
|
<style scoped>
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|