forked from rDrama/rDrama
1
0
Fork 0

Merge branch 'frost' of https://github.com/Aevann1/Drama into frost

master
Aevann1 2021-12-25 22:46:51 +02:00
commit 3f71bb3a9d
2 changed files with 10 additions and 7 deletions

View File

@ -41,13 +41,13 @@
<div class="flex flex-col gap-2">
<div class="bg-gray-700 shadow-inner border border-gray-900 rounded-md overflow-hidden">
<p class="p-2 text-sm font-serif italic text-gray-300">
"Oh God the site is so fucking ugly"
"People who open presents and celebrate on Christmas Eve may be godless heathens damned to eternal suffering in the deepest layer of hell, but I'm willing look past it for the sake of these cute oversized squirrels. Here's one trying to say hi up at our cabin."
</p>
<div class="p-2 bg-gray-700 border-t border-gray-800 shadow-inset-t-white-05">
<img loading="lazy" src="https://rdrama.net/images/16393473254r.webp" class="inline-block flex-shrink-0 object-cover h-9 w-9 p-[3px] bg-white border border-gray-800" alt="avatar"/>
<img loading="lazy" src="https://i.imgur.com/92Oq1k1.webp" class="inline-block flex-shrink-0 object-cover h-9 w-9 p-[3px] bg-white border border-gray-800" alt="avatar"/>
<strong class="pl-1 text-sm font-bold">
<a href="/post/29747/rdrama-presents-fistmas-2021-santa-claus/956448?context=9#context" class="text-gray-300 hover:text-gray-200">
@Gigavaccinator
<a href="https://rdrama.com/post/32017/merry-christmas/1063687?context=9#context" class="text-gray-300 hover:text-gray-200">
@Slugabed
</a>
</strong>
</div>

View File

@ -1,4 +1,4 @@
{% set random = range(1, 10)|random() %}
{% set random = range(1, 11)|random() %}
<div class="hidden xl:block xl:col-start-10 xl:col-end-13 flex-shrink-0 py-4">
<div>
@ -56,9 +56,12 @@
</ul>
</div>
<hr class="mt-6 mb-5 h-0.5 border-b border-gray-300 dark:border-gray-900 shadow-inset-t-white-05"/>
<button data-bs-toggle="modal" data-bs-target="#expandImageModal" data-bs-url="/assets/CHRISTMAS/banners/banner-{{ random }}.jpg" onclick="expandDesktopImage('/assets/CHRISTMAS/banners/banner-{{ random }}.jpg')" class="w-full h-56 shadow-sm p-[3px] bg-white dark:bg-gray-900 overflow-hidden">
<img class="w-full h-full flex-shrink-0 object-contain cursor-pointer" src="/assets/CHRISTMAS/banners/banner-{{ random }}.jpg" alt="cat in a bar wearing a santa hat"/>
<button data-bs-toggle="modal" data-bs-target="#expandImageModal" data-bs-url="/assets/CHRISTMAS/banners/banner-11.gif" onclick="expandDesktopImage('/assets/CHRISTMAS/banners/banner-11.gif')" class="w-full h-56 shadow-sm p-[3px] bg-white dark:bg-gray-900 overflow-hidden">
<img class="w-full h-full flex-shrink-0 object-contain cursor-pointer" src="/assets/CHRISTMAS/banners/banner-11.gif" alt="cat in a bar wearing a santa hat"/>
</button>
<small class="block mt-1 text-right text-gray-500">
Artwork by <a href="/@cynic" class="font-bold">@cynic</a> and <a href="/@dramarama" class="font-bold">@dramarama</a>
</small>
{% if v %}
<hr class="mt-6 mb-5 h-0.5 border-b border-gray-300 dark:border-gray-900 shadow-inset-t-white-05"/>
<div class="flex flex-col sticky top-4">