diff --git a/app/components/Section/Booking.vue b/app/components/Section/Booking.vue index b88eed5..ca9d9fa 100755 --- a/app/components/Section/Booking.vue +++ b/app/components/Section/Booking.vue @@ -1,33 +1,44 @@ @@ -65,16 +76,16 @@ type Service = { } const intl = new Intl.NumberFormat( - 'de-DE', - { - style: 'currency', - currency: 'EUR', - minimumFractionDigits: 0, - maximumFractionDigits: 0, - } + 'de-DE', + { + style: 'currency', + currency: 'EUR', + minimumFractionDigits: 0, + maximumFractionDigits: 0, + }, ) -const oneOff : Service[] = [ +const oneOff: Service[] = [ { title: 'Quick Check', price: { @@ -129,7 +140,7 @@ const oneOff : Service[] = [ }, ] -const { data: faq } = await useAsyncData('faq', () => queryCollection('faq').path('/snippets/faq/booking').first()) +const { data: faq } = await useAsyncData('faq_booking', () => queryCollection('faq').path('/snippets/faq/booking').first()) const texts = generatePlainText<['title']>(faq.value?.body.value) if (faq) { @@ -143,7 +154,7 @@ if (faq) { '@type': 'Answer', 'text': entity.text, }, - })) + })), }) } diff --git a/app/components/Section/Flatrate.vue b/app/components/Section/Flatrate.vue index f6ce7ac..93f2905 100755 --- a/app/components/Section/Flatrate.vue +++ b/app/components/Section/Flatrate.vue @@ -1,33 +1,44 @@ @@ -72,7 +83,7 @@ const intl = new Intl.NumberFormat( maximumFractionDigits: 0, }) -const points : string[] = [ +const points: string[] = [ 'Kontakt per E-Mail', 'Kontakt per Instant Messaging', 'Kontakt per Video Call', @@ -80,65 +91,65 @@ const points : string[] = [ 'Framework Migration', ] -const flatrate : Service[] = - [ - { - title: 'Casual', - smallClaim: 'Für kleine Aufgaben nebenbei.', - icon: 'ph:baby-carriage-thin', - button: 'Jetzt klar machen', - link: 'https://tidycal.com/webfussel/flatrate-casual', - best: false, - price: 2950, - hours: 5, - contractMin: 3, - checks: [ - true, - false, - false, - false, - false, - ], - }, - { - title: 'Gold-Fussel', - smallClaim: 'Wenn\'s mal wieder zu viel wird.', - icon: 'ph:coins-thin', - button: 'Jetzt Gold schürfen', - link: 'https://tidycal.com/webfussel/flatrate-gold-fussel', - best: true, - price: 5555, - hours: 10, - contractMin: 3, - checks: [ - true, - true, - false, - true, - false, - ], - }, - { - title: 'Big Chonker', - smallClaim: 'Für die richtig großen Sachen.', - icon: 'ph:skull-thin', - button: 'Jetzt Fett trimmen', - link: 'https://tidycal.com/webfussel/flatrate-big-chonker', - best: false, - price: 8550, - hours: 15, - contractMin: 6, - checks: [ - true, - true, - true, - true, - true, - ], - } - ] +const flatrate: Service[] = + [ + { + title: 'Casual', + smallClaim: 'Für kleine Aufgaben nebenbei.', + icon: 'ph:baby-carriage-thin', + button: 'Jetzt klar machen', + link: 'https://tidycal.com/webfussel/flatrate-casual', + best: false, + price: 2950, + hours: 5, + contractMin: 3, + checks: [ + true, + false, + false, + false, + false, + ], + }, + { + title: 'Gold-Fussel', + smallClaim: 'Wenn\'s mal wieder zu viel wird.', + icon: 'ph:coins-thin', + button: 'Jetzt Gold schürfen', + link: 'https://tidycal.com/webfussel/flatrate-gold-fussel', + best: true, + price: 5555, + hours: 10, + contractMin: 3, + checks: [ + true, + true, + false, + true, + false, + ], + }, + { + title: 'Big Chonker', + smallClaim: 'Für die richtig großen Sachen.', + icon: 'ph:skull-thin', + button: 'Jetzt Fett trimmen', + link: 'https://tidycal.com/webfussel/flatrate-big-chonker', + best: false, + price: 8550, + hours: 15, + contractMin: 6, + checks: [ + true, + true, + true, + true, + true, + ], + }, + ] -const { data : faq } = await useAsyncData('faq', () => queryCollection('faq').path('/snippets/faq/flatrate').first()) +const { data: faq } = await useAsyncData('faq_flatrate', () => queryCollection('faq').path('/snippets/faq/flatrate').first()) const texts = generatePlainText<['title']>(faq.value?.body.value) if (faq) { @@ -152,7 +163,7 @@ if (faq) { '@type': 'Answer', 'text': entity.text, }, - })) + })), }) }