<template>
  <div class="unauthorized">
    <h1>Unauthorized</h1>
    <p>Invalid preview token. Please check your preview configuration.</p>
    <p><a href="/">Return to homepage</a></p>
  </div>
</template>

<style scoped>
.unauthorized {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  text-align: center;
}

h1 {
  color: #dc3545;
  margin-bottom: 1rem;
}

a {
  color: #007bff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}
</style>