Skip to content

Commit 6751bec

Browse files
committed
-
1 parent 38a175f commit 6751bec

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

src/lib/Info.svelte

+10-4
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,25 @@
11
<script>
2+
import { onMount } from 'svelte'
3+
24
import { KQL_Settings } from './graphql/_kitql/graphqlStores'
35
import GradiantButton from './ui/GradiantButton.svelte'
46
import { store } from './util'
7+
onMount(async () => {
8+
try {
9+
await KQL_Settings.query({ fetch })
10+
} catch (e) {}
11+
})
512
</script>
613

7-
<div class="p-3 py-10 sm:p-10 text-gray-800">
14+
<div class="p-3 py-10 text-gray-800 sm:p-10">
815
<div class="container mx-auto flex max-w-7xl flex-col items-center justify-center">
916
<div class="mb-5 text-center capitalize">
1017
<p><b>Home made food, Home delivered</b> <br /> Delivery only to Sunabeda Township</p>
1118
</div>
12-
1319
<a
14-
href="{$KQL_Settings.data?.settings?.ADMIN_PANEL_LINK}?role=vendor&store=${store.id}"
20+
href="{$KQL_Settings.data?.settings?.ADMIN_PANEL_LINK}?role=vendor&store={store.id}"
1521
target="_blank"
16-
rel="noopener noreferrer">
22+
rel="noopener noreferrer external">
1723
<GradiantButton class="w-60">Join as Chef</GradiantButton>
1824
</a>
1925
</div>

src/lib/components/Pricesummary.svelte

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ function submit() {
4545

4646
<div class="mt-2 flex items-center justify-between font-medium">
4747
<h4>Shipping fee</h4>
48-
<h4>{$KQL_Cart?.data?.cart.shipping.charge}</h4>
48+
<h4>FREE</h4>
4949
</div>
5050

5151
<!-- <p class="mt-1 text-xs tracking-wider text-gray-400 d">

0 commit comments

Comments
 (0)