summaryrefslogtreecommitdiff
path: root/examples/view-transitions/src/components/Nav.astro
diff options
context:
space:
mode:
Diffstat (limited to 'examples/view-transitions/src/components/Nav.astro')
-rw-r--r--examples/view-transitions/src/components/Nav.astro16
1 files changed, 16 insertions, 0 deletions
diff --git a/examples/view-transitions/src/components/Nav.astro b/examples/view-transitions/src/components/Nav.astro
new file mode 100644
index 000000000..c0ca3d5e3
--- /dev/null
+++ b/examples/view-transitions/src/components/Nav.astro
@@ -0,0 +1,16 @@
+<nav class="nav border-b border-gray-800 sticky top-0 z-30 bg-gray-900">
+ <div class="container mx-auto px-4 flex flex-col md:flex-row items-center justify-between px-4 py-6">
+ <ul class="flex flex-col md:flex-row items-center">
+ <li>
+ <a href="/" class="flex items-center font-bold text-xl">
+ <span>Movies</span>
+ &nbsp;
+ <span class="text-orange-500">List</span>
+ </a>
+ </li>
+ <li class="md:ml-16 mt-3 md:mt-0">
+ <a href="/" class="hover:text-gray-300">Movies</a>
+ </li>
+ </ul>
+ </div>
+</nav>