BuLi-Tipp hinzugefügt

This commit is contained in:
R40fendt
2025-04-22 17:07:19 +02:00
parent b2ac80e0f4
commit f450567cc7
5 changed files with 220 additions and 6 deletions

View File

@@ -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>