adding custom meme template instead of fixed library

This commit is contained in:
2026-05-22 08:18:30 +02:00
parent 9c46396a39
commit 7e00c090e2
9 changed files with 172 additions and 9 deletions

View File

@@ -14,6 +14,15 @@
</div>
<div class="template-grid">
<a href="/meme/custom" class="template-item custom-template-card" data-category="All">
<div class="template-image-wrapper" style="background: var(--nav-bg, #2b2b2b); border-bottom: 1px solid rgba(255,255,255,0.05);">
<i class="fa fa-upload" style="font-size: 3.5rem; color: var(--accent, #9f0);"></i>
</div>
<div class="template-info">
<span class="template-name">{{ t('meme.custom_template_title') }}</span>
<span class="template-category-tag">{{ t('meme.custom_template_tag') }}</span>
</div>
</a>
@each(templates as template)
<a href="/meme/{{ template.id }}" class="template-item" data-category="{!! template.category || 'General' !!}">
<div class="template-image-wrapper">