Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions apps/site/src/components/DraftModeToggle.astro
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ const returnTo = Astro.url.pathname + Astro.url.search;
method="POST"
action="/api/draft-mode/disable"
data-sanity-preview
class="fixed bottom-4 right-4 z-50"
class="fixed bottom-4 left-4 z-50"
>
<input type="hidden" name="returnTo" value={returnTo} />
<button
type="submit"
class="rounded-full bg-primary px-4 py-2 text-sm font-medium text-primary-foreground shadow-lg hover:bg-primary/90 transition-colors"
class="rounded-full bg-red-600 px-4 py-2 text-sm font-medium text-white shadow-lg hover:bg-red-700 transition-colors"
>
Exit draft mode
</button>
Expand Down
Loading