Set up theme app with initial structure, Tailwind CSS integration, and npm dependencies
This commit is contained in:
26
theme/templates/base.html
Normal file
26
theme/templates/base.html
Normal 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>
|
||||
Reference in New Issue
Block a user