Below is an example of a basic base.html template for a Django dashboard project using Tailwind CSS. This template includes a mobile-friendly design with proper navigation. Since you've requested not to use Django's template syntax ({{ }} or {% %}), I'll use placeholders instead.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Dashboard - [PROJECT_NAME]</title>
<link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
</head>
<body class="bg-gray-100">
<nav class="bg-blue-500 text-white p-4 flex justify-between">
<a href="#" class="text-lg font-bold">[PROJECT_NAME]</a>
<ul class="flex items-center space-x-4">
<li><a href="#" class="hover:text-gray-300">Dashboard</a></li>
<li><a href="#" class="hover:text-gray-300">Settings</a></li>
<li><a href="#" class="hover:text-gray-300">Logout</a></li>
</ul>
</nav>
<main class="container mx-auto p-4 pt-6 md:p-6 lg:p-12 xl:p-24">
<header class="mb-4">
<h1 class="text-3xl font-bold">[PAGE_TITLE]</h1>
</header>
<section class="flex flex-wrap -mx-4">
<div class="w-full md:w-1/2 xl:w-1/3 p-4">
<div class="bg-white rounded shadow p-4">
<h2 class="text-lg font-bold mb-2">[SECTION_TITLE]</h2>
<p>[SECTION_CONTENT]</p>
</div>
</div>
<div class="w-full md:w-1/2 xl:w-1/3 p-4">
<div class="bg-white rounded shadow p-4">
<h2 class="text-lg font-bold mb-2">[SECTION_TITLE]</h2>
<p>[SECTION_CONTENT]</p>
</div>
</div>
<div class="w-full md:w-1/2 xl:w-1/3 p-4">
<div class="bg-white rounded shadow p-4">
<h2 class="text-lg font-bold mb-2">[SECTION_TITLE]</h2>
<p>[SECTION_CONTENT]</p>
</div>
</div>
</section>
</main>
<footer class="bg-blue-500 text-white p-4 text-center mt-4">
<p>© [YEAR] [PROJECT_NAME]. All rights reserved.</p>
</footer>
</body>
</html>
This template includes:
- A navigation bar with links to the dashboard, settings, and logout.
- A main content area with a header and sections that can be customized.
- A footer with copyright information.
Replace the placeholders ([PROJECT_NAME], [PAGE_TITLE], [SECTION_TITLE], [SECTION_CONTENT], [YEAR]) with your actual content. This template is designed to be mobile-friendly and responsive, thanks to Tailwind CSS's utility classes.