chore: remove unneeded templates

This commit is contained in:
2026-03-11 11:14:38 +01:00
parent 9efe6b0295
commit 3a01af5934
30 changed files with 21 additions and 393 deletions

View File

@@ -4,5 +4,19 @@
{% block content %}
<div class="container mx-auto px-4 py-8">
<h1 class="text-3xl font-bold mb-6">{% trans "Witaj, " %}{{ user.first_name }}!</h1>
<p class="text-xl">Twoje kursy:</p>
<ul class="list-disc list-inside mt-4">
<!-- courses as cards -->
{% for course in courses %}
<li class="mb-4">
<a href="{{ course.url }}" class="block p-4 bg-white rounded-lg shadow hover:bg-gray-50 transition">
<h2 class="text-2xl font-semibold">{{ course.title }}</h2>
<p class="text-gray-600">{{ course.description }}</p>
</a>
</li>
{% empty %}
<li class="text-gray-600">Nie masz jeszcze żadnych kursów. <a href="/coursesTODO" class="text-blue-500 hover:underline">Znajdź kursy</a> dla siebie!</li>
{% endfor %}
</ul>
</div>
{% endblock %}