donate button

This commit is contained in:
2024-03-24 13:38:39 +01:00
parent 71d44dd1f9
commit 9891ae452b
2 changed files with 11 additions and 3 deletions

View File

@@ -134,5 +134,6 @@
"referenceerror: currencyhash is not defined": "ReferenceError: currencyHash is not defined",
"typeerror: can't access property \"code\", (intermediate value).country.country is undefined": "TypeError: can't access property \"code\", (intermediate value).country.country is undefined",
"typeerror: can't access property \"code\", (intermediate value).country[0] is undefined": "TypeError: can't access property \"code\", (intermediate value).country[0] is undefined",
"error: request failed with status code 419": "Error: Request failed with status code 419"
"error: request failed with status code 419": "Error: Request failed with status code 419",
"error: network error": "Error: Network Error"
}

View File

@@ -37,6 +37,7 @@ let tsettings = computed(() => {
return `${country} / ${settingsStore.currency}`;
});
const fetch_menu = async () => {
try {
const response = await axios.get(route('menu.user'))
@@ -195,8 +196,8 @@ onMounted(fetch_menu);
<template>
<fwb-navbar class="px-0">
<template #logo>
<fwb-navbar-logo alt="IKEA Price Craweler" :image-url="LogoIkea" :link="route('root')">
IKEA Price Crawler
<fwb-navbar-logo alt="IKEA price comparison" :image-url="LogoIkea" :link="route('root')">
IKEA price comparison
</fwb-navbar-logo>
</template>
@@ -214,6 +215,12 @@ onMounted(fetch_menu);
{{ item.name }}
</fwb-navbar-link>
</template>
<fwb-navbar-link link="#">
<form action="https://www.paypal.com/donate" method="post" target="_top">
<input type="hidden" name="hosted_button_id" value="U6QGUXVDUDBB8" />
<button type="sumbit">Donate</button>
</form>
</fwb-navbar-link>
</fwb-navbar-collapse>
</template>