Update home

This commit is contained in:
2023-02-25 13:57:42 +11:00
parent 1af509ec60
commit a5e2cf28c8
3 changed files with 11 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
div class="h-card mb-12 max-w-prose mx-auto text-gray-800 dark:text-gray-200"
div class="h-card prose dark:prose-invert mb-12 max-w-prose mx-auto text-gray-800 dark:text-gray-200"
p class="p-note"
== home_content
@@ -12,4 +12,8 @@ div class="mb-12 max-w-prose mx-auto"
- posts.each do |post|
== render :post, post: post
div class="grid grid-cols-3 gap-4 mb-4 max-w-prose mx-auto"
- photo_posts.each do |post|
== render :photo_post, post: post
div class="max-w-screen-md mx-auto border-t-4 border-solid border-gray-400 dark:border-gray-600"