<script setup>
import PageTitle from "@/components/global/PageTitle.vue";

defineProps(['title', 'subtitle']);
import { useRouter} from "vue-router";
import UserNavigation from "@/components/global/UserNavigation.vue";
import UserDashboardNavigation from "@/views/dashboards/userDashboard/userDashboardNavigation.vue";

const router = useRouter();
</script>

<template>
  <div>
    <UserNavigation />
    <user-dashboard-navigation />
    <PageTitle :title="title" :subtitle="subtitle">
      <template #buttons>
        <slot name="buttons"></slot>
      </template>
    </PageTitle>
    <slot class="mt-2"></slot>
  </div>
</template>

<style scoped>

</style>