Set up theme app with initial structure, Tailwind CSS integration, and npm dependencies

This commit is contained in:
2026-01-03 12:38:06 +01:00
parent 5573058e3e
commit 3e77b1edb8
12 changed files with 1922 additions and 38 deletions

26
theme/templates/base.html Normal file
View File

@@ -0,0 +1,26 @@
{% load static tailwind_tags %}
<!DOCTYPE html>
<html lang="en">
<head>
<title>Django Tailwind</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
{% tailwind_css %}
</head>
<body class="bg-gray-50 text-black font-serif leading-normal tracking-normal">
<div class="toast toast-top toast-end">
<div class="alert alert-info">
<span>Hello from daisyUi 👋</span>
</div>
</div>
<div class="container mx-auto">
<section class="flex items-center justify-center h-screen">
<h1 class="text-5xl">Django + Tailwind = ❤️</h1>
</section>
</div>
</body>
</html>