<template>
  <div class="admin__container">
    <TopBar />
    <div class="admin__tiles">
      <AdminGameInfosTile />
    </div>
  </div>
</template>

<script setup lang="ts">
import useAuth from '@/composables/useAuth'
  
await useAuth().authenticateAndLoadUserInfo(['admin'])

</script>

<style lang="scss">
@import '~/assets/css/components';

.admin {
  &__container {
    color: $text-primary-color;
  }

  &__tiles {
    display: flex;
    margin: 24px;
  }
}
</style>