Skip to content

Commit 5054c3e

Browse files
author
Sébastien Chopin
committed
Merge branch 'dev' of https://github.com/nuxt-themes/alpine into dev
2 parents 929ef68 + d859414 commit 5054c3e

4 files changed

Lines changed: 42 additions & 19 deletions

File tree

.docs/app.config.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
export default defineAppConfig({
2+
alpine: {
3+
socials: {
4+
twitter: 'nuxtstudio',
5+
instagram: 'wearenuxt',
6+
github: 'nuxt-themes/alpine',
7+
youtube: '@nuxtlabs'
8+
}
9+
}
10+
})

app.config.ts

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,12 @@ export default defineAppConfig({
2727
message: 'Follow me on'
2828
},
2929
socials: {
30-
twitter: 'nuxtlabs',
31-
instagram: 'atinuxt',
32-
linkedin: {
33-
icon: 'uil:linkedin',
34-
label: 'LinkedIn',
35-
href: 'https://www.linkedin.com/company/nuxtlabs'
36-
}
30+
twitter: '',
31+
instagram: '',
32+
github: '',
33+
facebook: '',
34+
medium: '',
35+
youtube: ''
3736
},
3837
form: {
3938
successMessage: 'Message sent. Thank you!'

components/AppFooter.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const alpine = useAppConfig().alpine
1919
<p v-if="alpine.footer?.message" class="message">
2020
{{ alpine.footer.message }}
2121
</p>
22-
22+
2323
<div class="icons">
2424
<div v-if="alpine.socials && Object.entries(alpine.socials)" class="social">
2525
<SocialIcons :socials="alpine.socials" />

nuxt.schema.ts

Lines changed: 25 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -116,23 +116,37 @@ export default defineNuxtConfigSchema({
116116
* @example 'nuxt_js'
117117
* @studio-icon simple-icons:twitter
118118
*/
119-
twitter: 'nuxtlabs',
119+
twitter: '',
120120
/**
121121
* Instagram handle
122-
* @example https://www.instagram.com/atinuxt
122+
* @example 'wearenuxt'
123123
* @studio-icon simple-icons:instagram
124124
*/
125-
instagram: 'atinuxt',
125+
instagram: '',
126126
/**
127-
* LinkedIn page url.
128-
* @example https://www.linkedin.com/company/nuxtlabs
129-
* @studio-icon simple-icons:instagram
127+
* GitHub path
128+
* @example 'nuxt-themes/alpine'
129+
* @studio-icon simple-icons:github
130130
*/
131-
linkedin: {
132-
icon: 'uil:linkedin',
133-
label: 'LinkedIn',
134-
href: 'https://www.linkedin.com/company/nuxtlabs'
135-
}
131+
github: '',
132+
/**
133+
* GitHub path
134+
* @example 'nuxt'
135+
* @studio-icon simple-icons:facebook
136+
*/
137+
facebook: '',
138+
/**
139+
* Medium handle
140+
* @example 'nuxt'
141+
* @studio-icon simple-icons:medium
142+
*/
143+
medium: '',
144+
/**
145+
* Youtube handle
146+
* @example '@nuxtlabs'
147+
* @studio-icon simple-icons:youtube
148+
*/
149+
youtube: ''
136150
},
137151
/**
138152
* Contact form configuration.

0 commit comments

Comments
 (0)