178 lines
7.5 KiB
Plaintext
178 lines
7.5 KiB
Plaintext
<!DOCTYPE html>
|
|
<html lang="fr">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>CDN - Myaxrin Labs</title>
|
|
<script src="https://cdn.tailwindcss.com"></script>
|
|
<link rel="icon" href="https://cdn.dinawo.fr/public/assets/homelab_logo.png"/>
|
|
<style>
|
|
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
|
|
|
|
body {
|
|
font-family: 'Inter', sans-serif;
|
|
background-color: #0A0B14;
|
|
color: #fff;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.feature-card {
|
|
background: rgba(30, 41, 59, 0.3);
|
|
border: 1px solid rgba(255, 255, 255, 0.05);
|
|
border-radius: 12px;
|
|
backdrop-filter: blur(10px);
|
|
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
|
}
|
|
|
|
.feature-card:hover {
|
|
transform: translateY(-5px);
|
|
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
.login-button {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.login-button:hover {
|
|
background: rgba(255, 255, 255, 0.15);
|
|
}
|
|
|
|
.feature-icon {
|
|
color: #60A5FA;
|
|
transition: transform 0.3s ease;
|
|
}
|
|
|
|
.feature-card:hover .feature-icon {
|
|
transform: scale(1.1);
|
|
}
|
|
|
|
.powered-by {
|
|
background: linear-gradient(90deg, #3B82F6, #60A5FA);
|
|
-webkit-background-clip: text;
|
|
background-clip: text;
|
|
color: transparent;
|
|
transition: opacity 0.2s ease;
|
|
}
|
|
|
|
.powered-by:hover {
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.animate-fade-in-up {
|
|
opacity: 0;
|
|
transform: translateY(20px);
|
|
animation: fade-in-up 0.6s ease-out forwards;
|
|
}
|
|
|
|
.animate-fade-in-up-visible {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
|
|
@keyframes fade-in-up {
|
|
0% {
|
|
opacity: 0;
|
|
transform: translateY(20px);
|
|
}
|
|
100% {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<!-- Navigation -->
|
|
<nav class="border-b border-gray-800/30">
|
|
<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">
|
|
<img src="https://cdn.dinawo.fr/public/assets/homelab_logo.png" alt="Logo" class="w-8 h-8 transition-transform duration-300 ease-in-out hover:scale-105">
|
|
</div>
|
|
<div class="flex items-center gap-4">
|
|
<a href="/auth/login" class="login-button text-sm px-4 py-2 rounded-lg font-medium">
|
|
Connexion
|
|
</a>
|
|
<button class="text-gray-400 hover:text-white transition-colors duration-300">
|
|
<svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 3v1m0 16v1m9-9h-1M4 12H3m15.364 6.364l-.707-.707M6.343 6.343l-.707-.707m12.728 0l-.707.707M6.343 17.657l-.707.707M16 12a4 4 0 11-8 0 4 4 0 018 0z" />
|
|
</svg>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
|
|
<!-- Hero Section -->
|
|
<main class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
|
<div class="text-center py-20 opacity-0 animate-fade-in-up">
|
|
<h2 class="text-blue-400 text-sm font-medium tracking-wide uppercase mb-3">Fonctionnalités</h2>
|
|
<h1 class="text-3xl font-bold tracking-tight mb-4">Tout ce dont vous avez besoin pour<br>votre CDN</h1>
|
|
<p class="text-gray-400 text-lg max-w-2xl mx-auto">
|
|
Notre CDN self-hosted offre une solution complète pour gérer et distribuer vos fichiers efficacement.
|
|
</p>
|
|
<a href="https://cdn-app.dinawo.fr/"
|
|
class="powered-by inline-block mt-4 text-lg font-medium">
|
|
Propulsé par Myaxrin Labs →
|
|
</a>
|
|
</div>
|
|
|
|
<!-- Features Grid -->
|
|
<div class="grid grid-cols-1 md:grid-cols-3 gap-6 pb-20 opacity-0 animate-fade-in-up">
|
|
<div class="feature-card p-8 text-center">
|
|
<div class="text-center mb-4">
|
|
<svg class="w-8 h-8 mx-auto text-blue-400 feature-icon" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M15 13l-3-3m0 0l-3 3m3-3v12"/>
|
|
</svg>
|
|
</div>
|
|
<h3 class="text-lg font-semibold mb-2">Téléversement facile</h3>
|
|
<p class="text-gray-400 text-sm">Téléversez vos fichiers rapidement et en toute sécurité sur votre propre infrastructure.</p>
|
|
</div>
|
|
|
|
<div class="feature-card p-8 text-center">
|
|
<div class="text-center mb-4">
|
|
<svg class="w-8 h-8 mx-auto text-blue-400 feature-icon" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
|
<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-lg font-semibold mb-2">Sécurité renforcée</h3>
|
|
<p class="text-gray-400 text-sm">Bénéficiez d'une protection avancée pour vos fichiers et vos données.</p>
|
|
</div>
|
|
|
|
<div class="feature-card p-8 text-center">
|
|
<div class="text-center mb-4">
|
|
<svg class="w-8 h-8 mx-auto text-blue-400 feature-icon" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 10V3L4 14h7v7l9-11h-7z"/>
|
|
</svg>
|
|
</div>
|
|
<h3 class="text-lg font-semibold mb-2">Performance optimisée</h3>
|
|
<p class="text-gray-400 text-sm">Profitez d'une distribution de contenu ultra-rapide pour des chargements éclair.</p>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
|
|
<footer class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8 text-center text-gray-500 text-sm opacity-0 animate-fade-in-up">
|
|
<p>Version: <span id="version-number">...</span> | © 2024 Myaxrin Labs</p>
|
|
</footer>
|
|
|
|
<script>
|
|
// Add animations on page load
|
|
const elements = document.querySelectorAll('.animate-fade-in-up');
|
|
elements.forEach(element => {
|
|
element.classList.add('animate-fade-in-up-visible');
|
|
});
|
|
|
|
// Fetch version from build-metadata API
|
|
fetch('/build-metadata')
|
|
.then(response => response.json())
|
|
.then(data => {
|
|
document.getElementById('version-number').textContent = data.build_version;
|
|
})
|
|
.catch(error => {
|
|
console.error('Error fetching version:', error);
|
|
document.getElementById('version-number').textContent = 'Version indisponible';
|
|
});
|
|
</script>
|
|
</body>
|
|
</html> |