Modifications de plusieurs éléments visuels dans default, footer, stripe et creatorFolio.
This commit is contained in:
@@ -37,9 +37,10 @@
|
||||
</v-container>
|
||||
|
||||
<v-container class="text-center" style="flex-grow: 1;">
|
||||
<v-btn v-for="link in links" :key="link" class="mx-2" color="black" rounded="xl" variant="text">
|
||||
{{ link }}
|
||||
</v-btn>
|
||||
<router-link v-for="link in links" :key="link" :to="getLinkUrl(link)"
|
||||
class="mx-2 text-decoration-none text-black">
|
||||
<v-btn class="black--text" rounded="xl" variant="text">{{ link }}</v-btn>
|
||||
</router-link>
|
||||
</v-container>
|
||||
|
||||
<v-container class="text-black text-center ">
|
||||
@@ -67,8 +68,21 @@ export default {
|
||||
'conditions utilisation',
|
||||
'anti-exploitation',
|
||||
],
|
||||
linkRoutes: {
|
||||
'Aide & Contact': { name: 'home' },
|
||||
'Conditions générales': { name: 'home' },
|
||||
'Politique des contenus': { name: 'home' },
|
||||
'Programme Ambassadeurs': { name: 'home' },
|
||||
'conditions utilisation': { name: 'home' },
|
||||
'anti-exploitation': { name: 'home' },
|
||||
},
|
||||
}),
|
||||
}
|
||||
methods: {
|
||||
getLinkUrl(link) {
|
||||
return this.linkRoutes[link] || { name: 'home' };
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
<style>
|
||||
|
||||
Reference in New Issue
Block a user