Update templates/base.html
Browse files- templates/base.html +3 -5
templates/base.html
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
-
<title>Carwala -
|
| 7 |
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" rel="stylesheet">
|
| 9 |
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
|
|
@@ -13,7 +13,7 @@
|
|
| 13 |
<nav class="bg-blue-600 text-white shadow-lg">
|
| 14 |
<div class="container mx-auto px-4">
|
| 15 |
<div class="flex justify-between items-center py-4">
|
| 16 |
-
<a href="{{ url_for('index') }}" class="text-2xl font-bold"
|
| 17 |
|
| 18 |
<div class="flex space-x-4">
|
| 19 |
{% if session.get('user_id') %}
|
|
@@ -23,7 +23,6 @@
|
|
| 23 |
<a href="{{ url_for('seller_dashboard') }}" class="hover:bg-blue-700 px-3 py-2 rounded">Seller Dashboard</a>
|
| 24 |
{% endif %}
|
| 25 |
<a href="{{ url_for('index') }}" class="hover:bg-blue-700 px-3 py-2 rounded">Home</a>
|
| 26 |
-
<span class="px-3 py-2">Welcome, {{ session.get('email') }}</span>
|
| 27 |
<a href="{{ url_for('logout') }}" class="hover:bg-blue-700 px-3 py-2 rounded">Logout</a>
|
| 28 |
{% else %}
|
| 29 |
<a href="{{ url_for('index') }}" class="hover:bg-blue-700 px-3 py-2 rounded">Home</a>
|
|
@@ -56,8 +55,7 @@
|
|
| 56 |
<!-- Footer -->
|
| 57 |
<footer class="bg-gray-800 text-white py-8 mt-12">
|
| 58 |
<div class="container mx-auto px-4 text-center">
|
| 59 |
-
<p>© 2024 Carwala
|
| 60 |
-
<p class="mt-2">📍 Made in India for Indian Car Enthusiasts</p>
|
| 61 |
</div>
|
| 62 |
</footer>
|
| 63 |
|
|
|
|
| 3 |
<head>
|
| 4 |
<meta charset="UTF-8">
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Carwala - Your Car Marketplace</title>
|
| 7 |
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" rel="stylesheet">
|
| 9 |
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
|
|
|
|
| 13 |
<nav class="bg-blue-600 text-white shadow-lg">
|
| 14 |
<div class="container mx-auto px-4">
|
| 15 |
<div class="flex justify-between items-center py-4">
|
| 16 |
+
<a href="{{ url_for('index') }}" class="text-2xl font-bold">Carwala</a>
|
| 17 |
|
| 18 |
<div class="flex space-x-4">
|
| 19 |
{% if session.get('user_id') %}
|
|
|
|
| 23 |
<a href="{{ url_for('seller_dashboard') }}" class="hover:bg-blue-700 px-3 py-2 rounded">Seller Dashboard</a>
|
| 24 |
{% endif %}
|
| 25 |
<a href="{{ url_for('index') }}" class="hover:bg-blue-700 px-3 py-2 rounded">Home</a>
|
|
|
|
| 26 |
<a href="{{ url_for('logout') }}" class="hover:bg-blue-700 px-3 py-2 rounded">Logout</a>
|
| 27 |
{% else %}
|
| 28 |
<a href="{{ url_for('index') }}" class="hover:bg-blue-700 px-3 py-2 rounded">Home</a>
|
|
|
|
| 55 |
<!-- Footer -->
|
| 56 |
<footer class="bg-gray-800 text-white py-8 mt-12">
|
| 57 |
<div class="container mx-auto px-4 text-center">
|
| 58 |
+
<p>© 2024 Carwala. All rights reserved.</p>
|
|
|
|
| 59 |
</div>
|
| 60 |
</footer>
|
| 61 |
|