<script setup lang="ts">
import {Flight, User} from "@/Types/types";
import ProfileHeader from "@/Components/FlightsGoneBy/ProfileHeader.vue";

defineProps<{
    user: User
    flights: Flight[]
}>()
</script>

<template>
    <div class="board-wrapper">
        <ProfileHeader :user="user" :flights="flights" />
        <slot />
    </div>
</template>

<style scoped>
.board-wrapper {
    min-height: 100dvh;
    padding: 2.5rem 2rem;
    font-family: 'Barlow', sans-serif;
    width: 100%;
}
</style>
