Further admin cleanup

This commit is contained in:
2024-02-03 10:13:36 +11:00
parent 7fa0ed39e3
commit 0b1bfa64e0

View File

@@ -14,7 +14,7 @@ div class="mb-4 max-w-prose mx-auto prose dark:prose-invert"
- photos.each_with_index do |photo, idx|
- if photo.match(/.mp3/)
div class="rounded max-w-xs" x-data="" id="photo-#{idx}"
div class="h-48 w-48 mb-2"
div class="h-48 w-48 mb-2 mt-8"
audio class="w-48" controls="" src="/#{photo.gsub("public/", "")}"
div class="grid grid-cols-2 gap-2"
button class="hover:text-blue-400 p-1 bg-blue-100 rounded text-blue-600 no-underline" @click="$clipboard('#{Hanami.app.settings.micropub_site_url}/#{photo.gsub("public/", "")}')" Copy URL