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", "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.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", "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}`; return `${country} / ${settingsStore.currency}`;
}); });
const fetch_menu = async () => { const fetch_menu = async () => {
try { try {
const response = await axios.get(route('menu.user')) const response = await axios.get(route('menu.user'))
@@ -195,8 +196,8 @@ onMounted(fetch_menu);
<template> <template>
<fwb-navbar class="px-0"> <fwb-navbar class="px-0">
<template #logo> <template #logo>
<fwb-navbar-logo alt="IKEA Price Craweler" :image-url="LogoIkea" :link="route('root')"> <fwb-navbar-logo alt="IKEA price comparison" :image-url="LogoIkea" :link="route('root')">
IKEA Price Crawler IKEA price comparison
</fwb-navbar-logo> </fwb-navbar-logo>
</template> </template>
@@ -214,6 +215,12 @@ onMounted(fetch_menu);
{{ item.name }} {{ item.name }}
</fwb-navbar-link> </fwb-navbar-link>
</template> </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> </fwb-navbar-collapse>
</template> </template>