132 lines
8.6 KiB
HTML
132 lines
8.6 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>{% block title %}DirectLX{% endblock %} | DirectLX.dev</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=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300;1,9..40,400&display=swap" rel="stylesheet">
|
|
<link href="{{ url_for('static', filename='css/styles.css') }}" rel="stylesheet">
|
|
<script src="{{ url_for('static', filename='js/htmx.min.js') }}"></script>
|
|
{% block head %}{% endblock %}
|
|
</head>
|
|
<body class="min-h-screen flex flex-col" style="background-color: #07070f; font-family: 'DM Sans', sans-serif;">
|
|
|
|
<!-- Navigation -->
|
|
<nav class="sticky top-0 z-50 border-b" style="background: rgba(7,7,15,0.85); backdrop-filter: blur(20px); border-color: rgba(255,255,255,0.06);">
|
|
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
|
<div class="flex justify-between h-16">
|
|
<div class="flex items-center">
|
|
<a href="{{ url_for('index') }}" class="flex items-center gap-3 group">
|
|
<img src="{{ url_for('static', filename='images/directLX_small.png') }}" alt="DirectLX" class="h-9 opacity-90 group-hover:opacity-100 transition-opacity">
|
|
</a>
|
|
</div>
|
|
|
|
<!-- Desktop Navigation -->
|
|
<div class="hidden md:flex items-center gap-1">
|
|
<a href="{{ url_for('index') }}" class="nav-link px-4 py-2 rounded-lg hover:bg-white/5 {% if request.endpoint == 'index' %}nav-link-active bg-white/5{% endif %}">Home</a>
|
|
<a href="{{ url_for('about') }}" class="nav-link px-4 py-2 rounded-lg hover:bg-white/5 {% if request.endpoint == 'about' %}nav-link-active bg-white/5{% endif %}">About</a>
|
|
<a href="{{ url_for('services') }}" class="nav-link px-4 py-2 rounded-lg hover:bg-white/5 {% if request.endpoint == 'services' %}nav-link-active bg-white/5{% endif %}">Services</a>
|
|
<a href="{{ url_for('blog_index') }}" class="nav-link px-4 py-2 rounded-lg hover:bg-white/5 {% if 'blog' in request.endpoint %}nav-link-active bg-white/5{% endif %}">Blog</a>
|
|
<a href="{{ url_for('forum_index') }}" class="nav-link px-4 py-2 rounded-lg hover:bg-white/5 {% if 'forum' in request.endpoint %}nav-link-active bg-white/5{% endif %}">Forum</a>
|
|
<div class="ml-4 pl-4" style="border-left: 1px solid rgba(255,255,255,0.08);">
|
|
<a href="{{ url_for('contact') }}" class="btn btn-primary text-sm">Contact</a>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Mobile menu button -->
|
|
<div class="md:hidden flex items-center">
|
|
<button id="mobile-menu-btn" class="text-gray-400 hover:text-white p-2 rounded-lg hover:bg-white/5 transition-colors">
|
|
<svg class="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h16" />
|
|
</svg>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Mobile Navigation -->
|
|
<div id="mobile-menu" class="hidden md:hidden border-t" style="background: rgba(7,7,15,0.95); border-color: rgba(255,255,255,0.06);">
|
|
<div class="px-4 py-4 space-y-1">
|
|
<a href="{{ url_for('index') }}" class="block nav-link px-4 py-2.5 rounded-lg hover:bg-white/5">Home</a>
|
|
<a href="{{ url_for('about') }}" class="block nav-link px-4 py-2.5 rounded-lg hover:bg-white/5">About</a>
|
|
<a href="{{ url_for('services') }}" class="block nav-link px-4 py-2.5 rounded-lg hover:bg-white/5">Services</a>
|
|
<a href="{{ url_for('blog_index') }}" class="block nav-link px-4 py-2.5 rounded-lg hover:bg-white/5">Blog</a>
|
|
<a href="{{ url_for('forum_index') }}" class="block nav-link px-4 py-2.5 rounded-lg hover:bg-white/5">Forum</a>
|
|
<div class="pt-2">
|
|
<a href="{{ url_for('contact') }}" class="btn btn-primary w-full">Contact</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
|
|
<!-- Flash Messages -->
|
|
{% with messages = get_flashed_messages(with_categories=true) %}
|
|
{% if messages %}
|
|
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 mt-4 w-full">
|
|
{% for category, message in messages %}
|
|
<div class="p-4 rounded-xl mb-2 text-sm font-medium
|
|
{% if category == 'error' %}border border-red-500/30 bg-red-500/10 text-red-300
|
|
{% elif category == 'success' %}border border-emerald-500/30 bg-emerald-500/10 text-emerald-300
|
|
{% else %}border border-primary-500/30 bg-primary-500/10 text-primary-300{% endif %}">
|
|
{{ message }}
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
{% endif %}
|
|
{% endwith %}
|
|
|
|
<!-- Main Content -->
|
|
<main class="flex-grow">
|
|
{% block content %}{% endblock %}
|
|
</main>
|
|
|
|
<!-- Footer -->
|
|
<footer style="background: #0a0a14; border-top: 1px solid rgba(255,255,255,0.06);">
|
|
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-14">
|
|
<div class="grid grid-cols-1 md:grid-cols-4 gap-10">
|
|
<div class="col-span-1 md:col-span-2">
|
|
<img src="{{ url_for('static', filename='images/directLX_small.png') }}" alt="DirectLX" class="h-9 mb-5 opacity-80">
|
|
<p class="text-sm leading-relaxed" style="color: #6b6b8a; max-width: 300px;">
|
|
Building innovative software solutions that drive business growth. Custom development, consulting, and technical excellence.
|
|
</p>
|
|
<!-- Status badge -->
|
|
<div class="mt-6 inline-flex items-center gap-2 px-3 py-1.5 rounded-full text-xs" style="background: rgba(247,147,30,0.08); border: 1px solid rgba(247,147,30,0.2); color: #fdba74;">
|
|
<span class="w-1.5 h-1.5 rounded-full bg-accent-400 pulse-glow-anim"></span>
|
|
All systems operational
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<h3 class="text-xs font-semibold tracking-widest uppercase mb-5" style="color: #6b6b8a; font-family: 'Syne', sans-serif;">Company</h3>
|
|
<ul class="space-y-3">
|
|
<li><a href="{{ url_for('index') }}" class="text-sm hover:text-white transition-colors" style="color: #8b8ca8;">Home</a></li>
|
|
<li><a href="{{ url_for('about') }}" class="text-sm hover:text-white transition-colors" style="color: #8b8ca8;">About</a></li>
|
|
<li><a href="{{ url_for('services') }}" class="text-sm hover:text-white transition-colors" style="color: #8b8ca8;">Services</a></li>
|
|
<li><a href="{{ url_for('blog_index') }}" class="text-sm hover:text-white transition-colors" style="color: #8b8ca8;">Blog</a></li>
|
|
</ul>
|
|
</div>
|
|
<div>
|
|
<h3 class="text-xs font-semibold tracking-widest uppercase mb-5" style="color: #6b6b8a; font-family: 'Syne', sans-serif;">Community</h3>
|
|
<ul class="space-y-3">
|
|
<li><a href="{{ url_for('forum_index') }}" class="text-sm hover:text-white transition-colors" style="color: #8b8ca8;">Forum</a></li>
|
|
<li><a href="{{ url_for('contact') }}" class="text-sm hover:text-white transition-colors" style="color: #8b8ca8;">Contact</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="mt-12 pt-8 flex flex-col sm:flex-row justify-between items-center gap-4" style="border-top: 1px solid rgba(255,255,255,0.05);">
|
|
<p class="text-xs" style="color: #4a4a6a;">© {{ now.year if now else '2024' }} DirectLX.dev. All rights reserved.</p>
|
|
<p class="text-xs" style="color: #4a4a6a;">Built with precision & care.</p>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
|
|
<script>
|
|
document.getElementById('mobile-menu-btn').addEventListener('click', function() {
|
|
document.getElementById('mobile-menu').classList.toggle('hidden');
|
|
});
|
|
</script>
|
|
{% block scripts %}{% endblock %}
|
|
</body>
|
|
</html>
|