Files
netdeploy.net/templates/base.html

55 lines
2.3 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!doctype html>
<html lang="en" class="h-full bg-zinc-950">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>{{ title or "Quote Estimator" }}</title>
<meta name="color-scheme" content="dark" />
<!-- Tailwind CDN for speed -->
<script src="https://cdn.tailwindcss.com"></script>
<style>
:root { --accent: 255, 225, 87; } /* warm gold */
.glass { background: rgba(255,255,255,0.05); backdrop-filter: blur(8px); }
.card { border: 1px solid rgba(255,255,255,0.08); border-radius: 1rem; }
.btn { display:inline-flex; align-items:center; gap:.5rem; border:1px solid rgba(255,255,255,.15); padding:.75rem 1rem; border-radius:.75rem; }
.btn:hover { border-color: rgba(255,255,255,.35); transform: translateY(-1px); }
.accent { color: rgb(var(--accent)); }
.bg-accent { background-color: rgb(var(--accent)); color:#111; }
input, select, textarea { background:#0b0b0b; border:1px solid rgba(255,255,255,.12); border-radius:.75rem; padding:.65rem .8rem; }
label { color: #e5e5e5; font-weight: 500; }
</style>
</head>
<body class="min-h-full text-zinc-100">
<header class="sticky top-0 z-40 glass border-b border-white/10">
<div class="max-w-5xl mx-auto px-6 py-4 flex items-center justify-between">
<a href="/" class="flex items-center gap-3">
<div class="size-8 rounded bg-accent grid place-items-center font-black">BH</div>
<span class="font-bold tracking-wide">Bennys House — NetDeploy</span>
</a>
<nav class="text-sm">
<a class="hover:underline" href="/">Request a Quote</a>
</nav>
</div>
</header>
<main class="max-w-5xl mx-auto px-6 py-10">
{% with messages = get_flashed_messages(with_categories=true) %}
{% if messages %}
<div class="space-y-2 mb-6">
{% for category, msg in messages %}
<div class="p-3 rounded border {{ 'border-red-400 text-red-300' if category=='error' else 'border-green-400 text-green-300' }}">{{ msg }}</div>
{% endfor %}
</div>
{% endif %}
{% endwith %}
{% block content %}{% endblock %}
</main>
<footer class="py-10 border-t border-white/10 text-sm text-white/60">
<div class="max-w-5xl mx-auto px-6">
<p>© {{ 2025 }} Bennys House LLC. All rights reserved.</p>
</div>
</footer>
</body>
</html>