Featured tours working

This commit is contained in:
2025-09-15 13:40:20 +10:00
parent f0e7ce30fc
commit e965cc2780
24 changed files with 384 additions and 26 deletions

View File

@@ -1,9 +1,7 @@
<template>
<Hero />
<!-- About Section -->
<About />
<!-- Featured Tours Section -->
<FeaturedTours />
<FeaturedTours :featured-tours="featured_tours" />
</template>
<style>
@@ -11,15 +9,21 @@
</style>
<script setup lang="ts">
import { onMounted } from 'vue';
import {usePage} from "@inertiajs/vue3";
import {Tour} from "@/types";
interface Properties {
featured_tours: Tour[]
}
const { featured_tours } = usePage().props as unknown as Properties
import AppLayout from '../layouts/AppLayout.vue'
import Hero from "@/components/home/Hero.vue";
import About from "@/components/home/About.vue";
import FeaturedTours from "@/components/home/FeaturedTours.vue";
defineOptions({
layout: AppLayout
})