File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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+ } )
Original file line number Diff line number Diff 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!'
Original file line number Diff line number Diff 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" />
Original file line number Diff line number Diff 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.
You can’t perform that action at this time.
0 commit comments