feat(seo): add meta tags and page titles
Configure default head meta and title template in nuxt.config.ts Add dynamic SEO meta tags and robots directives to all pages
This commit is contained in:
@@ -36,6 +36,15 @@ const statusColor = computed(() => booking.value.status === 'confirmed' ? 'succe
|
||||
const ticketLabel = computed(() => booking.value.ticketLabel || booking.value.ticketType.toUpperCase())
|
||||
const totalFormatted = computed(() => formatBookingCurrency(booking.value.totalPrice, locale.value))
|
||||
const receiptPath = computed(() => `/receipt/${booking.value.receiptToken}`)
|
||||
|
||||
useSeoMeta({
|
||||
title: () => `${t('confirm.title')} - ${booking.value.customerName}`,
|
||||
description: () => t('confirm.description'),
|
||||
ogTitle: () => `${t('confirm.title')} - ${booking.value.customerName}`,
|
||||
ogDescription: () => t('confirm.description'),
|
||||
robots: 'noindex,nofollow'
|
||||
})
|
||||
|
||||
const detailRows = computed(() => {
|
||||
const rows = [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user