Add movies page

This commit is contained in:
2023-05-02 20:29:09 +10:00
parent 9e1bf6e6d8
commit 0746d29543
12 changed files with 1063 additions and 15 deletions

View File

@@ -13,4 +13,6 @@ div class="mb-12 max-w-prose mx-auto text-gray-800 dark:text-gray-200"
div class="grid grid-cols-4 grid-flow-col gap-2 mb-6"
a class="block p-1 border border-lime-200 bg-lime-300 text-lime-900 hover:bg-lime-200 text-center rounded-lg" href="/colophon" 🧱 Colophon
a class="block p-1 border border-lime-200 bg-lime-300 text-lime-900 hover:bg-lime-200 text-center rounded-lg" href="/hikes" 🥾 Hikes
a class="block p-1 border border-lime-200 bg-lime-300 text-lime-900 hover:bg-lime-200 text-center rounded-lg" href="/movies" 🍿 Movies
/ a class="block p-1 border border-lime-200 bg-lime-300 text-lime-900 hover:bg-lime-200 text-center rounded-lg" href="/art" 🎨 Art things

View File

@@ -0,0 +1,18 @@
div class="mb-12 prose dark:prose-invert max-w-prose mx-auto text-gray-800 dark:text-gray-200"
h1 Movies
div class="mb-12 max-w-prose mx-auto"
table class="prose dark:prose-invert table-auto"
thead
tr
td Title
td Year
- movies.each do |movie|
tr
td
a href="#{movie.url}"
= movie.title
td
= movie.year
div class="max-w-screen-md mx-auto border-t-4 border-solid border-gray-400 dark:border-gray-600"