anycoder-5e485817 / index.html
mg696's picture
Upload folder using huggingface_hub
bdefa61 verified
Raw History Blame Contribute Delete
14.2 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Modern Interactive Experience</title>
<!-- Font Awesome for Icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&display=swap" rel="stylesheet">
<style>
:root {
--primary: #6366f1;
--primary-hover: #4f46e5;
--bg-dark: #0f172a;
--bg-card: rgba(30, 41, 59, 0.7);
--text-main: #f8fafc;
--text-muted: #94a3b8;
--glass-border: rgba(255, 255, 255, 0.1);
--transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Inter', sans-serif;
}
body {
background-color: var(--bg-dark);
color: var(--text-main);
line-height: 1.6;
overflow-x: hidden;
background: radial-gradient(circle at top right, #1e1b4b, #0f172a);
background-attachment: fixed;
}
/* Custom Scrollbar */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
background: var(--primary);
border-radius: 10px;
}
/* Header & Navigation */
header {
position: fixed;
top: 0;
width: 100%;
z-index: 1000;
padding: 1.5rem 2rem;
display: flex;
justify-content: space-between;
align-items: center;
backdrop-filter: blur(12px);
border-bottom: 1px solid var(--glass-border);
transition: var(--transition);
}
header.scrolled {
padding: 1rem 2rem;
background: rgba(15, 23, 42, 0.9);
}
.logo {
font-size: 1.5rem;
font-weight: 800;
background: linear-gradient(to right, #818cf8, #c084fc);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
cursor: pointer;
}
nav ul {
display: flex;
list-style: none;
gap: 2rem;
align-items: center;
}
nav a {
color: var(--text-main);
text-decoration: none;
font-weight: 500;
font-size: 0.9rem;
transition: var(--transition);
opacity: 0.8;
}
nav a:hover {
opacity: 1;
color: var(--primary);
}
.anycoder-link {
font-size: 0.75rem !important;
color: var(--text-muted) !important;
border: 1px solid var(--glass-border);
padding: 4px 12px;
border-radius: 20px;
transition: var(--transition) !important;
}
.anycoder-link:hover {
background: var(--primary);
color: white !important;
border-color: var(--primary);
}
/* Hero Section */
.hero {
height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
padding: 0 1rem;
position: relative;
}
.hero h1 {
font-size: clamp(2.5rem, 8vw, 5rem);
font-weight: 800;
margin-bottom: 1.5rem;
line-height: 1.1;
animation: fadeInUp 0.8s ease-out;
}
.hero h1 span {
color: var(--primary);
}
.hero p {
font-size: clamp(1rem, 3vw, 1.25rem);
color: var(--text-muted);
max-width: 600px;
margin-bottom: 2.5rem;
animation: fadeInUp 1s ease-out;
}
.cta-group {
display: flex;
gap: 1rem;
animation: fadeInUp 1.2s ease-out;
}
.btn {
padding: 0.8rem 2rem;
border-radius: 8px;
text-decoration: none;
font-weight: 600;
transition: var(--transition);
cursor: pointer;
border: none;
}
.btn-primary {
background: var(--primary);
color: white;
box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.3);
}
.btn-primary:hover {
background: var(--primary-hover);
transform: translateY(-2px);
}
.btn-outline {
background: transparent;
color: white;
border: 1px solid var(--glass-border);
}
.btn-outline:hover {
background: rgba(255, 255, 255, 0.05);
border-color: white;
}
/* Grid Section */
.section {
padding: 100px 2rem;
max-width: 1200px;
margin: 0 auto;
}
.section-title {
text-align: center;
margin-bottom: 4rem;
}
.section-title h2 {
font-size: 2.5rem;
margin-bottom: 1rem;
}
.section-title p {
color: var(--text-muted);
}
.grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
}
.card {
background: var(--bg-card);
border: 1px solid var(--glass-border);
border-radius: 20px;
padding: 2rem;
transition: var(--transition);
backdrop-filter: blur(10px);
position: relative;
overflow: hidden;
}
.card:hover {
transform: translateY(-10px);
border-color: var(--primary);
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}
.card i {
font-size: 2rem;
color: var(--primary);
margin-bottom: 1.5rem;
display: block;
}
.card h3 {
margin-bottom: 1rem;
font-size: 1.5rem;
}
.card p {
color: var(--text-muted);
font-size: 0.95rem;
}
/* Contact Form */
.contact-container {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 4rem;
align-items: center;
}
.contact-form {
background: var(--bg-card);
padding: 2.5rem;
border-radius: 20px;
border: 1px solid var(--glass-border);
}
.form-group {
margin-bottom: 1.5rem;
}
.form-group label {
display: block;
margin-bottom: 0.5rem;
font-size: 0.9rem;
color: var(--text-muted);
}
.form-group input, .form-group textarea {
width: 100%;
padding: 0.8rem;
background: rgba(15, 23, 42, 0.5);
border: 1px solid var(--glass-border);
border-radius: 8px;
color: white;
outline: none;
transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus {
border-color: var(--primary);
box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}
/* Footer */
footer {
padding: 3rem 2rem;
text-align: center;
border-top: 1px solid var(--glass-border);
color: var(--text-muted);
font-size: 0.9rem;
}
/* Animations */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Responsive Design */
@media (max-width: 768px) {
nav ul {
display: none; /* Simple mobile hide for demo */
}
.contact-container {
grid-template-columns: 1fr;
}
.hero h1 {
font-size: 3rem;
}
}
</style>
</head>
<body>
<header id="header">
<div class="logo">NEXUS.UI</div>
<nav>
<ul>
<li><a href="#home">Home</a></li>
<li><a href="#services">Services</a></li>
<li><a href="#about">About</a></li>
<li><a href="#contact">Contact</a></li>
<li><a href="https://huggingface.co/spaces/akhaliq/anycoder" class="anycoder-link" target="_blank">Built with anycoder</a></li>
</ul>
</nav>
</header>
<section class="hero" id="home">
<h1>Designing the <span>Future</span> <br> of Digital Experiences</h1>
<p>We blend cutting-edge technology with intuitive design to create products that users love and businesses scale with.</p>
<div class="cta-group">
<a href="#contact" class="btn btn-primary">Get Started</a>
<a href="#services" class="btn btn-outline">View Work</a>
</div>
</section>
<section class="section" id="services">
<div class="section-title">
<h2>Our Expertise</h2>
<p>Specializing in modern web ecosystems and high-performance interfaces.</p>
</div>
<div class="grid">
<div class="card">
<i class="fa-solid fa-layer-group"></i>
<h3>UI/UX Design</h3>
<p>Creating seamless user journeys through rigorous research and modern aesthetic principles.</p>
</div>
<div class="card">
<i class="fa-solid fa-code"></i>
<h3>Frontend Dev</h3>
<p>Building lightning-fast, responsive interfaces using the latest CSS and JS frameworks.</p>
</div>
<div class="card">
<i class="fa-solid fa-rocket"></i>
<h3>Optimization</h3>
<p>Boosting performance and accessibility to ensure your site reaches every possible user.</p>
</div>
</div>
</section>
<section class="section" id="contact">
<div class="contact-container">
<div class="contact-text">
<h2 style="font-size: 2.5rem; margin-bottom: 1.5rem;">Let's create <br>something <span>amazing</span>.</h2>
<p style="color: var(--text-muted); margin-bottom: 2rem;">Ready to take your project to the next level? Reach out to us and let's discuss how we can help you grow.</p>
<div style="display: flex; gap: 1.5rem; font-size: 1.5rem;">
<a href="#" style="color: var(--text-main);"><i class="fa-brands fa-github"></i></a>
<a href="#" style="color: var(--text-main);"><i class="fa-brands fa-linkedin"></i></a>
<a href="#" style="color: var(--text-main);"><i class="fa-brands fa-twitter"></i></a>
</div>
</div>
<div class="contact-form">
<form id="myForm">
<div class="form-group">
<label>Full Name</label>
<input type="text" placeholder="John Doe" required>
</div>
<div class="form-group">
<label>Email Address</label>
<input type="email" placeholder="john@example.com" required>
</div>
<div class="form-group">
<label>Message</label>
<textarea rows="5" placeholder="Tell us about your project..." required></textarea>
</div>
<button type="submit" class="btn btn-primary" style="width: 100%;">Send Message</button>
</form>
</div>
</div>
</section>
<footer>
<p>&copy; 2023 NEXUS.UI Design Studio. All rights reserved.</p>
</footer>
<script>
// Header scroll effect
window.addEventListener('scroll', () => {
const header = document.getElementById('header');
if (window.scrollY > 50) {
header.classList.add('scrolled');
} else {
header.classList.remove('scrolled');
}
});
// Smooth scrolling for navigation links
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function (e) {
e.preventDefault();
document.querySelector(this.getAttribute('href')).scrollIntoView({
behavior: 'smooth'
});
});
});
// Form submission handling
document.getElementById('myForm').addEventListener('submit', (e) => {
e.preventDefault();
alert('Thank you! Your message has been sent successfully. (Demo Only)');
e.target.reset();
});
// Simple reveal animation on scroll
const observerOptions = {
threshold: 0.1
};
const observer = new IntersectionObserver((entries) => {
entries.forEach(entry => {
if (entry.isIntersecting) {
entry.target.style.opacity = '1';
entry.target.style.transform = 'translateY(0)';
}
});
}, observerOptions);
document.querySelectorAll('.card').forEach(card => {
card.style.opacity = '0';
card.style.transform = 'translateY(30px)';
card.style.transition = 'all 0.6s ease-out';
observer.observe(card);
});
</script>
</body>
</html>