Add preview handling

This commit is contained in:
nicwands
2026-06-01 11:08:03 -04:00
parent ef70a0c756
commit 6776a14757
18 changed files with 1186 additions and 14 deletions

View File

@@ -0,0 +1,32 @@
<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>