@wordup-md/nuxt-layer-shadcn-unocss 0.2.27 → 0.2.28
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/.playground/app.config.ts +1 -1
- package/.playground/content/index.md +0 -2
- package/.playground/nuxt.config.ts +7 -24
- package/components/layout/Header.vue +5 -3
- package/package.json +1 -1
- package/public/content-doc.json +0 -9
- package/.playground/components/content/brevo.vue +0 -174
- package/.playground/content/demo.md +0 -9
- /package/.playground/content/{__menu-aside.md → _menu-aside.md} +0 -0
|
@@ -4,7 +4,7 @@ export default defineNuxtConfig({
|
|
|
4
4
|
extends: ['..'],
|
|
5
5
|
modules: [
|
|
6
6
|
'@nuxt/eslint',
|
|
7
|
-
'@unpress/nuxt-module',
|
|
7
|
+
// '@unpress/nuxt-module',
|
|
8
8
|
// '../../../unpress/packages/nuxt-module/src/module',
|
|
9
9
|
],
|
|
10
10
|
|
|
@@ -14,9 +14,9 @@ export default defineNuxtConfig({
|
|
|
14
14
|
|
|
15
15
|
compatibilityDate: '2025-01-10',
|
|
16
16
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
nitro: {
|
|
18
|
+
preset: 'vercel',
|
|
19
|
+
},
|
|
20
20
|
|
|
21
21
|
// vite: {
|
|
22
22
|
// server: {
|
|
@@ -51,25 +51,8 @@ export default defineNuxtConfig({
|
|
|
51
51
|
},
|
|
52
52
|
|
|
53
53
|
unpress: {
|
|
54
|
-
repo: 'https://gitlab.com/ManUtopiK/nuxt-layer/-/tree/gitlab',
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
name: 'ManUtopiK:nuxt-layer',
|
|
58
|
-
driver: 'gitlab',
|
|
59
|
-
bases: {
|
|
60
|
-
gitlab: {
|
|
61
|
-
name: 'gitlab',
|
|
62
|
-
srcDirs: [
|
|
63
|
-
'.playground/content',
|
|
64
|
-
],
|
|
65
|
-
assetsDirs: [
|
|
66
|
-
'.playground/public',
|
|
67
|
-
],
|
|
68
|
-
},
|
|
69
|
-
},
|
|
70
|
-
},
|
|
71
|
-
},
|
|
72
|
-
// autoMountIfDevMode: true,
|
|
73
|
-
// allowMountWithoutLogin: true,
|
|
54
|
+
// repo: 'https://gitlab.com/ManUtopiK/nuxt-layer/-/tree/gitlab',
|
|
55
|
+
autoMountIfDevMode: true,
|
|
56
|
+
allowMountWithoutLogin: true,
|
|
74
57
|
},
|
|
75
58
|
})
|
|
@@ -46,14 +46,15 @@
|
|
|
46
46
|
v-if="!config.search.inAside && config.search.style === 'button'"
|
|
47
47
|
/>
|
|
48
48
|
|
|
49
|
+
<LangSwitcher v-if="i18nEnabled" />
|
|
49
50
|
<ThemePopover v-if="config.theme.customizable" />
|
|
50
51
|
<DarkModeToggle v-if="config.header.darkModeToggle" />
|
|
51
52
|
<A11yModeToggle />
|
|
52
53
|
|
|
53
|
-
<
|
|
54
|
+
<NuxtLinkLocale
|
|
54
55
|
v-for="(link, i) in config.header.links"
|
|
55
56
|
:key="i"
|
|
56
|
-
:to="link?.to"
|
|
57
|
+
:to="localePath(link?.to)"
|
|
57
58
|
:target="link?.target"
|
|
58
59
|
>
|
|
59
60
|
<UiButton
|
|
@@ -67,7 +68,7 @@
|
|
|
67
68
|
:size="18"
|
|
68
69
|
/>
|
|
69
70
|
</UiButton>
|
|
70
|
-
</
|
|
71
|
+
</NuxtLinkLocale>
|
|
71
72
|
</div>
|
|
72
73
|
</div>
|
|
73
74
|
</div>
|
|
@@ -86,6 +87,7 @@ import { useWindowScroll } from '@vueuse/core'
|
|
|
86
87
|
import { cn } from '@/lib/utils'
|
|
87
88
|
|
|
88
89
|
const config = useConfig()
|
|
90
|
+
const { i18nEnabled, localePath } = useI18nDocs()
|
|
89
91
|
|
|
90
92
|
const { y } = useWindowScroll()
|
|
91
93
|
|
package/package.json
CHANGED
package/public/content-doc.json
CHANGED
|
@@ -800,15 +800,6 @@
|
|
|
800
800
|
"navigation.redirect": "/development/configuration",
|
|
801
801
|
"_path": "development"
|
|
802
802
|
},
|
|
803
|
-
{
|
|
804
|
-
"title": "Démo",
|
|
805
|
-
"_id": "content:demo.md",
|
|
806
|
-
"_path": "demo",
|
|
807
|
-
"content": "\n\n## Un titre\n\n",
|
|
808
|
-
"description": "Démo",
|
|
809
|
-
"icon": "lucide:camera",
|
|
810
|
-
"key": "example"
|
|
811
|
-
},
|
|
812
803
|
{
|
|
813
804
|
"title": "Layout",
|
|
814
805
|
"_id": "content:layout.md",
|
|
@@ -1,174 +0,0 @@
|
|
|
1
|
-
<script lang="ts" setup>
|
|
2
|
-
|
|
3
|
-
</script>
|
|
4
|
-
|
|
5
|
-
<template>
|
|
6
|
-
<div>
|
|
7
|
-
<!-- Begin Brevo Form -->
|
|
8
|
-
<!-- START - We recommend to place the below code in head tag of your website html -->
|
|
9
|
-
<link
|
|
10
|
-
rel="stylesheet"
|
|
11
|
-
href="https://sibforms.com/forms/end-form/build/sib-styles.css"
|
|
12
|
-
>
|
|
13
|
-
<!-- END - We recommend to place the above code in head tag of your website html -->
|
|
14
|
-
|
|
15
|
-
<!-- START - We recommend to place the below code where you want the form in your website html -->
|
|
16
|
-
<div
|
|
17
|
-
class="sib-form"
|
|
18
|
-
style="text-align: center;background-color: #EFF2F7;"
|
|
19
|
-
>
|
|
20
|
-
<div
|
|
21
|
-
id="sib-form-container"
|
|
22
|
-
class="sib-form-container"
|
|
23
|
-
>
|
|
24
|
-
<div
|
|
25
|
-
id="sib-container"
|
|
26
|
-
class="sib-container--large sib-container--vertical"
|
|
27
|
-
style="text-align:center; background-color:rgba(255,255,255,1); max-width:540px; border-radius:3px; border-width:1px; border-color:#C0CCD9; border-style:solid;"
|
|
28
|
-
>
|
|
29
|
-
<form
|
|
30
|
-
id="sib-form"
|
|
31
|
-
method="POST"
|
|
32
|
-
action="https://a2981c76.sibforms.com/serve/MUIFAOcj2LR9UgcDm_uy9p-buw_3lNWLzElF7u1lxKLaOynii2NN5lwwfUBDqtjKiSWLqbYAqvmXXqfz0Z_MbR7cFw58a5KI_qq04ZkvkKo5ecMIh4JTjYDrJKuPS1zvmQ9xSF92-9z-cLsbmH8l0oJq8m3xQ6Wvuus4bk4JrAmOYUdzMBg7RoJmlKY9X8bkWSk1w07sowxfwR6cEw=="
|
|
33
|
-
>
|
|
34
|
-
<div style="padding: 8px 0;">
|
|
35
|
-
<div
|
|
36
|
-
class="sib-form-block"
|
|
37
|
-
style="font-size:32px; text-align:left; font-weight:700; font-family:Helvetica, sans-serif; color:#3C4858; background-color:transparent; text-align:left"
|
|
38
|
-
>
|
|
39
|
-
<p>Newsletter</p>
|
|
40
|
-
</div>
|
|
41
|
-
</div>
|
|
42
|
-
<div style="padding: 8px 0;">
|
|
43
|
-
<div
|
|
44
|
-
class="sib-form-block"
|
|
45
|
-
style="font-size:16px; text-align:left; font-family:Helvetica, sans-serif; color:#3C4858; background-color:transparent; text-align:left"
|
|
46
|
-
>
|
|
47
|
-
<div class="sib-text-form-block">
|
|
48
|
-
<p>Inscrivez-vous à notre newsletter pour suivre nos actualités.</p>
|
|
49
|
-
</div>
|
|
50
|
-
</div>
|
|
51
|
-
</div>
|
|
52
|
-
<div style="padding: 8px 0;">
|
|
53
|
-
<div class="sib-input sib-form-block">
|
|
54
|
-
<div class="form__entry entry_block">
|
|
55
|
-
<div class="form__label-row ">
|
|
56
|
-
<label
|
|
57
|
-
class="entry__label"
|
|
58
|
-
style="font-weight: 700; text-align:left; font-size:16px; text-align:left; font-weight:700; font-family:Helvetica, sans-serif; color:#3c4858;"
|
|
59
|
-
for="EMAIL"
|
|
60
|
-
data-required="*"
|
|
61
|
-
>Veuillez renseigner votre adresse email pour vous inscrire</label>
|
|
62
|
-
|
|
63
|
-
<div class="entry__field">
|
|
64
|
-
<input
|
|
65
|
-
id="EMAIL"
|
|
66
|
-
class="input "
|
|
67
|
-
type="text"
|
|
68
|
-
name="EMAIL"
|
|
69
|
-
autocomplete="off"
|
|
70
|
-
placeholder="EMAIL"
|
|
71
|
-
data-required="true"
|
|
72
|
-
required
|
|
73
|
-
>
|
|
74
|
-
</div>
|
|
75
|
-
</div>
|
|
76
|
-
|
|
77
|
-
<label
|
|
78
|
-
class="entry__error entry__error--primary"
|
|
79
|
-
style="font-size:16px; text-align:left; font-family:Helvetica, sans-serif; color:#661d1d; background-color:#ffeded; border-radius:3px; border-color:#ff4949;"
|
|
80
|
-
/>
|
|
81
|
-
<label
|
|
82
|
-
class="entry__specification"
|
|
83
|
-
style="font-size:12px; text-align:left; font-family:Helvetica, sans-serif; color:#8390A4; text-align:left"
|
|
84
|
-
>
|
|
85
|
-
Veuillez renseigner votre adresse email pour vous inscrire. Ex. : abc@xyz.com
|
|
86
|
-
</label>
|
|
87
|
-
</div>
|
|
88
|
-
</div>
|
|
89
|
-
</div>
|
|
90
|
-
<div style="padding: 8px 0;">
|
|
91
|
-
<div
|
|
92
|
-
class="sib-form-block"
|
|
93
|
-
style="text-align: left"
|
|
94
|
-
>
|
|
95
|
-
<button
|
|
96
|
-
class="sib-form-block__button sib-form-block__button-with-loader"
|
|
97
|
-
style="font-size:16px; text-align:left; font-weight:700; font-family:Helvetica, sans-serif; color:#FFFFFF; background-color:#3E4857; border-radius:3px; border-width:0px;"
|
|
98
|
-
form="sib-form"
|
|
99
|
-
type="submit"
|
|
100
|
-
>
|
|
101
|
-
<svg
|
|
102
|
-
class="icon clickable__icon progress-indicator__icon sib-hide-loader-icon"
|
|
103
|
-
viewBox="0 0 512 512"
|
|
104
|
-
style=""
|
|
105
|
-
>
|
|
106
|
-
<path d="M460.116 373.846l-20.823-12.022c-5.541-3.199-7.54-10.159-4.663-15.874 30.137-59.886 28.343-131.652-5.386-189.946-33.641-58.394-94.896-95.833-161.827-99.676C261.028 55.961 256 50.751 256 44.352V20.309c0-6.904 5.808-12.337 12.703-11.982 83.556 4.306 160.163 50.864 202.11 123.677 42.063 72.696 44.079 162.316 6.031 236.832-3.14 6.148-10.75 8.461-16.728 5.01z" />
|
|
107
|
-
</svg>
|
|
108
|
-
S'INSCRIRE
|
|
109
|
-
</button>
|
|
110
|
-
</div>
|
|
111
|
-
</div>
|
|
112
|
-
<input
|
|
113
|
-
type="text"
|
|
114
|
-
name="email_address_check"
|
|
115
|
-
value=""
|
|
116
|
-
class="input--hidden"
|
|
117
|
-
>
|
|
118
|
-
<input
|
|
119
|
-
type="hidden"
|
|
120
|
-
name="locale"
|
|
121
|
-
value="fr"
|
|
122
|
-
>
|
|
123
|
-
<input
|
|
124
|
-
type="hidden"
|
|
125
|
-
name="html_type"
|
|
126
|
-
value="simple"
|
|
127
|
-
>
|
|
128
|
-
</form>
|
|
129
|
-
</div>
|
|
130
|
-
</div>
|
|
131
|
-
</div>
|
|
132
|
-
<!-- END - We recommend to place the above code where you want the form in your website html -->
|
|
133
|
-
<!-- End Brevo Form -->
|
|
134
|
-
</div>
|
|
135
|
-
</template>
|
|
136
|
-
|
|
137
|
-
<style scoped>
|
|
138
|
-
@font-face {
|
|
139
|
-
font-display: block;
|
|
140
|
-
font-family: Roboto;
|
|
141
|
-
src: url(https://assets.brevo.com/font/Roboto/Latin/normal/normal/7529907e9eaf8ebb5220c5f9850e3811.woff2) format("woff2"), url(https://assets.brevo.com/font/Roboto/Latin/normal/normal/25c678feafdc175a70922a116c9be3e7.woff) format("woff")
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
@font-face {
|
|
145
|
-
font-display: fallback;
|
|
146
|
-
font-family: Roboto;
|
|
147
|
-
font-weight: 600;
|
|
148
|
-
src: url(https://assets.brevo.com/font/Roboto/Latin/medium/normal/6e9caeeafb1f3491be3e32744bc30440.woff2) format("woff2"), url(https://assets.brevo.com/font/Roboto/Latin/medium/normal/71501f0d8d5aa95960f6475d5487d4c2.woff) format("woff")
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
@font-face {
|
|
152
|
-
font-display: fallback;
|
|
153
|
-
font-family: Roboto;
|
|
154
|
-
font-weight: 700;
|
|
155
|
-
src: url(https://assets.brevo.com/font/Roboto/Latin/bold/normal/3ef7cf158f310cf752d5ad08cd0e7e60.woff2) format("woff2"), url(https://assets.brevo.com/font/Roboto/Latin/bold/normal/ece3a1d82f18b60bcce0211725c476aa.woff) format("woff")
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
#sib-container input:-ms-input-placeholder {
|
|
159
|
-
text-align: left;
|
|
160
|
-
font-family: Helvetica, sans-serif;
|
|
161
|
-
color: #c0ccda;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
#sib-container input::placeholder {
|
|
165
|
-
text-align: left;
|
|
166
|
-
font-family: Helvetica, sans-serif;
|
|
167
|
-
color: #c0ccda;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
#sib-container a {
|
|
171
|
-
text-decoration: underline;
|
|
172
|
-
color: #2BB2FC;
|
|
173
|
-
}
|
|
174
|
-
</style>
|
|
File without changes
|