Fix: add HTML head with CSS link to header partial

This commit is contained in:
Vivek 2026-05-31 07:23:23 +00:00
parent 9a5177e124
commit 60415a02fa
2 changed files with 19 additions and 6 deletions

View file

@ -8,12 +8,10 @@
<div class="footer-links">
<a href="/about">हमारे बारे में</a>
<a href="/contact">संपर्क करें</a>
<a href="/privacy">गोपनीयता नीति</a>
<a href="/terms">नियम एवं शर्तें</a>
</div>
<div class="footer-contact">
<p>सहायता: support@bharathtrucks.com</p>
</div>
<p class="footer-copy">© 2026 BharathTrucks. सर्वाधिकार सुरक्षित।</p>
</div>
</footer>
<script src="/js/app.js"></script>
</body>
</html>

View file

@ -1,3 +1,18 @@
<!DOCTYPE html>
<html lang="hi">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover">
<meta name="theme-color" content="#1a237e">
<title><%= typeof title !== 'undefined' ? title + ' | भारत ट्रक्स' : 'भारत ट्रक्स' %></title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;600;700&family=Noto+Sans+Devanagari:wght@400;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="/css/govt-theme.css">
<link rel="manifest" href="/manifest.json">
<link rel="icon" href="/images/favicon.svg" type="image/svg+xml">
</head>
<body>
<header class="govt-header">
<div class="header-inner">
<div class="header-brand">
@ -10,7 +25,7 @@
<nav class="header-nav">
<% if (user) { %>
<span class="header-user"><%= user.name || user.username %></span>
<a href="/auth/logout" class="header-link">लॉगआउट</a>
<a href="/logout" class="header-link">लॉगआउट</a>
<% } else { %>
<a href="/login" class="header-link">लॉगिन</a>
<a href="/register" class="btn-header-cta">पंजीकरण</a>