anycoder-d9513690 / index.html
Ntdeseb's picture
Upload folder using huggingface_hub
add269d verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Nexus | Future Landing Page</title>
<!-- Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap" rel="stylesheet">
<!-- Icons -->
<script src="https://unpkg.com/@phosphor-icons/web@2.0.1/dist/index.js"></script>
<style>
/* --- MODERN CSS VARIABLES & RESET --- */
:root {
--bg-dark: #0f1115;
--bg-card: #161b22;
--primary: #6366f1;
--primary-glow: rgba(99, 102, 241, 0.4);
--accent: #ec4899;
--text-main: #ffffff;
--text-muted: #94a3b8;
--border: rgba(255, 255, 255, 0.1);
--glass: rgba(255, 255, 255, 0.03);
--font-main: 'Inter', sans-serif;
--ease: cubic-bezier(0.23, 1, 0.32, 1);
}
* {
box-sizing: box-set;
margin: 0;
padding: 0;
}
body {
background-color: var(--bg-dark);
color: var(--text-main);
font-family: var(--font-main);
line-height: 1.6;
overflow-x: hidden;
-webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; transition: color 0.3s; }
ul { list-style: none; }
/* --- UTILITIES --- */
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
.gradient-text {
background: linear-gradient(135deg, var(--primary), var(--accent));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.btn {
display: inline-flex;
align-items: center;
padding: 12px 24px;
border-radius: 12px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s var(--ease);
border: 1px solid transparent;
}
.btn-primary {
background: var(--primary);
color: white;
box-shadow: 0 4px 20px var(--primary-glow);
}
.btn-primary:hover {
transform: translateY(-2px);
box-shadow: 0 10px 30px var(--primary-glow);
}
.btn-glass {
background: var(--glass);
border: 1px solid var(--border);
color: var(--text-main);
}
.btn-glass:hover {
background: rgba(255,255,255, 0.1);
border-color: rgba(255,255,255, 0.3);
}
/* --- BACKGROUND ANIMATION --- */
.bg-glob {
position: absolute;
width: 600px;
height: 600px;
background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
opacity: 0.4;
z-index: -1;
filter: blur(80px);
animation: float 10s infinite ease-in-out alternate;
}
.glob-1 { top: -200px; left: -200px; }
.glob-2 { bottom: -200px; right: -200px; background: radial-gradient(circle, rgba(236, 72, 153, 0.4) 0%, transparent 70%); }
@keyframes float {
0% { transform: translate(0, 0) scale(1); }
100% { transform: translate(50px, 50px) scale(1.1); }
}
/* --- HEADER --- */
header {
position: fixed;
top: 0;
width: 100%;
z-index: 100;
padding: 20px 0;
backdrop-filter: blur(10px);
border-bottom: 1px solid var(--border);
background: rgba(15, 17, 21, 0.8);
}
.nav-content {
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
font-size: 1.5rem;
font-weight: 800;
letter-spacing: -1px;
display: flex;
align-items: center;
gap: 10px;
}
.nav-links {
display: flex;
gap: 30px;
}
.nav-links a {
font-size: 0.9rem;
color: var(--text-muted);
}
.nav-links a:hover {
color: var(--text-main);
}
.anycoder-badge {
font-size: 0.8rem;
background: linear-gradient(45deg, #ff00cc, #3333ff);
padding: 4px 12px;
border-radius: 20px;
color: white;
font-weight: bold;
box-shadow: 0 2px 10px rgba(0,0,0,0.3);
margin-left: 20px;
}
/* --- HERO SECTION --- */
.hero {
min-height: 90vh;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
position: relative;
padding-top: 80px;
}
.hero-content {
max-width: 800px;
z-index: 1;
}
h1 {
font-size: 5rem;
line-height: 1.1;
font-weight: 800;
margin-bottom: 20px;
letter-spacing: -2px;
}
p.hero-desc {
font-size: 1.25rem;
color: var(--text-muted);
max-width: 600px;
margin: 0 auto 40px auto;
}
.hero-actions {
display: flex;
gap: 15px;
justify-content: center;
}
/* --- FEATURES GRID --- */
.features {
padding: 100px 0;
position: relative;
}
.grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 20px;
margin-top: 50px;
}
.card {
background: var(--bg-card);
border: 1px solid var(--border);
padding: 30px;
border-radius: 20px;
transition: all 0.4s var(--ease);
position: relative;
overflow: hidden;
}
.card:hover {
transform: translateY(-5px);
border-color: var(--primary);
box-shadow: 0 10px 40px -10px rgba(99, 102, 241, 0.3);
}
.card-icon {
font-size: 2rem;
color: var(--primary);
margin-bottom: 20px;
}
.card h3 {
margin-bottom: 10px;
font-size: 1.2rem;
}
.card p {
color: var(--text-muted);
font-size: 0.95rem;
}
/* --- SCROLL REVEAL CLASS --- */
.reveal {
opacity: 0;
transform: translateY(30px);
transition: all 0.8s var(--ease);
}
.reveal.active {
opacity: 1;
transform: translateY(0);
}
/* --- FOOTER --- */
footer {
border-top: 1px solid var(--border);
padding: 50px 0;
text-align: center;
color: var(--text-muted);
font-size: 0.9rem;
}
/* --- RESPONSIVE --- */
@media (max-width: 768px) {
h1 { font-size: 3rem; }
.nav-links { display: none; } /* Simplified for mobile */
.hero-actions { flex-direction: column; width: 100%; }
.btn { width: 100%; justify-content: center; }
}
</style>
</head>
<body>
<!-- Background Elements -->
<div class="bg-glob glob-1"></div>
<div class="bg-glob glob-2"></div>
<!-- Header -->
<header>
<div class="container nav-content">
<a href="#" class="logo">
<i class="ph ph-hexagon"></i>
Nexus
</a>
<nav class="nav-links">
<a href="#features">Features</a>
<a href="#pricing">Pricing</a>
<a href="#about">About</a>
<!-- REQUIRED LINK -->
<a href="https://huggingface.co/spaces/akhaliq/anycoder" class="anycoder-badge" target="_blank">Built with anycoder</a>
</nav>
<a href="#" class="btn btn-glass" style="padding: 8px 16px;">Login</a>
</div>
</header>
<!-- Main Content -->
<main>
<!-- Hero Section -->
<section class="hero">
<div class="container hero-content reveal">
<h1>Build faster with <br><span class="gradient-text">Intelligent Tools</span></h1>
<p class="hero-desc">
Experience the next generation of development workflows.
Seamlessly integrate, deploy, and scale your applications with our modern infrastructure.
</p>
<div class="hero-actions">
<a href="#" class="btn btn-primary">Start Building <i class="ph ph-arrow-right" style="margin-left: 8px;"></i></a>
<a href="#" class="btn btn-glass">View Documentation</a>
</div>
</div>
</section>
<!-- Features Section -->
<section id="features" class="features">
<div class="container">
<div class="reveal">
<h2 style="font-size: 2.5rem; text-align: center; margin-bottom: 10px;">Why Nexus?</h2>
<p style="text-align: center; color: var(--text-muted);">Everything you need to succeed.</p>
</div>
<div class="grid">
<!-- Card 1 -->
<div class="card reveal">
<i class="ph ph-lightning card-icon"></i>
<h3>Instant Deploy</h3>
<p>Push code and see it live instantly. Zero configuration required for standard setups.</p>
</div>
<!-- Card 2 -->
<div class="card reveal">
<i class="ph ph-shield-check card-icon"></i>
<h3>Secure by Default</h3>
<p>Enterprise-grade security baked in from the first commit to the final deployment.</p>
</div>
<!-- Card 3 -->
<div class="card reveal">
<i class="ph ph-chart-line-up card-icon"></i>
<h3>Real-time Analytics</h3>
<p>Monitor your traffic and performance with our built-in dashboard.</p>
</div>
<!-- Card 4 -->
<div class="card reveal">
<i class="ph ph-users card-icon"></i>
<h3>Team Collaboration</h3>
<p>Invite your team, manage permissions, and collaborate in real-time.</p>
</div>
</div>
</div>
</section>
</main>
<!-- Footer -->
<footer>
<div class="container">
<p>&copy; 2023 Nexus Inc. All rights reserved.</p>
<p style="margin-top: 10px; opacity: 0.5;">
<a href="#">Privacy</a><a href="#">Terms</a><a href="#">Twitter</a>
</p>
</div>
</footer>
<!-- JavaScript for Interactions -->
<script>
// Reveal elements on scroll
function reveal() {
var reveals = document.querySelectorAll(".reveal");
for (var i = 0; i < reveals.length; i++) {
var windowHeight = window.innerHeight;
var elementTop = reveals[i].getBoundingClientRect().top;
var elementVisible = 150;
if (elementTop < windowHeight - elementVisible) {
reveals[i].classList.add("active");
}
}
}
window.addEventListener("scroll", reveal);
// Trigger once on load
reveal();
// Simple hover effect logic for cards (optional enhancement)
const cards = document.querySelectorAll('.card');
cards.forEach(card => {
card.addEventListener('mousemove', (e) => {
const rect = card.getBoundingClientRect();
const x = e.clientX - rect.left;
const y = e.clientY - rect.top;
card.style.background = `radial-gradient(${x}px ${y}px, rgba(255,255,255,0.05), var(--bg-card))`;
});
card.addEventListener('mouseleave', () => {
card.style.background = 'var(--bg-card)';
});
});
</script>
</body>
</html>