BuLi-Tipp hinzugefügt
This commit is contained in:
@@ -7,6 +7,14 @@ export default {
|
||||
type: Array,
|
||||
required: false,
|
||||
},
|
||||
buttontext: {
|
||||
type: String,
|
||||
required: false,
|
||||
},
|
||||
mainlink: {
|
||||
type: String,
|
||||
required: false,
|
||||
},
|
||||
},
|
||||
data(){
|
||||
return {
|
||||
@@ -14,13 +22,16 @@ export default {
|
||||
{ link: "/galerie", title: "Galerie" },
|
||||
{ link: "/umgebung", title: "Umgebung" },
|
||||
{ link: "/footer", title: "Kontakt" },
|
||||
{ link: "/", title: "BuLi-Tipp" },
|
||||
{ link: "/bulitipp", title: "BuLi-Tipp" },
|
||||
],
|
||||
buttontextdata: "Über Ritzenbergen",
|
||||
mainlinkdata: "/willkommen"
|
||||
}
|
||||
},
|
||||
created() {
|
||||
console.log(this.links);
|
||||
if(this.links) this.datalinks = this.links;
|
||||
if(this.buttontext) this.buttontextdata = this.buttontext;
|
||||
if(this.mainlink) this.mainlinkdata = this.mainlink;
|
||||
},
|
||||
};
|
||||
</script>
|
||||
@@ -75,8 +86,8 @@ export default {
|
||||
</li>
|
||||
</ul>
|
||||
<div class="navbar-buttons mbr-section-btn">
|
||||
<RouterLink class="btn btn-primary display-4" to="/willkommen"
|
||||
>Über Ritzenbergen</RouterLink
|
||||
<RouterLink class="btn btn-primary display-4" :to="mainlinkdata"
|
||||
>{{ buttontextdata }}</RouterLink
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user