Doobdeedoo's picture
what about the backend?
b72178b verified
Raw
History Blame Contribute Delete
18.4 kB
<!DOCTYPE html>
<html lang="en" class="dark">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>LogFlow - Lightweight Log Management</title>
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.net.min.js"></script>
<script>
tailwind.config = {
darkMode: 'class',
theme: {
extend: {
colors: {
primary: '#3b82f6',
secondary: '#6366f1',
}
}
}
}
</script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
body {
font-family: 'Inter', sans-serif;
}
#vanta-bg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
opacity: 0.4;
}
.feature-card:hover {
transform: translateY(-5px);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
</style>
</head>
<body class="bg-gray-900 text-gray-200 min-h-screen">
<div id="vanta-bg"></div>
<header class="relative z-10">
<nav class="container mx-auto px-6 py-6">
<div class="flex justify-between items-center">
<div class="flex items-center space-x-2">
<i data-feather="activity" class="text-primary w-8 h-8"></i>
<span class="text-2xl font-bold bg-gradient-to-r from-primary to-secondary bg-clip-text text-transparent">LogFlow</span>
</div>
<div class="hidden md:flex space-x-8">
<a href="#" class="text-gray-300 hover:text-white transition">Features</a>
<a href="api.html" class="text-gray-300 hover:text-white transition">API</a>
<a href="documentation.html" class="text-gray-300 hover:text-white transition">Documentation</a>
<a href="#" class="text-gray-300 hover:text-white transition">Pricing</a>
<a href="#" class="text-gray-300 hover:text-white transition">Community</a>
</div>
<div class="flex items-center space-x-4">
<button class="hidden md:block px-4 py-2 rounded-md bg-gradient-to-r from-primary to-secondary hover:opacity-90 transition text-white">
Download Now
</button>
<button id="theme-toggle" class="p-2 rounded-full bg-gray-800 hover:bg-gray-700">
<i data-feather="moon" class="w-5 h-5"></i>
</button>
<button class="md:hidden p-2 rounded-full bg-gray-800 hover:bg-gray-700">
<i data-feather="menu" class="w-5 h-5"></i>
</button>
</div>
</div>
</nav>
</header>
<main class="relative z-10">
<!-- Hero Section -->
<section class="container mx-auto px-6 py-20 md:py-32">
<div class="flex flex-col md:flex-row items-center">
<div class="md:w-1/2 mb-12 md:mb-0">
<h1 class="text-4xl md:text-6xl font-bold leading-tight mb-6">
<span class="bg-gradient-to-r from-primary to-secondary bg-clip-text text-transparent">Lightweight</span> Log Management
</h1>
<p class="text-xl text-gray-400 mb-8 max-w-lg">
Collect, forward, and visualize logs without the bloat. LogFlow gives you the power of enterprise logging without the complexity.
</p>
<div class="flex flex-col sm:flex-row space-y-4 sm:space-y-0 sm:space-x-4">
<button class="px-6 py-3 rounded-md bg-gradient-to-r from-primary to-secondary hover:opacity-90 transition text-white font-medium">
Get Started for Free
</button>
<button class="px-6 py-3 rounded-md bg-gray-800 hover:bg-gray-700 transition text-white font-medium">
<div class="flex items-center space-x-2">
<i data-feather="play" class="w-4 h-4"></i>
<span>Watch Demo</span>
</div>
</button>
</div>
</div>
<div class="md:w-1/2">
<div class="relative">
<div class="absolute -top-4 -left-4 w-full h-full rounded-xl border-2 border-primary opacity-20"></div>
<div class="relative bg-gray-800 rounded-xl overflow-hidden shadow-2xl">
<div class="bg-gray-800 p-4 flex space-x-2">
<div class="w-3 h-3 rounded-full bg-red-500"></div>
<div class="w-3 h-3 rounded-full bg-yellow-500"></div>
<div class="w-3 h-3 rounded-full bg-green-500"></div>
</div>
<div class="p-6 font-mono text-sm">
<p class="text-green-400">$ ./logflow install</p>
<p class="text-gray-400">Installing LogFlow agent...</p>
<p class="text-green-400">$ ./logflow config</p>
<p class="text-gray-400">Configure log sources:</p>
<p class="text-blue-400 ml-4">- /var/log/syslog</p>
<p class="text-blue-400 ml-4">- /var/log/nginx/*.log</p>
<p class="text-green-400">$ ./logflow start</p>
<p class="text-gray-400">LogFlow agent started successfully!</p>
<p class="text-gray-400">Forwarding logs to: https://logs.yourdomain.com</p>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Features Section -->
<section class="bg-gray-800 py-20">
<div class="container mx-auto px-6">
<div class="text-center mb-16">
<h2 class="text-3xl md:text-4xl font-bold mb-4">Powerful Features</h2>
<p class="text-xl text-gray-400 max-w-2xl mx-auto">
Everything you need for efficient log management without the overhead
</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
<!-- Feature 1 -->
<div class="feature-card bg-gray-900 rounded-xl p-8 transition-all duration-300 hover:border-primary border border-gray-800">
<div class="w-14 h-14 rounded-full bg-primary bg-opacity-10 flex items-center justify-center mb-6">
<i data-feather="download" class="text-primary w-6 h-6"></i>
</div>
<h3 class="text-xl font-bold mb-3">Lightweight Collection</h3>
<p class="text-gray-400">
Minimal resource usage with efficient log collection from multiple sources including files, syslog, and containers.
</p>
</div>
<!-- Feature 2 -->
<div class="feature-card bg-gray-900 rounded-xl p-8 transition-all duration-300 hover:border-primary border border-gray-800">
<div class="w-14 h-14 rounded-full bg-primary bg-opacity-10 flex items-center justify-center mb-6">
<i data-feather="send" class="text-primary w-6 h-6"></i>
</div>
<h3 class="text-xl font-bold mb-3">Secure Forwarding</h3>
<p class="text-gray-400">
Reliable log forwarding with TLS encryption to multiple destinations including your preferred log management platform.
</p>
</div>
<!-- Feature 3 -->
<div class="feature-card bg-gray-900 rounded-xl p-8 transition-all duration-300 hover:border-primary border border-gray-800">
<div class="w-14 h-14 rounded-full bg-primary bg-opacity-10 flex items-center justify-center mb-6">
<i data-feather="eye" class="text-primary w-6 h-6"></i>
</div>
<h3 class="text-xl font-bold mb-3">Basic Visualization</h3>
<p class="text-gray-400">
Optional dashboard for quick insights into your log data without needing complex setup.
</p>
</div>
<!-- Feature 4 -->
<div class="feature-card bg-gray-900 rounded-xl p-8 transition-all duration-300 hover:border-primary border border-gray-800">
<div class="w-14 h-14 rounded-full bg-primary bg-opacity-10 flex items-center justify-center mb-6">
<i data-feather="shield" class="text-primary w-6 h-6"></i>
</div>
<h3 class="text-xl font-bold mb-3">Security Focused</h3>
<p class="text-gray-400">
Built with security in mind featuring data masking, audit logs, and secure authentication.
</p>
</div>
<!-- Feature 5 -->
<div class="feature-card bg-gray-900 rounded-xl p-8 transition-all duration-300 hover:border-primary border border-gray-800">
<div class="w-14 h-14 rounded-full bg-primary bg-opacity-10 flex items-center justify-center mb-6">
<i data-feather="cpu" class="text-primary w-6 h-6"></i>
</div>
<h3 class="text-xl font-bold mb-3">High Performance</h3>
<p class="text-gray-400">
Optimized for high throughput with minimal impact on your system resources.
</p>
</div>
<!-- Feature 6 -->
<div class="feature-card bg-gray-900 rounded-xl p-8 transition-all duration-300 hover:border-primary border border-gray-800">
<div class="w-14 h-14 rounded-full bg-primary bg-opacity-10 flex items-center justify-center mb-6">
<i data-feather="code" class="text-primary w-6 h-6"></i>
</div>
<h3 class="text-xl font-bold mb-3">Developer Friendly</h3>
<p class="text-gray-400">
Simple configuration files and CLI for easy setup and integration with your workflow.
</p>
</div>
</div>
</div>
</section>
<!-- CTA Section -->
<section class="py-20">
<div class="container mx-auto px-6 text-center">
<div class="max-w-3xl mx-auto">
<h2 class="text-3xl md:text-4xl font-bold mb-6">Ready to simplify your logging?</h2>
<p class="text-xl text-gray-400 mb-8">
Join thousands of developers and system administrators who trust LogFlow for their log management needs.
</p>
<button class="px-8 py-4 rounded-md bg-gradient-to-r from-primary to-secondary hover:opacity-90 transition text-white font-medium text-lg">
Download LogFlow - It's Free!
</button>
</div>
</div>
</section>
</main>
<footer class="bg-gray-800 py-12">
<div class="container mx-auto px-6">
<div class="flex flex-col md:flex-row justify-between items-center">
<div class="flex items-center space-x-2 mb-6 md:mb-0">
<i data-feather="activity" class="text-primary w-6 h-6"></i>
<span class="text-xl font-bold bg-gradient-to-r from-primary to-secondary bg-clip-text text-transparent">LogFlow</span>
</div>
<div class="flex space-x-6">
<a href="#" class="text-gray-400 hover:text-white transition"><i data-feather="github" class="w-5 h-5"></i></a>
<a href="#" class="text-gray-400 hover:text-white transition"><i data-feather="twitter" class="w-5 h-5"></i></a>
<a href="#" class="text-gray-400 hover:text-white transition"><i data-feather="linkedin" class="w-5 h-5"></i></a>
<a href="#" class="text-gray-400 hover:text-white transition"><i data-feather="slack" class="w-5 h-5"></i></a>
</div>
</div>
<div class="border-t border-gray-700 mt-8 pt-8 flex flex-col md:flex-row justify-between">
<div class="grid grid-cols-2 md:grid-cols-4 gap-8 mb-8 md:mb-0">
<div>
<h4 class="text-gray-300 font-semibold mb-4">Product</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white transition">Features</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Pricing</a></li>
<li><a href="api.html" class="text-gray-400 hover:text-white transition">API</a></li>
<li><a href="documentation.html" class="text-gray-400 hover:text-white transition">Documentation</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Releases</a></li>
</ul>
</div>
<div>
<h4 class="text-gray-300 font-semibold mb-4">Company</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white transition">About</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Blog</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Careers</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Contact</a></li>
</ul>
</div>
<div>
<h4 class="text-gray-300 font-semibold mb-4">Resources</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white transition">Community</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Tutorials</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Support</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">API Status</a></li>
</ul>
</div>
<div>
<h4 class="text-gray-300 font-semibold mb-4">Legal</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white transition">Privacy</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Terms</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Cookie Policy</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Licenses</a></li>
</ul>
</div>
</div>
</div>
<div class="text-center text-gray-500 text-sm mt-8">
&copy; 2023 LogFlow. All rights reserved.
</div>
</div>
</footer>
<script>
// Initialize Vanta.js background
VANTA.NET({
el: "#vanta-bg",
mouseControls: true,
touchControls: true,
gyroControls: false,
minHeight: 200.00,
minWidth: 200.00,
scale: 1.00,
scaleMobile: 1.00,
color: 0x3b82f6,
backgroundColor: 0x111827,
points: 10.00,
maxDistance: 20.00,
spacing: 15.00
});
// Feather icons
feather.replace();
// Theme toggle
const themeToggle = document.getElementById('theme-toggle');
const html = document.documentElement;
themeToggle.addEventListener('click', () => {
html.classList.toggle('dark');
const icon = themeToggle.querySelector('i');
if (html.classList.contains('dark')) {
feather.icons['moon'].replace(icon);
} else {
feather.icons['sun'].replace(icon);
}
});
// Animation for feature cards on scroll
const featureCards = document.querySelectorAll('.feature-card');
const observer = new IntersectionObserver((entries) => {
entries.forEach(entry => {
if (entry.isIntersecting) {
entry.target.style.opacity = '1';
entry.target.style.transform = 'translateY(0)';
}
});
}, { threshold: 0.1 });
featureCards.forEach(card => {
card.style.opacity = '0';
card.style.transform = 'translateY(20px)';
card.style.transition = 'opacity 0.5s ease, transform 0.5s ease';
observer.observe(card);
});
</script>
</body>
</html>