<script setup lang="ts">
import { RouterView } from 'vue-router'
import Logo from '@/components/ds/brand/Logo.vue'
</script>

<template>
  <div class="pub-shell">
    <RouterView />

    <footer class="pub-footer">
      <Logo :size="18" :wordmark="true" />
    </footer>
  </div>
</template>

<style scoped>
.pub-shell {
  min-height: 100vh;
  background: var(--surface-canvas);
  display: flex;
  flex-direction: column;
}

.pub-footer {
  margin-top: auto;
  padding: var(--space-6) var(--space-6);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
</style>
