Skip to content

Commit

Permalink
add banner (#154)
Browse files Browse the repository at this point in the history
Signed-off-by: Jess Frazelle <[email protected]>
  • Loading branch information
jessfraz authored Jan 4, 2025
1 parent 1687575 commit f642410
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@
</script>

<main class="mx-2 md:mx-5 lg:mx-auto min-h-screen flex items-center" style="min-height: 100dvh">
<!-- A banner that warns this is not the latest version of the app -->
<div class="fixed top-0 left-0 right-0 z-50 bg-red text-white text-center py-1">
<span class="font-bold">This is an old version of the model.</span>
<span class="font-bold"
>Please <a href="https://zoo.dev/modeling-app/download">download the latest alpha version</a>
or <a href="https://zoo.dev/modeling-app/download/nightly">nightly version</a> (if you are feeling
on the wild side) of the Modeling App.</span
>
</div>
<section class="mx-auto max-w-5xl flex-1">
<div class="grid grid-cols-1 md:grid-cols-3 gap-0 items-stretch min-h-[33vh]">
<h1 class="md:col-span-2 text-5xl md:text-7xl py-6 md:py-12 self-center px-2 md:px-4">
Expand Down

0 comments on commit f642410

Please sign in to comment.