chore: Update Google Fonts import in legal.ejs and feathures.ejs
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:
BIN
public/src/photo-1714548213565-9d241b6809d6.png
Normal file
BIN
public/src/photo-1714548213565-9d241b6809d6.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 513 KiB |
@@ -1,5 +1,6 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="fr">
|
<html lang="fr">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
@@ -20,11 +21,11 @@
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<style>
|
<style>
|
||||||
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');
|
@import url('https://fonts.googleapis.com/css2?family=Wittgenstein:ital,wght@0,400..900;1,400..900&display=swap');
|
||||||
|
|
||||||
body {
|
body {
|
||||||
font-family: 'Poppins', sans-serif;
|
font-family: 'Poppins', sans-serif;
|
||||||
background: rgb(2,0,36);
|
background: rgb(2, 0, 36);
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -32,7 +33,7 @@
|
|||||||
background-clip: text;
|
background-clip: text;
|
||||||
-webkit-background-clip: text;
|
-webkit-background-clip: text;
|
||||||
color: transparent;
|
color: transparent;
|
||||||
background-image: radial-gradient(circle, rgba(238,174,202,1) 0%, rgba(148,187,233,1) 100%);
|
background-image: radial-gradient(circle, rgba(238, 174, 202, 1) 0%, rgba(148, 187, 233, 1) 100%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.glass {
|
.glass {
|
||||||
@@ -76,7 +77,7 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
background-color: rgba(0,0,0,0.4);
|
background-color: rgba(0, 0, 0, 0.4);
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal-content {
|
.modal-content {
|
||||||
@@ -108,9 +109,17 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
@keyframes pulse {
|
@keyframes pulse {
|
||||||
0% { transform: scale(1); }
|
0% {
|
||||||
50% { transform: scale(1.1); }
|
transform: scale(1);
|
||||||
100% { transform: scale(1); }
|
}
|
||||||
|
|
||||||
|
50% {
|
||||||
|
transform: scale(1.1);
|
||||||
|
}
|
||||||
|
|
||||||
|
100% {
|
||||||
|
transform: scale(1);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.success-message {
|
.success-message {
|
||||||
@@ -130,13 +139,23 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
@keyframes fadeIn {
|
@keyframes fadeIn {
|
||||||
from {opacity: 0;}
|
from {
|
||||||
to {opacity: 1;}
|
opacity: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
to {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes fadeOut {
|
@keyframes fadeOut {
|
||||||
from {opacity: 1;}
|
from {
|
||||||
to {opacity: 0;}
|
opacity: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
to {
|
||||||
|
opacity: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.category-button {
|
.category-button {
|
||||||
@@ -214,8 +233,9 @@
|
|||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
background-color: rgba(88, 101, 242, 0.3); /* Less aggressive color */
|
background-color: rgba(88, 101, 242, 0.3);
|
||||||
font-size: 0.8rem; /* Reduced size */ color: white;
|
font-size: 0.8rem;
|
||||||
|
color: white;
|
||||||
padding: 0.5rem;
|
padding: 0.5rem;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
@@ -227,8 +247,9 @@
|
|||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body class="bg-dark text-gray-200">
|
<body class="bg-dark text-gray-200">
|
||||||
<header class="bg-gray-900 p-4 sticky top-0 z-50 glass">
|
<header class="bg-gray-900 p-4 sticky top-0 z-50 glass">
|
||||||
<div class="container mx-auto flex justify-between items-center">
|
<div class="container mx-auto flex justify-between items-center">
|
||||||
<h1 class="text-2xl font-bold gradient-text">Julianum</h1>
|
<h1 class="text-2xl font-bold gradient-text">Julianum</h1>
|
||||||
<nav class="hidden md:flex space-x-4">
|
<nav class="hidden md:flex space-x-4">
|
||||||
@@ -237,15 +258,17 @@
|
|||||||
<a href="/bot/commands" class="hover:text-primary transition-colors">Commandes</a>
|
<a href="/bot/commands" class="hover:text-primary transition-colors">Commandes</a>
|
||||||
</nav>
|
</nav>
|
||||||
<button id="drawer-button" class="md:hidden text-white focus:outline-none">
|
<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">
|
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24"
|
||||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16m-7 6h7"></path>
|
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>
|
</svg>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<div id="drawer-overlay" class="drawer-overlay"></div>
|
<div id="drawer-overlay" class="drawer-overlay"></div>
|
||||||
<div id="drawer" class="drawer">
|
<div id="drawer" class="drawer">
|
||||||
<div class="drawer-content">
|
<div class="drawer-content">
|
||||||
<span id="drawer-close" class="drawer-close">×</span>
|
<span id="drawer-close" class="drawer-close">×</span>
|
||||||
<nav class="flex flex-col space-y-4">
|
<nav class="flex flex-col space-y-4">
|
||||||
@@ -254,37 +277,42 @@
|
|||||||
<a href="/bot/commands" class="hover:text-primary transition-colors">Commandes</a>
|
<a href="/bot/commands" class="hover:text-primary transition-colors">Commandes</a>
|
||||||
</nav>
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<section id="home" class="py-24 px-4">
|
<section id="home" class="py-24 px-4">
|
||||||
<div class="container mx-auto text-center">
|
<div class="container mx-auto text-center">
|
||||||
<h1 class="text-5xl font-bold mb-6 gradient-text">Raphael, votre bot Discord polyvalent</h1>
|
<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>
|
<p class="text-xl mb-10 max-w-2xl mx-auto">Gérez et modérez votre serveur Discord avec des commandes
|
||||||
<a href="https://discord.com/oauth2/authorize?client_id=1232794371213230201" class="discord-button inline-block">
|
administratives puissantes</p>
|
||||||
|
<a href="https://discord.com/oauth2/authorize?client_id=1232794371213230201"
|
||||||
|
class="discord-button inline-block">
|
||||||
Inviter Raphael
|
Inviter Raphael
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section id="commands" class="py-24 px-4">
|
<section id="commands" class="py-24 px-4">
|
||||||
<div class="container mx-auto">
|
<div class="container mx-auto">
|
||||||
<h2 class="text-4xl font-bold mb-12 text-center gradient-text">Commandes</h2>
|
<h2 class="text-4xl font-bold mb-12 text-center gradient-text">Commandes</h2>
|
||||||
<div class="mb-8">
|
<div class="mb-8">
|
||||||
<input type="text" id="searchInput" placeholder="Rechercher une commande..." class="w-full p-2 rounded bg-gray-700 text-white">
|
<input type="text" id="searchInput" placeholder="Rechercher une commande..."
|
||||||
|
class="w-full p-2 rounded bg-gray-700 text-white">
|
||||||
</div>
|
</div>
|
||||||
<div class="mb-8 flex flex-wrap justify-center gap-4">
|
<div class="mb-8 flex flex-wrap justify-center gap-4">
|
||||||
<button class="category-button glass px-4 py-2 rounded-full active" data-category="all">🔍 Toutes</button>
|
<button class="category-button glass px-4 py-2 rounded-full active" data-category="all">🔍 Toutes</button>
|
||||||
<button class="category-button glass px-4 py-2 rounded-full" data-category="moderation">🛡️ Modération</button>
|
<button class="category-button glass px-4 py-2 rounded-full" data-category="moderation">🛡️
|
||||||
|
Modération</button>
|
||||||
<button class="category-button glass px-4 py-2 rounded-full" data-category="utility">🔧 Utilitaire</button>
|
<button class="category-button glass px-4 py-2 rounded-full" data-category="utility">🔧 Utilitaire</button>
|
||||||
<button class="category-button glass px-4 py-2 rounded-full" data-category="fun">🎉 Fun</button>
|
<button class="category-button glass px-4 py-2 rounded-full" data-category="fun">🎉 Fun</button>
|
||||||
<button class="category-button glass px-4 py-2 rounded-full" data-category="admin">👑 Administration</button>
|
<button class="category-button glass px-4 py-2 rounded-full" data-category="admin">👑
|
||||||
|
Administration</button>
|
||||||
</div>
|
</div>
|
||||||
<div id="commandList" class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
|
<div id="commandList" class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<div id="commandModal" class="modal">
|
<div id="commandModal" class="modal">
|
||||||
<div class="modal-content">
|
<div class="modal-content">
|
||||||
<span class="close">×</span>
|
<span class="close">×</span>
|
||||||
<h2 id="modalTitle" class="text-2xl font-bold mb-4"></h2>
|
<h2 id="modalTitle" class="text-2xl font-bold mb-4"></h2>
|
||||||
@@ -294,36 +322,16 @@
|
|||||||
Copier la commande
|
Copier la commande
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="successMessage" class="success-message">
|
<div id="successMessage" class="success-message">
|
||||||
Commande copiée avec succès !
|
Commande copiée avec succès !
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<footer class="py-12 px-4 bg-gray-900 text-center">
|
<footer class="py-12 px-4 bg-gray-900 text-center">
|
||||||
<p>© 2024 Julianum. Tous droits réservés.</p>
|
<p>© 2024 Julianum. Tous droits réservés.</p>
|
||||||
</footer>
|
</footer>
|
||||||
<script>
|
<script>
|
||||||
function saveSelectedCategory(category) {
|
|
||||||
localStorage.setItem('selectedCategory', category);
|
|
||||||
}
|
|
||||||
|
|
||||||
function getSelectedCategory() {
|
|
||||||
return localStorage.getItem('selectedCategory') || 'all';
|
|
||||||
}
|
|
||||||
|
|
||||||
function applySelectedCategory() {
|
|
||||||
const savedCategory = getSelectedCategory();
|
|
||||||
categoryButtons.forEach(button => {
|
|
||||||
if (button.dataset.category === savedCategory) {
|
|
||||||
button.classList.add('active');
|
|
||||||
} else {
|
|
||||||
button.classList.remove('active');
|
|
||||||
}
|
|
||||||
});
|
|
||||||
filterCommands();
|
|
||||||
}
|
|
||||||
|
|
||||||
const commands = [
|
const commands = [
|
||||||
{ name: "about", description: "En savoir plus sur le bot et ses créateurs", usage: "/about", category: "utility" },
|
{ name: "about", description: "En savoir plus sur le bot et ses créateurs", usage: "/about", category: "utility" },
|
||||||
{ name: "avatar", description: "Afficher l'avatar d'un utilisateur", usage: "/avatar @utilisateur", category: "utility" },
|
{ name: "avatar", description: "Afficher l'avatar d'un utilisateur", usage: "/avatar @utilisateur", category: "utility" },
|
||||||
@@ -434,6 +442,26 @@
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
function saveSelectedCategory(category) {
|
||||||
|
localStorage.setItem('selectedCategory', category);
|
||||||
|
}
|
||||||
|
|
||||||
|
function getSelectedCategory() {
|
||||||
|
return localStorage.getItem('selectedCategory') || 'all';
|
||||||
|
}
|
||||||
|
|
||||||
|
function applySelectedCategory() {
|
||||||
|
const savedCategory = getSelectedCategory();
|
||||||
|
categoryButtons.forEach(button => {
|
||||||
|
if (button.dataset.category === savedCategory) {
|
||||||
|
button.classList.add('active');
|
||||||
|
} else {
|
||||||
|
button.classList.remove('active');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
filterCommands();
|
||||||
|
}
|
||||||
|
|
||||||
document.addEventListener('DOMContentLoaded', applySelectedCategory);
|
document.addEventListener('DOMContentLoaded', applySelectedCategory);
|
||||||
|
|
||||||
displayCommands(commands);
|
displayCommands(commands);
|
||||||
@@ -458,6 +486,8 @@
|
|||||||
alert(`Vous avez cliqué sur la commande : ${command}. Ici, vous pouvez ajouter plus d'informations sur cette commande.`);
|
alert(`Vous avez cliqué sur la commande : ${command}. Ici, vous pouvez ajouter plus d'informations sur cette commande.`);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<style>
|
<style>
|
||||||
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');
|
@import url('https://fonts.googleapis.com/css2?family=Wittgenstein:ital,wght@0,400..900;1,400..900&display=swap');
|
||||||
|
|
||||||
body {
|
body {
|
||||||
font-family: 'Poppins', sans-serif;
|
font-family: 'Poppins', sans-serif;
|
||||||
|
|||||||
243
views/index.ejs
243
views/index.ejs
@@ -23,11 +23,11 @@
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<style>
|
<style>
|
||||||
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');
|
@import url('https://fonts.googleapis.com/css2?family=Wittgenstein:ital,wght@0,400..900;1,400..900&display=swap');
|
||||||
|
|
||||||
body {
|
body {
|
||||||
font-family: 'Poppins', sans-serif;
|
font-family: 'Poppins', sans-serif;
|
||||||
background: rgb(2,0,36);
|
background: rgb(2, 0, 36);
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -35,7 +35,7 @@
|
|||||||
background-clip: text;
|
background-clip: text;
|
||||||
-webkit-background-clip: text;
|
-webkit-background-clip: text;
|
||||||
color: transparent;
|
color: transparent;
|
||||||
background-image: radial-gradient(circle, rgba(238,174,202,1) 0%, rgba(148,187,233,1) 100%);
|
background-image: radial-gradient(circle, rgba(238, 174, 202, 1) 0%, rgba(148, 187, 233, 1) 100%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.glass {
|
.glass {
|
||||||
@@ -69,13 +69,13 @@
|
|||||||
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
|
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
|
||||||
}
|
}
|
||||||
|
|
||||||
#features, #commands {
|
#features,
|
||||||
|
#commands {
|
||||||
display: block !important;
|
display: block !important;
|
||||||
visibility: visible !important;
|
visibility: visible !important;
|
||||||
opacity: 1 !important;
|
opacity: 1 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Styles pour le drawer */
|
|
||||||
.drawer {
|
.drawer {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0;
|
top: 0;
|
||||||
@@ -126,6 +126,69 @@
|
|||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
font-size: 1.2rem;
|
font-size: 1.2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.firstpage {
|
||||||
|
position: relative; /* Nécessaire pour le positionnement du pseudo-élément */
|
||||||
|
height: 100vh;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.firstpage::before {
|
||||||
|
content: ""; /* Nécessaire pour que le pseudo-élément soit généré */
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
background-image: url('/public/src/photo-1714548213565-9d241b6809d6.png');
|
||||||
|
background-size: cover; /* Assure que l'image de fond couvre tout l'espace disponible */
|
||||||
|
filter: brightness(50%); /* Applique le filtre uniquement à l'image de fond */
|
||||||
|
z-index: -1; /* S'assure que le pseudo-élément reste en arrière-plan */
|
||||||
|
}
|
||||||
|
|
||||||
|
.featurepage {
|
||||||
|
position: relative; /* Nécessaire pour le positionnement du pseudo-élément */
|
||||||
|
height: 100vh;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.text-reveal-container {
|
||||||
|
position: relative;
|
||||||
|
display: inline-block;
|
||||||
|
overflow: hidden;
|
||||||
|
color: transparent; /* Maintient le texte transparent */
|
||||||
|
}
|
||||||
|
|
||||||
|
.text-reveal-container::before {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.5) 50%, transparent); /* Utilise un dégradé plus subtil */
|
||||||
|
transform: translateX(-100%);
|
||||||
|
animation: revealText 3s ease forwards, sparkle 1.5s ease-in-out 0.5s infinite alternate;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes revealText {
|
||||||
|
to {
|
||||||
|
transform: translateX(100%);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes sparkle {
|
||||||
|
0%, 100% {
|
||||||
|
background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.5) 50%, transparent);
|
||||||
|
}
|
||||||
|
50% {
|
||||||
|
background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.8) 50%, transparent);
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
@@ -134,13 +197,19 @@
|
|||||||
<div class="container mx-auto flex justify-between items-center">
|
<div class="container mx-auto flex justify-between items-center">
|
||||||
<h1 class="text-2xl font-bold gradient-text">Julianum</h1>
|
<h1 class="text-2xl font-bold gradient-text">Julianum</h1>
|
||||||
<nav class="hidden md:flex space-x-4">
|
<nav class="hidden md:flex space-x-4">
|
||||||
<a href="/" class="hover:text-primary transition-colors">Accueil</a>
|
<a href="/" class="hover:text-primary transition-colors" data-i18n="Accueil">Accueil</a>
|
||||||
<a href="/bot/feathures" class="hover:text-primary transition-colors">Fonctionnalités</a>
|
<a href="/bot/feathures" class="hover:text-primary transition-colors" data-i18n="Fonctionnalités">Fonctionnalités</a>
|
||||||
<a href="/bot/commands" class="hover:text-primary transition-colors">Commandes</a>
|
<a href="/bot/commands" class="hover:text-primary transition-colors" data-i18n="Commandes">Commandes</a>
|
||||||
</nav>
|
</nav>
|
||||||
|
<select id="languageSelector" class="bg-gray-700 text-white px-2 py-1 rounded">
|
||||||
|
<option value="fr">Français</option>
|
||||||
|
<option value="en">English</option>
|
||||||
|
</select>
|
||||||
<button id="drawer-button" class="md:hidden text-white focus:outline-none">
|
<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">
|
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24"
|
||||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16m-7 6h7"></path>
|
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>
|
</svg>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
@@ -158,71 +227,82 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<section id="home" class="py-24 px-4">
|
<section id="home" class="firstpage py-24 px-4">
|
||||||
<div class="container mx-auto text-center">
|
<div class="container mx-auto text-center">
|
||||||
<h1 class="text-5xl font-bold mb-6 gradient-text">Raphael, votre bot Discord polyvalent</h1>
|
<h1 class="text-reveal-container text-5xl font-bold mb-6 gradient-text" data-i18n="Raphael, votre bot Discord polyvalent">Raphael,
|
||||||
<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>
|
votre bot Discord polyvalent</h1>
|
||||||
<a href="https://discord.com/oauth2/authorize?client_id=1232794371213230201" class="discord-button inline-block">
|
<p class="text-xl mb-10 max-w-2xl mx-auto"
|
||||||
|
data-i18n="Gérez et modérez votre serveur Discord avec des commandes administratives puissantes">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"
|
||||||
|
data-i18n="Inviter Raphael">
|
||||||
Inviter Raphael
|
Inviter Raphael
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section id="features" class="py-24 px-4 bg-gray-900">
|
<section id="features" class="featurepage py-24 px-4 bg-gray-900">
|
||||||
<div class="container mx-auto">
|
<div class="container mx-auto">
|
||||||
<h2 class="text-4xl font-bold mb-12 text-center gradient-text">Fonctionnalités de Raphael</h2>
|
<h2 class="text-4xl font-bold mb-12 text-center gradient-text" data-i18n="Fonctionnalités de Raphael">Fonctionnalités
|
||||||
|
de Raphael</h2>
|
||||||
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
|
<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="glass p-6 rounded-lg shadow-lg feature-card">
|
||||||
<div class="text-4xl mb-4">🛠️</div>
|
<div class="text-4xl mb-4">🛠️</div>
|
||||||
<h3 class="text-xl font-semibold mb-2">Modération avancée</h3>
|
<h3 class="text-xl font-semibold mb-2" data-i18n="Modération avancée">Modération avancée</h3>
|
||||||
<p>Bannissez, expulsez, et gérez efficacement votre serveur.</p>
|
<p data-i18n="Bannissez, expulsez, et gérez efficacement votre serveur.">Bannissez, expulsez, et gérez
|
||||||
|
efficacement votre serveur.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="glass p-6 rounded-lg shadow-lg feature-card">
|
<div class="glass p-6 rounded-lg shadow-lg feature-card">
|
||||||
<div class="text-4xl mb-4">📊</div>
|
<div class="text-4xl mb-4">📊</div>
|
||||||
<h3 class="text-xl font-semibold mb-2">Statistiques détaillées</h3>
|
<h3 class="text-xl font-semibold mb-2" data-i18n="Statistiques détaillées">Statistiques détaillées</h3>
|
||||||
<p>Obtenez des informations précises sur votre bot et vos utilisateurs.</p>
|
<p data-i18n="Obtenez des informations précises sur votre bot et vos utilisateurs.">Obtenez des
|
||||||
|
informations précises sur votre bot et vos utilisateurs.</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="glass p-6 rounded-lg shadow-lg feature-card">
|
<div class="glass p-6 rounded-lg shadow-lg feature-card">
|
||||||
<div class="text-4xl mb-4">🪄</div>
|
<div class="text-4xl mb-4">🪄</div>
|
||||||
<h3 class="text-xl font-semibold mb-2">Outils pratiques</h3>
|
<h3 class="text-xl font-semibold mb-2" data-i18n="Outils pratiques">Outils pratiques</h3>
|
||||||
<p>Nettoyez les messages, gérez les invitations, et bien plus encore.</p>
|
<p data-i18n="Nettoyez les messages, gérez les invitations, et bien plus encore.">Nettoyez les
|
||||||
|
messages, gérez les invitations, et bien plus encore.</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="text-center mt-10">
|
<div class="text-center mt-10">
|
||||||
<button id="showAllFeatures" class="text-primary hover:underline">Voir toutes les fonctionnalités</button>
|
<button id="showAllFeatures" class="text-primary hover:underline" data-i18n="Voir toutes les fonctionnalités">Voir toutes les fonctionnalités</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section id="commands" class="py-24 px-4">
|
<section id="commands" class="py-24 px-4 bg-gray-800">
|
||||||
<div class="container mx-auto">
|
<div class="container mx-auto">
|
||||||
<h2 class="text-4xl font-bold mb-12 text-center gradient-text">Commandes principales</h2>
|
<h2 class="text-4xl font-bold mb-12 text-center gradient-text" data-i18n="Commandes principales">Commandes
|
||||||
|
principales</h2>
|
||||||
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
|
<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">
|
<div class="glass p-4 rounded-lg hover:bg-gray-700 transition-all">
|
||||||
<span class="font-bold">ban</span>: 🛠️ Bannir un membre
|
<span class="font-bold">ban</span>: 🛠️ <span data-i18n="Bannir un membre">Bannir un membre</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="glass p-4 rounded-lg hover:bg-gray-700 transition-all">
|
<div class="glass p-4 rounded-lg hover:bg-gray-700 transition-all">
|
||||||
<span class="font-bold">kick</span>: 🚪 Expulser un membre
|
<span class="font-bold">kick</span>: 🚪 <span data-i18n="Expulser un membre">Expulser un membre</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="glass p-4 rounded-lg hover:bg-gray-700 transition-all">
|
<div class="glass p-4 rounded-lg hover:bg-gray-700 transition-all">
|
||||||
<span class="font-bold">purge</span>: 🧹 Nettoyer le chat
|
<span class="font-bold">purge</span>: 🧹 <span data-i18n="Nettoyer le chat">Nettoyer le chat</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="glass p-4 rounded-lg hover:bg-gray-700 transition-all">
|
<div class="glass p-4 rounded-lg hover:bg-gray-700 transition-all">
|
||||||
<span class="font-bold">stats</span>: 📊 Voir les statistiques du bot
|
<span class="font-bold">stats</span>: 📊 <span data-i18n="Voir les statistiques du bot">Voir les
|
||||||
|
statistiques du bot</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="glass p-4 rounded-lg hover:bg-gray-700 transition-all">
|
<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
|
<span class="font-bold">invite</span>: 🪄 <span data-i18n="Obtenir le lien d'invitation du bot">Obtenir
|
||||||
|
le lien d'invitation du bot</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="text-center mt-10">
|
<div class="text-center mt-10">
|
||||||
<button id="showAllCommands" class="text-primary hover:underline">Voir toutes les commandes</button>
|
<button id="showAllCommands" class="text-primary hover:underline" data-i18n="Voir toutes les commandes">Voir toutes les commandes</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<footer class="py-12 px-4 bg-gray-900 text-center">
|
<footer class="py-12 px-4 bg-gray-900 text-center">
|
||||||
<p>© 2024 Myaxrin Labs. Tous droits réservés.</p><br>
|
<p data-i18n="© 2024 Myaxrin Labs. Tous droits réservés.">© 2024 Myaxrin Labs. Tous droits réservés.</p><br>
|
||||||
<a href="/legal" class="discord-button inline-block">
|
<a href="/legal" class="discord-button inline-block" data-i18n="Documents légaux">
|
||||||
Documents légaux
|
Documents légaux
|
||||||
</a>
|
</a>
|
||||||
</footer>
|
</footer>
|
||||||
@@ -242,14 +322,14 @@
|
|||||||
drawerClose.addEventListener('click', toggleDrawer);
|
drawerClose.addEventListener('click', toggleDrawer);
|
||||||
drawerOverlay.addEventListener('click', toggleDrawer);
|
drawerOverlay.addEventListener('click', toggleDrawer);
|
||||||
|
|
||||||
document.getElementById('showAllFeatures').addEventListener('click', function() {
|
document.getElementById('showAllFeatures').addEventListener('click', function () {
|
||||||
window.location.href = '/bot/feathures';
|
window.location.href = '/bot/feathures';
|
||||||
});
|
});
|
||||||
|
|
||||||
document.getElementById('showAllCommands').addEventListener('click', function() {
|
document.getElementById('showAllCommands').addEventListener('click', function () {
|
||||||
window.location.href = '/bot/commands';
|
window.location.href = '/bot/commands';
|
||||||
});
|
});
|
||||||
// JavaScript pour l'animation GSAP
|
|
||||||
gsap.registerPlugin(ScrollTrigger);
|
gsap.registerPlugin(ScrollTrigger);
|
||||||
|
|
||||||
gsap.from(".feature-card", {
|
gsap.from(".feature-card", {
|
||||||
@@ -258,12 +338,93 @@
|
|||||||
stagger: 0.2,
|
stagger: 0.2,
|
||||||
duration: 1,
|
duration: 1,
|
||||||
scrollTrigger: {
|
scrollTrigger: {
|
||||||
trigger: ".feature-card",
|
trigger: ".feature-section", // Utilisez la section englobante comme déclencheur au lieu d'une carte individuelle
|
||||||
start: "top 80%",
|
start: "top center", // Ajustez ces valeurs pour déclencher l'animation plus tôt ou plus tard
|
||||||
end: "bottom 60%",
|
end: "bottom 100%",
|
||||||
scrub: true
|
scrub: true,
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
const translations = {
|
||||||
|
"fr": {
|
||||||
|
"Julianum - Présentation de Raphael": "Julianum - Présentation de Raphael",
|
||||||
|
"Accueil": "Accueil",
|
||||||
|
"Fonctionnalités": "Fonctionnalités",
|
||||||
|
"Commandes": "Commandes",
|
||||||
|
"Raphael, votre bot Discord polyvalent": "Raphael, votre bot Discord polyvalent",
|
||||||
|
"Gérez et modérez votre serveur Discord avec des commandes administratives puissantes": "Gérez et modérez votre serveur Discord avec des commandes administratives puissantes",
|
||||||
|
"Inviter Raphael": "Inviter Raphael",
|
||||||
|
"Fonctionnalités de Raphael": "Fonctionnalités de Raphael",
|
||||||
|
"Modération avancée": "Modération avancée",
|
||||||
|
"Bannissez, expulsez, et gérez efficacement votre serveur.": "Bannissez, expulsez, et gérez efficacement votre serveur.",
|
||||||
|
"Statistiques détaillées": "Statistiques détaillées",
|
||||||
|
"Obtenez des informations précises sur votre bot et vos utilisateurs.": "Obtenez des informations précises sur votre bot et vos utilisateurs.",
|
||||||
|
"Outils pratiques": "Outils pratiques",
|
||||||
|
"Nettoyez les messages, gérez les invitations, et bien plus encore.": "Nettoyez les messages, gérez les invitations, et bien plus encore.",
|
||||||
|
"Voir toutes les fonctionnalités": "Voir toutes les fonctionnalités",
|
||||||
|
"Commandes principales": "Commandes principales",
|
||||||
|
"Bannir un membre": "Bannir un membre",
|
||||||
|
"Expulser un membre": "Expulser un membre",
|
||||||
|
"Nettoyer le chat": "Nettoyer le chat",
|
||||||
|
"Voir les statistiques du bot": "Voir les statistiques du bot",
|
||||||
|
"Obtenir le lien d'invitation du bot": "Obtenir le lien d'invitation du bot",
|
||||||
|
"Voir toutes les commandes": "Voir toutes les commandes",
|
||||||
|
"© 2024 Myaxrin Labs. Tous droits réservés.": "© 2024 Myaxrin Labs. Tous droits réservés.",
|
||||||
|
"Documents légaux": "Documents légaux"
|
||||||
|
},
|
||||||
|
"en": {
|
||||||
|
"Julianum - Présentation de Raphael": "Julianum - Introduction to Raphael",
|
||||||
|
"Accueil": "Home",
|
||||||
|
"Fonctionnalités": "Features",
|
||||||
|
"Commandes": "Commands",
|
||||||
|
"Raphael, votre bot Discord polyvalent": "Raphael, your versatile Discord bot",
|
||||||
|
"Gérez et modérez votre serveur Discord avec des commandes administratives puissantes": "Manage and moderate your Discord server with powerful administrative commands",
|
||||||
|
"Inviter Raphael": "Invite Raphael",
|
||||||
|
"Fonctionnalités de Raphael": "Raphael's Features",
|
||||||
|
"Modération avancée": "Advanced Moderation",
|
||||||
|
"Bannissez, expulsez, et gérez efficacement votre serveur.": "Ban, kick, and manage your server efficiently.",
|
||||||
|
"Statistiques détaillées": "Detailed Statistics",
|
||||||
|
"Obtenez des informations précises sur votre bot et vos utilisateurs.": "Get precise information about your bot and users.",
|
||||||
|
"Outils pratiques": "Useful Tools",
|
||||||
|
"Nettoyez les messages, gérez les invitations, et bien plus encore.": "Clean messages, manage invites, and much more.",
|
||||||
|
"Voir toutes les fonctionnalités": "See all features",
|
||||||
|
"Commandes principales": "Main Commands",
|
||||||
|
"Bannir un membre": "Ban a member",
|
||||||
|
"Expulser un membre": "Kick a member",
|
||||||
|
"Nettoyer le chat": "Purge the chat",
|
||||||
|
"Voir les statistiques du bot": "See bot statistics",
|
||||||
|
"Obtenir le lien d'invitation du bot": "Get the bot invite link",
|
||||||
|
"Voir toutes les commandes": "See all commands",
|
||||||
|
"© 2024 Myaxrin Labs. Tous droits réservés.": "© 2024 Myaxrin Labs. All rights reserved.",
|
||||||
|
"Documents légaux": "Legal Documents"
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
const languageSelector = document.getElementById('languageSelector');
|
||||||
|
const elementsToTranslate = document.querySelectorAll('[data-i18n]');
|
||||||
|
|
||||||
|
// Function to apply translations
|
||||||
|
function applyTranslations(selectedLanguage) {
|
||||||
|
elementsToTranslate.forEach(el => {
|
||||||
|
const translationKey = el.getAttribute('data-i18n');
|
||||||
|
el.textContent = translations[selectedLanguage][translationKey];
|
||||||
|
});
|
||||||
|
document.title = translations[selectedLanguage][document.title];
|
||||||
|
}
|
||||||
|
|
||||||
|
// Check for stored language preference on page load
|
||||||
|
document.addEventListener('DOMContentLoaded', () => {
|
||||||
|
const storedLanguage = localStorage.getItem('language') || 'fr'; // Default to French if no preference
|
||||||
|
languageSelector.value = storedLanguage;
|
||||||
|
applyTranslations(storedLanguage);
|
||||||
|
});
|
||||||
|
|
||||||
|
// Update language preference and translations on language selector change
|
||||||
|
languageSelector.addEventListener('change', (e) => {
|
||||||
|
const selectedLanguage = e.target.value;
|
||||||
|
localStorage.setItem('language', selectedLanguage); // Store language preference
|
||||||
|
applyTranslations(selectedLanguage);
|
||||||
|
});
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<style>
|
<style>
|
||||||
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');
|
@import url('https://fonts.googleapis.com/css2?family=Wittgenstein:ital,wght@0,400..900;1,400..900&display=swap');
|
||||||
|
|
||||||
body {
|
body {
|
||||||
font-family: 'Poppins', sans-serif;
|
font-family: 'Poppins', sans-serif;
|
||||||
|
|||||||
Reference in New Issue
Block a user