AeThex-Bot-Master/aethex-bot/public/federation.html
sirpiglr 78a2a29bfc Add federation management to the dashboard and update the federation page
Add new navigation item and page structure for federation management in dashboard.html, and update federation.html with new styling and content sections for explaining the federation concept and features.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: aed2e46d-25bb-4b73-81a1-bb9e8437c261
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: f96502b3-64e2-454a-a892-81ab2a2f62a3
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/3bdfff67-975a-46ad-9845-fbb6b4a4c4b5/aed2e46d-25bb-4b73-81a1-bb9e8437c261/MGpDued
Replit-Helium-Checkpoint-Created: true
2025-12-10 02:51:47 +00:00

557 lines
15 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>The Federation - AeThex | Warden</title>
<style>
:root {
--background: #030712;
--foreground: #f8fafc;
--card: rgba(15, 23, 42, 0.6);
--card-border: rgba(99, 102, 241, 0.15);
--card-border-hover: rgba(99, 102, 241, 0.4);
--primary: #6366f1;
--primary-light: #818cf8;
--secondary: rgba(30, 41, 59, 0.5);
--muted: #64748b;
--border: rgba(51, 65, 85, 0.5);
--success: #10b981;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
font-family: 'Courier New', Courier, monospace;
background: var(--background);
color: var(--foreground);
min-height: 100vh;
line-height: 1.6;
}
.bg-grid {
position: fixed;
inset: 0;
background-image:
linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
background-size: 64px 64px;
pointer-events: none;
z-index: -2;
}
.bg-glow {
position: fixed;
top: -50%;
left: 50%;
transform: translateX(-50%);
width: 150%;
height: 100%;
background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.15) 0%, transparent 60%);
pointer-events: none;
z-index: -1;
}
.container {
max-width: 1100px;
margin: 0 auto;
padding: 0 1.5rem;
}
header {
position: sticky;
top: 0;
z-index: 100;
background: rgba(3, 7, 18, 0.8);
backdrop-filter: blur(20px);
border-bottom: 1px solid var(--border);
}
.header-content {
display: flex;
align-items: center;
justify-content: space-between;
padding: 1rem 0;
}
.logo {
display: flex;
align-items: center;
gap: 0.75rem;
text-decoration: none;
color: var(--foreground);
}
.logo-icon { width: 40px; height: 40px; border-radius: 8px; object-fit: contain; }
.logo-text { font-size: 1.25rem; font-weight: 700; }
.nav-links {
display: flex;
gap: 2rem;
align-items: center;
}
.nav-links a {
color: var(--muted);
text-decoration: none;
font-weight: 500;
transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--foreground); }
.btn {
display: inline-flex;
align-items: center;
gap: 0.5rem;
padding: 0.75rem 1.5rem;
border-radius: 8px;
font-weight: 600;
text-decoration: none;
transition: all 0.2s;
border: none;
cursor: pointer;
font-size: 0.9rem;
font-family: inherit;
}
.btn-primary {
background: linear-gradient(135deg, var(--primary), #3b82f6);
color: white;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4); }
.btn-secondary {
background: var(--secondary);
border: 1px solid var(--border);
color: var(--foreground);
}
.hero {
padding: 5rem 0 3rem;
text-align: center;
}
.hero h1 {
font-size: 3.5rem;
font-weight: 800;
margin-bottom: 1rem;
}
.text-gradient {
background: linear-gradient(135deg, var(--primary), #3b82f6, #06b6d4);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.hero-subtitle {
color: var(--muted);
font-size: 1.3rem;
max-width: 700px;
margin: 0 auto 1rem;
}
.hero-tagline {
color: var(--success);
font-size: 1.1rem;
font-weight: 600;
margin-bottom: 2rem;
}
.hero-buttons {
display: flex;
gap: 1rem;
justify-content: center;
flex-wrap: wrap;
}
.section {
padding: 4rem 0;
}
.section-title {
font-size: 2rem;
font-weight: 700;
text-align: center;
margin-bottom: 1rem;
}
.section-subtitle {
color: var(--muted);
text-align: center;
max-width: 600px;
margin: 0 auto 3rem;
}
.how-it-works {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 2rem;
}
@media (max-width: 768px) {
.how-it-works { grid-template-columns: 1fr; }
.hero h1 { font-size: 2.5rem; }
.nav-links { display: none; }
.tiers-grid { grid-template-columns: 1fr; }
}
.step-card {
background: var(--card);
border: 1px solid var(--card-border);
border-radius: 16px;
padding: 2rem;
text-align: center;
transition: all 0.3s;
}
.step-card:hover {
border-color: var(--card-border-hover);
transform: translateY(-4px);
}
.step-number {
width: 48px;
height: 48px;
background: linear-gradient(135deg, var(--primary), #3b82f6);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.25rem;
font-weight: 700;
margin: 0 auto 1rem;
}
.step-card h3 {
font-size: 1.25rem;
margin-bottom: 0.5rem;
}
.step-card p {
color: var(--muted);
font-size: 0.95rem;
}
.features-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 1.5rem;
}
@media (max-width: 600px) {
.features-grid { grid-template-columns: 1fr; }
}
.feature-card {
background: var(--card);
border: 1px solid var(--card-border);
border-radius: 12px;
padding: 1.5rem;
display: flex;
gap: 1rem;
align-items: flex-start;
}
.feature-icon {
font-size: 1.5rem;
flex-shrink: 0;
}
.feature-card h4 {
font-size: 1rem;
margin-bottom: 0.25rem;
}
.feature-card p {
color: var(--muted);
font-size: 0.9rem;
}
.tiers-section {
border-top: 1px solid var(--border);
}
.tiers-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 2rem;
max-width: 800px;
margin: 0 auto;
}
.tier-card {
background: var(--card);
border: 1px solid var(--card-border);
border-radius: 16px;
padding: 2rem;
}
.tier-card.premium {
border-color: var(--primary);
box-shadow: 0 0 30px rgba(99, 102, 241, 0.2);
}
.tier-name {
font-size: 1.25rem;
font-weight: 700;
margin-bottom: 0.5rem;
}
.tier-desc {
color: var(--muted);
font-size: 0.9rem;
margin-bottom: 1rem;
}
.tier-features {
list-style: none;
}
.tier-features li {
display: flex;
align-items: center;
gap: 0.5rem;
margin-bottom: 0.5rem;
font-size: 0.9rem;
}
.tier-features .check { color: var(--success); }
.cta-section {
padding: 4rem 0;
}
.cta-box {
background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(59, 130, 246, 0.05));
border: 1px solid rgba(99, 102, 241, 0.2);
border-radius: 24px;
padding: 3rem 2rem;
text-align: center;
}
.cta-box h2 {
font-size: 1.75rem;
margin-bottom: 1rem;
}
.cta-box p {
color: var(--muted);
margin-bottom: 1.5rem;
}
.cta-buttons {
display: flex;
gap: 1rem;
justify-content: center;
flex-wrap: wrap;
}
footer {
border-top: 1px solid var(--border);
padding: 2rem 0;
}
.footer-content {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 1rem;
}
.footer-links {
display: flex;
gap: 2rem;
}
.footer-links a {
color: var(--muted);
text-decoration: none;
font-size: 0.9rem;
}
.footer-links a:hover { color: var(--foreground); }
.footer-copy { color: var(--muted); font-size: 0.85rem; }
</style>
</head>
<body>
<div class="bg-grid"></div>
<div class="bg-glow"></div>
<header>
<div class="container header-content">
<a href="/" class="logo">
<img src="/logo.png" alt="AeThex" class="logo-icon">
<span class="logo-text">AeThex | Warden</span>
</a>
<nav class="nav-links">
<a href="/">Home</a>
<a href="/features">Features</a>
<a href="/commands">Commands</a>
<a href="/federation" class="active">Federation</a>
<a href="/pricing">Pricing</a>
</nav>
<a href="https://discord.com/api/oauth2/authorize?client_id=578971245454950421&permissions=8&scope=bot%20applications.commands" class="btn btn-primary" target="_blank">Add to Server</a>
</div>
</header>
<main>
<section class="hero">
<div class="container">
<h1>The <span class="text-gradient">Federation</span></h1>
<p class="hero-subtitle">A network of protected Discord servers. When one server bans a bad actor, every federation member is protected. Ban one, ban all.</p>
<p class="hero-tagline">Free protection for all members. Premium options for extra security.</p>
<div class="hero-buttons">
<a href="/dashboard?page=federation" class="btn btn-primary">Manage Federation</a>
<a href="/pricing" class="btn btn-secondary">View Pricing</a>
</div>
</div>
</section>
<section class="section">
<div class="container">
<h2 class="section-title">How It Works</h2>
<p class="section-subtitle">Join the federation and benefit from shared intelligence across hundreds of servers.</p>
<div class="how-it-works">
<div class="step-card">
<div class="step-number">1</div>
<h3>Join the Federation</h3>
<p>Add Warden to your server and apply for federation membership. Get approved and you're in.</p>
</div>
<div class="step-card">
<div class="step-number">2</div>
<h3>Share Ban Intelligence</h3>
<p>When you ban someone for serious offenses, report them to the global ban list. Other servers are instantly protected.</p>
</div>
<div class="step-card">
<div class="step-number">3</div>
<h3>Auto-Protection</h3>
<p>Known bad actors are automatically blocked before they can cause problems in your server.</p>
</div>
</div>
</div>
</section>
<section class="section">
<div class="container">
<h2 class="section-title">Federation Features</h2>
<p class="section-subtitle">Everything you need to keep your community safe.</p>
<div class="features-grid">
<div class="feature-card">
<div class="feature-icon">&#128737;</div>
<div>
<h4>Global Ban List</h4>
<p>Shared database of confirmed bad actors across all federation servers.</p>
</div>
</div>
<div class="feature-card">
<div class="feature-icon">&#9889;</div>
<div>
<h4>Real-Time Protection</h4>
<p>Instant alerts when known threats try to join your server.</p>
</div>
</div>
<div class="feature-card">
<div class="feature-icon">&#128218;</div>
<div>
<h4>Server Directory</h4>
<p>Browse and discover other federation member servers.</p>
</div>
</div>
<div class="feature-card">
<div class="feature-icon">&#11088;</div>
<div>
<h4>Reputation System</h4>
<p>Track user reputation across the entire federation network.</p>
</div>
</div>
<div class="feature-card">
<div class="feature-icon">&#128221;</div>
<div>
<h4>Application System</h4>
<p>Treaty-based membership with admin approval process.</p>
</div>
</div>
<div class="feature-card">
<div class="feature-icon">&#128200;</div>
<div>
<h4>Threat Severity Levels</h4>
<p>Categorized bans: Low, Medium, High, Critical - with tiered responses.</p>
</div>
</div>
</div>
</div>
</section>
<section class="section tiers-section">
<div class="container">
<h2 class="section-title">Protection Tiers</h2>
<p class="section-subtitle">Free protection for everyone. Extra security for those who need it.</p>
<div class="tiers-grid">
<div class="tier-card">
<div class="tier-name">Free Tier</div>
<div class="tier-desc">Core protection for all federation members</div>
<ul class="tier-features">
<li><span class="check">&#10003;</span> Critical threat auto-bans</li>
<li><span class="check">&#10003;</span> Server directory listing</li>
<li><span class="check">&#10003;</span> Reputation tracking</li>
<li><span class="check">&#10003;</span> Ban reporting</li>
<li><span class="check">&#10003;</span> Community support</li>
</ul>
</div>
<div class="tier-card premium">
<div class="tier-name">Premium Tier - $50/mo</div>
<div class="tier-desc">Maximum protection for serious communities</div>
<ul class="tier-features">
<li><span class="check">&#10003;</span> Everything in Free, plus:</li>
<li><span class="check">&#10003;</span> All-severity auto-kick</li>
<li><span class="check">&#10003;</span> Priority threat alerts</li>
<li><span class="check">&#10003;</span> Premium server badge</li>
<li><span class="check">&#10003;</span> Priority support</li>
</ul>
</div>
</div>
<div style="text-align: center; margin-top: 2rem;">
<a href="/pricing" class="btn btn-secondary">See Full Pricing Details</a>
</div>
</div>
</section>
<section class="cta-section">
<div class="container">
<div class="cta-box">
<h2>Ready to Join the Federation?</h2>
<p>Use /federation apply in your server to start your membership application.</p>
<div class="cta-buttons">
<a href="/dashboard?page=federation" class="btn btn-primary">Go to Dashboard</a>
<a href="https://discord.gg/athx" class="btn btn-secondary" target="_blank">Join Support Server</a>
</div>
</div>
</div>
</section>
</main>
<footer>
<div class="container footer-content">
<div class="footer-copy">AeThex | Warden</div>
<div class="footer-links">
<a href="/features">Features</a>
<a href="/commands">Commands</a>
<a href="/pricing">Pricing</a>
<a href="/dashboard">Dashboard</a>
</div>
<div class="footer-copy">&copy; 2025 AeThex. All rights reserved.</div>
</div>
</footer>
</body>
</html>