directlx-dev/templates/index.html

154 lines
7.5 KiB
HTML

{% extends "base.html" %}
{% block title %}Home{% endblock %}
{% block content %}
<!-- Hero Section -->
<section class="bg-gradient-to-br from-primary-600 to-primary-800 text-white">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-24">
<div class="text-center">
<h1 class="text-4xl md:text-6xl font-bold mb-6">
Build Better Software,<br>
<span class="text-accent-400">Faster</span>
</h1>
<p class="text-xl text-primary-100 max-w-2xl mx-auto mb-8">
We help businesses transform their ideas into powerful, scalable software solutions.
From concept to deployment, we're your trusted development partner.
</p>
<div class="flex flex-col sm:flex-row gap-4 justify-center">
<a href="{{ url_for('contact') }}" class="btn bg-accent-500 text-white hover:bg-accent-600 px-8 py-3 text-lg">
Get Started
</a>
<a href="{{ url_for('services') }}" class="btn border-2 border-white text-white hover:bg-white hover:text-primary-600 px-8 py-3 text-lg">
Our Services
</a>
</div>
</div>
</div>
</section>
<!-- Features Section -->
<section class="py-20">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="text-center mb-16">
<h2 class="text-3xl font-bold text-gray-900 mb-4">Why Choose DirectLX?</h2>
<p class="text-gray-600 max-w-2xl mx-auto">
We combine technical expertise with a deep understanding of business needs
to deliver solutions that truly make a difference.
</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<div class="card text-center hover:shadow-lg transition-shadow">
<div class="w-16 h-16 bg-primary-100 rounded-full flex items-center justify-center mx-auto mb-4">
<svg class="w-8 h-8 text-primary-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 10V3L4 14h7v7l9-11h-7z" />
</svg>
</div>
<h3 class="text-xl font-semibold text-gray-900 mb-2">Fast Delivery</h3>
<p class="text-gray-600">
Agile methodology and modern tools ensure rapid development without compromising quality.
</p>
</div>
<div class="card text-center hover:shadow-lg transition-shadow">
<div class="w-16 h-16 bg-primary-100 rounded-full flex items-center justify-center mx-auto mb-4">
<svg class="w-8 h-8 text-primary-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m5.618-4.016A11.955 11.955 0 0112 2.944a11.955 11.955 0 01-8.618 3.04A12.02 12.02 0 003 9c0 5.591 3.824 10.29 9 11.622 5.176-1.332 9-6.03 9-11.622 0-1.042-.133-2.052-.382-3.016z" />
</svg>
</div>
<h3 class="text-xl font-semibold text-gray-900 mb-2">Secure & Reliable</h3>
<p class="text-gray-600">
Security-first approach with industry best practices and thorough testing.
</p>
</div>
<div class="card text-center hover:shadow-lg transition-shadow">
<div class="w-16 h-16 bg-primary-100 rounded-full flex items-center justify-center mx-auto mb-4">
<svg class="w-8 h-8 text-primary-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M17 20h5v-2a3 3 0 00-5.356-1.857M17 20H7m10 0v-2c0-.656-.126-1.283-.356-1.857M7 20H2v-2a3 3 0 015.356-1.857M7 20v-2c0-.656.126-1.283.356-1.857m0 0a5.002 5.002 0 019.288 0M15 7a3 3 0 11-6 0 3 3 0 016 0zm6 3a2 2 0 11-4 0 2 2 0 014 0zM7 10a2 2 0 11-4 0 2 2 0 014 0z" />
</svg>
</div>
<h3 class="text-xl font-semibold text-gray-900 mb-2">Expert Team</h3>
<p class="text-gray-600">
Experienced developers passionate about creating exceptional software solutions.
</p>
</div>
</div>
</div>
</section>
<!-- Stats Section -->
<section class="bg-gray-900 text-white py-16">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="grid grid-cols-2 md:grid-cols-4 gap-8 text-center">
<div>
<div class="text-4xl font-bold text-accent-400 mb-2">50+</div>
<div class="text-gray-400">Projects Delivered</div>
</div>
<div>
<div class="text-4xl font-bold text-accent-400 mb-2">30+</div>
<div class="text-gray-400">Happy Clients</div>
</div>
<div>
<div class="text-4xl font-bold text-accent-400 mb-2">5+</div>
<div class="text-gray-400">Years Experience</div>
</div>
<div>
<div class="text-4xl font-bold text-accent-400 mb-2">99%</div>
<div class="text-gray-400">Client Satisfaction</div>
</div>
</div>
</div>
</section>
<!-- Latest Blog Posts -->
<section class="py-20">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex justify-between items-center mb-12">
<h2 class="text-3xl font-bold text-gray-900">Latest from the Blog</h2>
<a href="{{ url_for('blog_index') }}" class="text-primary-600 hover:text-primary-700 font-medium">
View all posts &rarr;
</a>
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
{% if latest_posts %}
{% for post in latest_posts %}
<article class="card hover:shadow-lg transition-shadow">
<div class="text-sm text-gray-500 mb-2">{{ post.created_at.strftime('%B %d, %Y') }}</div>
<h3 class="text-xl font-semibold text-gray-900 mb-2">
<a href="{{ url_for('blog_post', slug=post.slug) }}" class="hover:text-primary-600">
{{ post.title }}
</a>
</h3>
<p class="text-gray-600 mb-4">{{ post.excerpt or post.content[:150] }}...</p>
<a href="{{ url_for('blog_post', slug=post.slug) }}" class="text-primary-600 hover:text-primary-700 font-medium">
Read more &rarr;
</a>
</article>
{% endfor %}
{% else %}
<div class="col-span-3 text-center text-gray-500 py-8">
<p>No blog posts yet. Check back soon!</p>
</div>
{% endif %}
</div>
</div>
</section>
<!-- CTA Section -->
<section class="bg-primary-600 text-white py-16">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 text-center">
<h2 class="text-3xl font-bold mb-4">Ready to Start Your Project?</h2>
<p class="text-primary-100 max-w-2xl mx-auto mb-8">
Let's discuss how we can help bring your vision to life.
Get in touch for a free consultation.
</p>
<a href="{{ url_for('contact') }}" class="btn bg-white text-primary-600 hover:bg-gray-100 px-8 py-3 text-lg">
Contact Us Today
</a>
</div>
</section>
{% endblock %}