chore: Update npm dependencies and package-lock.json
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
270
views/index.ejs
Normal file
270
views/index.ejs
Normal file
@@ -0,0 +1,270 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Julianum - Présentation de Raphael</title>
|
||||
<script src="https://cdn.tailwindcss.com"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.11.4/gsap.min.js"></script>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.11.4/ScrollTrigger.min.js"></script>
|
||||
<script>
|
||||
tailwind.config = {
|
||||
theme: {
|
||||
extend: {
|
||||
colors: {
|
||||
primary: '#7289DA',
|
||||
secondary: '#99AAB5',
|
||||
dark: '#23272A',
|
||||
blurple: '#5865F2',
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');
|
||||
|
||||
body {
|
||||
font-family: 'Poppins', sans-serif;
|
||||
background: rgb(2,0,36);
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.gradient-text {
|
||||
background-clip: text;
|
||||
-webkit-background-clip: text;
|
||||
color: transparent;
|
||||
background-image: radial-gradient(circle, rgba(238,174,202,1) 0%, rgba(148,187,233,1) 100%);
|
||||
}
|
||||
|
||||
.glass {
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
backdrop-filter: blur(10px);
|
||||
border-radius: 10px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.2);
|
||||
}
|
||||
|
||||
.discord-button {
|
||||
background-color: #5865F2;
|
||||
color: white;
|
||||
padding: 10px 20px;
|
||||
border-radius: 28px;
|
||||
font-weight: bold;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.discord-button:hover {
|
||||
background-color: #4752C4;
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 5px 15px rgba(88, 101, 242, 0.4);
|
||||
}
|
||||
|
||||
.feature-card {
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.feature-card:hover {
|
||||
transform: translateY(-5px);
|
||||
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
#features, #commands {
|
||||
display: block !important;
|
||||
visibility: visible !important;
|
||||
opacity: 1 !important;
|
||||
}
|
||||
|
||||
/* Styles pour le drawer */
|
||||
.drawer {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
right: -300px;
|
||||
width: 300px;
|
||||
height: 100vh;
|
||||
background-color: rgba(31, 41, 55, 0.95);
|
||||
transition: right 0.3s ease-in-out;
|
||||
z-index: 1000;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.drawer.active {
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.drawer-overlay {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: rgba(0, 0, 0, 0.5);
|
||||
display: none;
|
||||
z-index: 999;
|
||||
}
|
||||
|
||||
.drawer-overlay.active {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.drawer-content {
|
||||
padding: 2rem;
|
||||
}
|
||||
|
||||
.drawer-close {
|
||||
position: absolute;
|
||||
top: 1rem;
|
||||
right: 1rem;
|
||||
font-size: 1.5rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.drawer a {
|
||||
display: block;
|
||||
padding: 0.5rem 0;
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body class="bg-dark text-gray-200">
|
||||
<header class="bg-gray-900 p-4 sticky top-0 z-50 glass">
|
||||
<div class="container mx-auto flex justify-between items-center">
|
||||
<h1 class="text-2xl font-bold gradient-text">Julianum</h1>
|
||||
<nav class="hidden md:flex space-x-4">
|
||||
<a href="/" class="hover:text-primary transition-colors">Accueil</a>
|
||||
<a href="/bot/feathures" class="hover:text-primary transition-colors">Fonctionnalités</a>
|
||||
<a href="/bot/commands" class="hover:text-primary transition-colors">Commandes</a>
|
||||
</nav>
|
||||
<button id="drawer-button" class="md:hidden text-white focus:outline-none">
|
||||
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16m-7 6h7"></path>
|
||||
</svg>
|
||||
</button>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<div id="drawer-overlay" class="drawer-overlay"></div>
|
||||
<div id="drawer" class="drawer">
|
||||
<div class="drawer-content">
|
||||
<span id="drawer-close" class="drawer-close">×</span>
|
||||
<nav class="flex flex-col space-y-4">
|
||||
<a href="/" class="hover:text-primary transition-colors">Accueil</a>
|
||||
<a href="/bot/feathures" class="hover:text-primary transition-colors">Fonctionnalités</a>
|
||||
<a href="/bot/commands" class="hover:text-primary transition-colors">Commandes</a>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<section id="home" class="py-24 px-4">
|
||||
<div class="container mx-auto text-center">
|
||||
<h1 class="text-5xl font-bold mb-6 gradient-text">Raphael, votre bot Discord polyvalent</h1>
|
||||
<p class="text-xl mb-10 max-w-2xl mx-auto">Gérez et modérez votre serveur Discord avec des commandes administratives puissantes</p>
|
||||
<a href="https://discord.com/oauth2/authorize?client_id=1232794371213230201" class="discord-button inline-block">
|
||||
Inviter Raphael
|
||||
</a>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section id="features" class="py-24 px-4 bg-gray-900">
|
||||
<div class="container mx-auto">
|
||||
<h2 class="text-4xl font-bold mb-12 text-center gradient-text">Fonctionnalités de Raphael</h2>
|
||||
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
|
||||
<div class="glass p-6 rounded-lg shadow-lg feature-card">
|
||||
<div class="text-4xl mb-4">🛠️</div>
|
||||
<h3 class="text-xl font-semibold mb-2">Modération avancée</h3>
|
||||
<p>Bannissez, expulsez, et gérez efficacement votre serveur.</p>
|
||||
</div>
|
||||
<div class="glass p-6 rounded-lg shadow-lg feature-card">
|
||||
<div class="text-4xl mb-4">📊</div>
|
||||
<h3 class="text-xl font-semibold mb-2">Statistiques détaillées</h3>
|
||||
<p>Obtenez des informations précises sur votre bot et vos utilisateurs.</p>
|
||||
</div>
|
||||
<div class="glass p-6 rounded-lg shadow-lg feature-card">
|
||||
<div class="text-4xl mb-4">🪄</div>
|
||||
<h3 class="text-xl font-semibold mb-2">Outils pratiques</h3>
|
||||
<p>Nettoyez les messages, gérez les invitations, et bien plus encore.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="text-center mt-10">
|
||||
<button id="showAllFeatures" class="text-primary hover:underline">Voir toutes les fonctionnalités</button>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section id="commands" class="py-24 px-4">
|
||||
<div class="container mx-auto">
|
||||
<h2 class="text-4xl font-bold mb-12 text-center gradient-text">Commandes principales</h2>
|
||||
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
|
||||
<div class="glass p-4 rounded-lg hover:bg-gray-700 transition-all">
|
||||
<span class="font-bold">ban</span>: 🛠️ Bannir un membre
|
||||
</div>
|
||||
<div class="glass p-4 rounded-lg hover:bg-gray-700 transition-all">
|
||||
<span class="font-bold">kick</span>: 🚪 Expulser un membre
|
||||
</div>
|
||||
<div class="glass p-4 rounded-lg hover:bg-gray-700 transition-all">
|
||||
<span class="font-bold">purge</span>: 🧹 Nettoyer le chat
|
||||
</div>
|
||||
<div class="glass p-4 rounded-lg hover:bg-gray-700 transition-all">
|
||||
<span class="font-bold">stats</span>: 📊 Voir les statistiques du bot
|
||||
</div>
|
||||
<div class="glass p-4 rounded-lg hover:bg-gray-700 transition-all">
|
||||
<span class="font-bold">invite</span>: 🪄 Obtenir le lien d'invitation du bot
|
||||
</div>
|
||||
</div>
|
||||
<div class="text-center mt-10">
|
||||
<button id="showAllCommands" class="text-primary hover:underline">Voir toutes les commandes</button>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<footer class="py-12 px-4 bg-gray-900 text-center">
|
||||
<p>© 2024 Myaxrin Labs. Tous droits réservés.</p><br>
|
||||
<a href="/legal" class="discord-button inline-block">
|
||||
Documents légaux
|
||||
</a>
|
||||
</footer>
|
||||
|
||||
<script>
|
||||
const drawerButton = document.getElementById('drawer-button');
|
||||
const drawer = document.getElementById('drawer');
|
||||
const drawerOverlay = document.getElementById('drawer-overlay');
|
||||
const drawerClose = document.getElementById('drawer-close');
|
||||
|
||||
function toggleDrawer() {
|
||||
drawer.classList.toggle('active');
|
||||
drawerOverlay.classList.toggle('active');
|
||||
}
|
||||
|
||||
drawerButton.addEventListener('click', toggleDrawer);
|
||||
drawerClose.addEventListener('click', toggleDrawer);
|
||||
drawerOverlay.addEventListener('click', toggleDrawer);
|
||||
|
||||
document.getElementById('showAllFeatures').addEventListener('click', function() {
|
||||
window.location.href = '/bot/feathures';
|
||||
});
|
||||
|
||||
document.getElementById('showAllCommands').addEventListener('click', function() {
|
||||
window.location.href = '/bot/commands';
|
||||
});
|
||||
// JavaScript pour l'animation GSAP
|
||||
gsap.registerPlugin(ScrollTrigger);
|
||||
|
||||
gsap.from(".feature-card", {
|
||||
opacity: 0,
|
||||
y: 100,
|
||||
stagger: 0.2,
|
||||
duration: 1,
|
||||
scrollTrigger: {
|
||||
trigger: ".feature-card",
|
||||
start: "top 80%",
|
||||
end: "bottom 60%",
|
||||
scrub: true
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user