Spaces:
Running
Running
Make a ool design site in dark mode with high viz yellow as the main color
Browse files- README.md +8 -5
- about.html +113 -0
- components/footer.js +110 -0
- components/navbar.js +132 -0
- index.html +116 -19
- script.js +36 -0
- style.css +28 -18
README.md
CHANGED
|
@@ -1,10 +1,13 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: CyberGlow Noir π
|
| 3 |
+
colorFrom: blue
|
| 4 |
+
colorTo: pink
|
| 5 |
+
emoji: π³
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite-v3
|
| 10 |
---
|
| 11 |
|
| 12 |
+
# Welcome to your new DeepSite project!
|
| 13 |
+
This project was created with [DeepSite](https://huggingface.co/deepsite).
|
about.html
ADDED
|
@@ -0,0 +1,113 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>About | CyberGlow Noir</title>
|
| 7 |
+
<link rel="stylesheet" href="style.css">
|
| 8 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 9 |
+
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
| 10 |
+
<script src="https://unpkg.com/feather-icons"></script>
|
| 11 |
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r128/three.min.js"></script>
|
| 12 |
+
<script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.net.min.js"></script>
|
| 13 |
+
</head>
|
| 14 |
+
<body class="bg-darkbg text-white min-h-screen flex flex-col">
|
| 15 |
+
<custom-navbar></custom-navbar>
|
| 16 |
+
|
| 17 |
+
<main class="flex-grow">
|
| 18 |
+
<div id="vanta-bg" class="absolute inset-0 -z-10"></div>
|
| 19 |
+
|
| 20 |
+
<section class="container mx-auto px-4 py-32 relative z-10">
|
| 21 |
+
<div class="max-w-4xl mx-auto text-center">
|
| 22 |
+
<h1 class="text-5xl md:text-7xl font-bold mb-6">ABOUT <span class="text-cyberyellow">US</span></h1>
|
| 23 |
+
<p class="text-xl md:text-2xl mb-10">The minds behind the <span class="text-cyberyellow font-bold">neon revolution</span></p>
|
| 24 |
+
</div>
|
| 25 |
+
</section>
|
| 26 |
+
|
| 27 |
+
<section class="container mx-auto px-4 pb-20 relative z-10">
|
| 28 |
+
<div class="max-w-6xl mx-auto bg-darkcard rounded-xl p-10 border border-gray-800 glow-box">
|
| 29 |
+
<div class="flex flex-col md:flex-row items-center gap-12">
|
| 30 |
+
<div class="flex-1">
|
| 31 |
+
<img src="http://static.photos/technology/640x360/69" alt="Cyber tech" class="rounded-lg shadow-lg shadow-cyberyellow/20 w-full">
|
| 32 |
+
</div>
|
| 33 |
+
<div class="flex-1">
|
| 34 |
+
<h2 class="text-3xl font-bold mb-6">Our <span class="text-cyberyellow">Mission</span></h2>
|
| 35 |
+
<p class="text-gray-400 mb-6">We're a collective of designers and developers obsessed with the intersection of cyberpunk aesthetics and modern web technology. Our goal is to create digital experiences that feel like they're straight out of a William Gibson novel.</p>
|
| 36 |
+
<p class="text-gray-400 mb-6">Founded in 2024, CyberGlow Noir has been pushing boundaries in dark mode design, with our signature high-visibility yellow accents that cut through the digital darkness like a neon sign in a rainy alley.</p>
|
| 37 |
+
<div class="grid grid-cols-2 gap-4 mb-8">
|
| 38 |
+
<div class="p-4 border border-gray-800 rounded-lg">
|
| 39 |
+
<div class="text-cyberyellow text-2xl font-bold mb-2">100+</div>
|
| 40 |
+
<div class="text-sm text-gray-400">Projects Completed</div>
|
| 41 |
+
</div>
|
| 42 |
+
<div class="p-4 border border-gray-800 rounded-lg">
|
| 43 |
+
<div class="text-cyberyellow text-2xl font-bold mb-2">24/7</div>
|
| 44 |
+
<div class="text-sm text-gray-400">Cyber Support</div>
|
| 45 |
+
</div>
|
| 46 |
+
</div>
|
| 47 |
+
<a href="#contact" class="inline-block border-2 border-cyberyellow text-cyberyellow font-bold px-6 py-3 rounded-full hover:bg-cyberyellow hover:text-black transition-all">
|
| 48 |
+
CONTACT US
|
| 49 |
+
</a>
|
| 50 |
+
</div>
|
| 51 |
+
</div>
|
| 52 |
+
</div>
|
| 53 |
+
</section>
|
| 54 |
+
|
| 55 |
+
<section class="container mx-auto px-4 py-20 relative z-10">
|
| 56 |
+
<div class="max-w-4xl mx-auto text-center mb-16">
|
| 57 |
+
<h2 class="text-3xl md:text-4xl font-bold mb-4">The <span class="text-cyberyellow">Team</span></h2>
|
| 58 |
+
<p class="text-gray-400">Visionaries who see in the dark</p>
|
| 59 |
+
</div>
|
| 60 |
+
|
| 61 |
+
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
|
| 62 |
+
<div class="bg-darkcard p-8 rounded-xl border border-gray-800 hover:border-cyberyellow transition-all group text-center">
|
| 63 |
+
<div class="w-32 h-32 mx-auto mb-6 rounded-full bg-gray-800 overflow-hidden border-2 border-gray-700 group-hover:border-cyberyellow transition-all">
|
| 64 |
+
<img src="http://static.photos/people/320x240/101" alt="Team member" class="w-full h-full object-cover">
|
| 65 |
+
</div>
|
| 66 |
+
<h3 class="text-2xl font-bold mb-2">NEO</h3>
|
| 67 |
+
<p class="text-cyberyellow mb-4">Lead Designer</p>
|
| 68 |
+
<p class="text-gray-400 group-hover:text-white">Creates interfaces that feel like hacking the matrix.</p>
|
| 69 |
+
</div>
|
| 70 |
+
|
| 71 |
+
<div class="bg-darkcard p-8 rounded-xl border border-gray-800 hover:border-cyberyellow transition-all group text-center">
|
| 72 |
+
<div class="w-32 h-32 mx-auto mb-6 rounded-full bg-gray-800 overflow-hidden border-2 border-gray-700 group-hover:border-cyberyellow transition-all">
|
| 73 |
+
<img src="http://static.photos/people/320x240/102" alt="Team member" class="w-full h-full object-cover">
|
| 74 |
+
</div>
|
| 75 |
+
<h3 class="text-2xl font-bold mb-2">TRINITY</h3>
|
| 76 |
+
<p class="text-cyberyellow mb-4">Cyber Developer</p>
|
| 77 |
+
<p class="text-gray-400 group-hover:text-white">Builds digital constructs that bend reality.</p>
|
| 78 |
+
</div>
|
| 79 |
+
|
| 80 |
+
<div class="bg-darkcard p-8 rounded-xl border border-gray-800 hover:border-cyberyellow transition-all group text-center">
|
| 81 |
+
<div class="w-32 h-32 mx-auto mb-6 rounded-full bg-gray-800 overflow-hidden border-2 border-gray-700 group-hover:border-cyberyellow transition-all">
|
| 82 |
+
<img src="http://static.photos/people/320x240/103" alt="Team member" class="w-full h-full object-cover">
|
| 83 |
+
</div>
|
| 84 |
+
<h3 class="text-2xl font-bold mb-2">MORPHEUS</h3>
|
| 85 |
+
<p class="text-cyberyellow mb-4">UX Architect</p>
|
| 86 |
+
<p class="text-gray-400 group-hover:text-white">Designs experiences that wake you up from the digital dream.</p>
|
| 87 |
+
</div>
|
| 88 |
+
</div>
|
| 89 |
+
</section>
|
| 90 |
+
</main>
|
| 91 |
+
|
| 92 |
+
<custom-footer></custom-footer>
|
| 93 |
+
|
| 94 |
+
<script src="components/navbar.js"></script>
|
| 95 |
+
<script src="components/footer.js"></script>
|
| 96 |
+
<script src="script.js"></script>
|
| 97 |
+
<script>
|
| 98 |
+
feather.replace();
|
| 99 |
+
VANTA.NET({
|
| 100 |
+
el: "#vanta-bg",
|
| 101 |
+
mouseControls: true,
|
| 102 |
+
touchControls: true,
|
| 103 |
+
gyroControls: false,
|
| 104 |
+
minHeight: 200.00,
|
| 105 |
+
minWidth: 200.00,
|
| 106 |
+
scale: 1.00,
|
| 107 |
+
scaleMobile: 1.00,
|
| 108 |
+
color: 0xf9ff00,
|
| 109 |
+
backgroundColor: 0xa0a
|
| 110 |
+
})
|
| 111 |
+
</script>
|
| 112 |
+
</body>
|
| 113 |
+
</html>
|
components/footer.js
ADDED
|
@@ -0,0 +1,110 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
class CustomFooter extends HTMLElement {
|
| 2 |
+
connectedCallback() {
|
| 3 |
+
this.attachShadow({ mode: 'open' });
|
| 4 |
+
this.shadowRoot.innerHTML = `
|
| 5 |
+
<style>
|
| 6 |
+
footer {
|
| 7 |
+
background: rgba(10, 10, 10, 0.8);
|
| 8 |
+
color: white;
|
| 9 |
+
padding: 4rem 2rem;
|
| 10 |
+
text-align: center;
|
| 11 |
+
border-top: 1px solid rgba(249, 255, 0, 0.1);
|
| 12 |
+
position: relative;
|
| 13 |
+
}
|
| 14 |
+
.footer-content {
|
| 15 |
+
max-width: 1200px;
|
| 16 |
+
margin: 0 auto;
|
| 17 |
+
display: grid;
|
| 18 |
+
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
| 19 |
+
gap: 2rem;
|
| 20 |
+
text-align: left;
|
| 21 |
+
}
|
| 22 |
+
.footer-logo {
|
| 23 |
+
font-size: 1.5rem;
|
| 24 |
+
font-weight: bold;
|
| 25 |
+
color: #f9ff00;
|
| 26 |
+
margin-bottom: 1rem;
|
| 27 |
+
display: inline-block;
|
| 28 |
+
}
|
| 29 |
+
.footer-links {
|
| 30 |
+
display: flex;
|
| 31 |
+
flex-direction: column;
|
| 32 |
+
gap: 1rem;
|
| 33 |
+
}
|
| 34 |
+
.footer-links a {
|
| 35 |
+
color: white;
|
| 36 |
+
text-decoration: none;
|
| 37 |
+
transition: color 0.3s ease;
|
| 38 |
+
}
|
| 39 |
+
.footer-links a:hover {
|
| 40 |
+
color: #f9ff00;
|
| 41 |
+
}
|
| 42 |
+
.social-links {
|
| 43 |
+
display: flex;
|
| 44 |
+
gap: 1rem;
|
| 45 |
+
margin-top: 1rem;
|
| 46 |
+
}
|
| 47 |
+
.social-links a {
|
| 48 |
+
color: white;
|
| 49 |
+
transition: color 0.3s ease;
|
| 50 |
+
}
|
| 51 |
+
.social-links a:hover {
|
| 52 |
+
color: #f9ff00;
|
| 53 |
+
}
|
| 54 |
+
.copyright {
|
| 55 |
+
margin-top: 3rem;
|
| 56 |
+
padding-top: 2rem;
|
| 57 |
+
border-top: 1px solid rgba(255, 255, 255, 0.1);
|
| 58 |
+
color: rgba(255, 255, 255, 0.6);
|
| 59 |
+
font-size: 0.9rem;
|
| 60 |
+
}
|
| 61 |
+
.glow-effect {
|
| 62 |
+
position: absolute;
|
| 63 |
+
bottom: 0;
|
| 64 |
+
left: 0;
|
| 65 |
+
right: 0;
|
| 66 |
+
height: 2px;
|
| 67 |
+
background: linear-gradient(90deg, transparent, #f9ff00, transparent);
|
| 68 |
+
filter: blur(1px);
|
| 69 |
+
}
|
| 70 |
+
</style>
|
| 71 |
+
<footer>
|
| 72 |
+
<div class="footer-content">
|
| 73 |
+
<div>
|
| 74 |
+
<div class="footer-logo">CYBERGLOW</div>
|
| 75 |
+
<p>Redefining digital experiences with high-voltage design and cyberpunk aesthetics.</p>
|
| 76 |
+
<div class="social-links">
|
| 77 |
+
<a href="#"><i data-feather="twitter"></i></a>
|
| 78 |
+
<a href="#"><i data-feather="github"></i></a>
|
| 79 |
+
<a href="#"><i data-feather="instagram"></i></a>
|
| 80 |
+
<a href="#"><i data-feather="linkedin"></i></a>
|
| 81 |
+
</div>
|
| 82 |
+
</div>
|
| 83 |
+
<div>
|
| 84 |
+
<h3 class="text-lg font-bold mb-3">Quick Links</h3>
|
| 85 |
+
<div class="footer-links">
|
| 86 |
+
<a href="/">Home</a>
|
| 87 |
+
<a href="/about.html">About</a>
|
| 88 |
+
<a href="#explore">Features</a>
|
| 89 |
+
<a href="#contact">Contact</a>
|
| 90 |
+
</div>
|
| 91 |
+
</div>
|
| 92 |
+
<div>
|
| 93 |
+
<h3 class="text-lg font-bold mb-3">Resources</h3>
|
| 94 |
+
<div class="footer-links">
|
| 95 |
+
<a href="#">Documentation</a>
|
| 96 |
+
<a href="#">Tutorials</a>
|
| 97 |
+
<a href="#">Blog</a>
|
| 98 |
+
<a href="#">Support</a>
|
| 99 |
+
</div>
|
| 100 |
+
</div>
|
| 101 |
+
</div>
|
| 102 |
+
<div class="copyright">
|
| 103 |
+
© 2024 CyberGlow Noir. All rights reserved.
|
| 104 |
+
</div>
|
| 105 |
+
<div class="glow-effect"></div>
|
| 106 |
+
</footer>
|
| 107 |
+
`;
|
| 108 |
+
}
|
| 109 |
+
}
|
| 110 |
+
customElements.define('custom-footer', CustomFooter);
|
components/navbar.js
ADDED
|
@@ -0,0 +1,132 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
class CustomNavbar extends HTMLElement {
|
| 2 |
+
connectedCallback() {
|
| 3 |
+
this.attachShadow({ mode: 'open' });
|
| 4 |
+
this.shadowRoot.innerHTML = `
|
| 5 |
+
<style>
|
| 6 |
+
nav {
|
| 7 |
+
background: rgba(10, 10, 10, 0.8);
|
| 8 |
+
backdrop-filter: blur(10px);
|
| 9 |
+
padding: 1.5rem;
|
| 10 |
+
display: flex;
|
| 11 |
+
justify-content: space-between;
|
| 12 |
+
align-items: center;
|
| 13 |
+
position: fixed;
|
| 14 |
+
top: 0;
|
| 15 |
+
left: 0;
|
| 16 |
+
right: 0;
|
| 17 |
+
z-index: 1000;
|
| 18 |
+
border-bottom: 1px solid rgba(249, 255, 0, 0.1);
|
| 19 |
+
}
|
| 20 |
+
.logo {
|
| 21 |
+
color: #f9ff00;
|
| 22 |
+
font-weight: bold;
|
| 23 |
+
font-size: 1.5rem;
|
| 24 |
+
letter-spacing: 1px;
|
| 25 |
+
text-transform: uppercase;
|
| 26 |
+
}
|
| 27 |
+
.nav-links {
|
| 28 |
+
display: flex;
|
| 29 |
+
gap: 2rem;
|
| 30 |
+
list-style: none;
|
| 31 |
+
margin: 0;
|
| 32 |
+
padding: 0;
|
| 33 |
+
}
|
| 34 |
+
.nav-links a {
|
| 35 |
+
color: white;
|
| 36 |
+
text-decoration: none;
|
| 37 |
+
font-weight: 500;
|
| 38 |
+
position: relative;
|
| 39 |
+
padding: 0.5rem 0;
|
| 40 |
+
}
|
| 41 |
+
.nav-links a:after {
|
| 42 |
+
content: '';
|
| 43 |
+
position: absolute;
|
| 44 |
+
bottom: 0;
|
| 45 |
+
left: 0;
|
| 46 |
+
width: 0;
|
| 47 |
+
height: 2px;
|
| 48 |
+
background: #f9ff00;
|
| 49 |
+
transition: width 0.3s ease;
|
| 50 |
+
}
|
| 51 |
+
.nav-links a:hover:after {
|
| 52 |
+
width: 100%;
|
| 53 |
+
}
|
| 54 |
+
.mobile-menu-btn {
|
| 55 |
+
display: none;
|
| 56 |
+
color: white;
|
| 57 |
+
background: none;
|
| 58 |
+
border: none;
|
| 59 |
+
cursor: pointer;
|
| 60 |
+
}
|
| 61 |
+
.mobile-menu {
|
| 62 |
+
display: none;
|
| 63 |
+
position: fixed;
|
| 64 |
+
top: 80px;
|
| 65 |
+
left: 0;
|
| 66 |
+
right: 0;
|
| 67 |
+
background: rgba(26, 26, 26, 0.95);
|
| 68 |
+
padding: 2rem;
|
| 69 |
+
border-top: 1px solid rgba(249, 255, 0, 0.2);
|
| 70 |
+
z-index: 999;
|
| 71 |
+
}
|
| 72 |
+
.mobile-menu.active {
|
| 73 |
+
display: block;
|
| 74 |
+
}
|
| 75 |
+
.mobile-links {
|
| 76 |
+
list-style: none;
|
| 77 |
+
margin: 0;
|
| 78 |
+
padding: 0;
|
| 79 |
+
display: flex;
|
| 80 |
+
flex-direction: column;
|
| 81 |
+
gap: 1.5rem;
|
| 82 |
+
}
|
| 83 |
+
.mobile-links a {
|
| 84 |
+
color: white;
|
| 85 |
+
text-decoration: none;
|
| 86 |
+
font-size: 1.2rem;
|
| 87 |
+
display: block;
|
| 88 |
+
padding: 0.5rem 0;
|
| 89 |
+
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
| 90 |
+
}
|
| 91 |
+
.mobile-links a:hover {
|
| 92 |
+
color: #f9ff00;
|
| 93 |
+
}
|
| 94 |
+
@media (max-width: 768px) {
|
| 95 |
+
.nav-links {
|
| 96 |
+
display: none;
|
| 97 |
+
}
|
| 98 |
+
.mobile-menu-btn {
|
| 99 |
+
display: block;
|
| 100 |
+
}
|
| 101 |
+
}
|
| 102 |
+
</style>
|
| 103 |
+
<nav>
|
| 104 |
+
<a href="/" class="logo">CYBERGLOW</a>
|
| 105 |
+
<ul class="nav-links">
|
| 106 |
+
<li><a href="/">Home</a></li>
|
| 107 |
+
<li><a href="/about.html">About</a></li>
|
| 108 |
+
<li><a href="#explore">Explore</a></li>
|
| 109 |
+
<li><a href="#contact">Contact</a></li>
|
| 110 |
+
</ul>
|
| 111 |
+
<button class="mobile-menu-btn" onclick="toggleMobileMenu()">
|
| 112 |
+
<i data-feather="menu"></i>
|
| 113 |
+
</button>
|
| 114 |
+
</nav>
|
| 115 |
+
<div id="mobile-menu" class="mobile-menu hidden">
|
| 116 |
+
<ul class="mobile-links">
|
| 117 |
+
<li><a href="/">Home</a></li>
|
| 118 |
+
<li><a href="/about.html">About</a></li>
|
| 119 |
+
<li><a href="#explore">Explore</a></li>
|
| 120 |
+
<li><a href="#contact">Contact</a></li>
|
| 121 |
+
</ul>
|
| 122 |
+
</div>
|
| 123 |
+
<script>
|
| 124 |
+
function toggleMobileMenu() {
|
| 125 |
+
const menu = document.getElementById('mobile-menu');
|
| 126 |
+
menu.classList.toggle('hidden');
|
| 127 |
+
}
|
| 128 |
+
</script>
|
| 129 |
+
`;
|
| 130 |
+
}
|
| 131 |
+
}
|
| 132 |
+
customElements.define('custom-navbar', CustomNavbar);
|
index.html
CHANGED
|
@@ -1,19 +1,116 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>CyberGlow Noir</title>
|
| 7 |
+
<link rel="stylesheet" href="style.css">
|
| 8 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 9 |
+
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
| 10 |
+
<script src="https://unpkg.com/feather-icons"></script>
|
| 11 |
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r128/three.min.js"></script>
|
| 12 |
+
<script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.net.min.js"></script>
|
| 13 |
+
<script>
|
| 14 |
+
tailwind.config = {
|
| 15 |
+
theme: {
|
| 16 |
+
extend: {
|
| 17 |
+
colors: {
|
| 18 |
+
cyberyellow: '#f9ff00',
|
| 19 |
+
darkbg: '#0a0a0a',
|
| 20 |
+
darkcard: '#1a1a1a'
|
| 21 |
+
}
|
| 22 |
+
}
|
| 23 |
+
}
|
| 24 |
+
}
|
| 25 |
+
</script>
|
| 26 |
+
</head>
|
| 27 |
+
<body class="bg-darkbg text-white min-h-screen flex flex-col">
|
| 28 |
+
<custom-navbar></custom-navbar>
|
| 29 |
+
|
| 30 |
+
<main class="flex-grow">
|
| 31 |
+
<div id="vanta-bg" class="absolute inset-0 -z-10"></div>
|
| 32 |
+
|
| 33 |
+
<section class="container mx-auto px-4 py-20 relative z-10">
|
| 34 |
+
<div class="max-w-4xl mx-auto text-center">
|
| 35 |
+
<h1 class="text-5xl md:text-7xl font-bold mb-6 text-cyberyellow">CYBER<span class="text-white">GLOW</span></h1>
|
| 36 |
+
<p class="text-xl md:text-2xl mb-10">Where darkness meets <span class="text-cyberyellow font-bold">high-voltage</span> design</p>
|
| 37 |
+
<a href="#explore" class="inline-block bg-cyberyellow text-black font-bold px-8 py-4 rounded-full hover:opacity-90 transition-all transform hover:scale-105">
|
| 38 |
+
IGNITE EXPERIENCE
|
| 39 |
+
</a>
|
| 40 |
+
</div>
|
| 41 |
+
</section>
|
| 42 |
+
|
| 43 |
+
<section id="explore" class="container mx-auto px-4 py-20 relative z-10">
|
| 44 |
+
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
|
| 45 |
+
<div class="bg-darkcard p-8 rounded-xl border border-gray-800 hover:border-cyberyellow transition-all group">
|
| 46 |
+
<div class="text-cyberyellow mb-4 group-hover:text-white transition-all">
|
| 47 |
+
<i data-feather="codesandbox" class="w-12 h-12"></i>
|
| 48 |
+
</div>
|
| 49 |
+
<h3 class="text-2xl font-bold mb-3">Modular Design</h3>
|
| 50 |
+
<p class="text-gray-400 group-hover:text-white">Customizable components that glow in the dark interface.</p>
|
| 51 |
+
</div>
|
| 52 |
+
|
| 53 |
+
<div class="bg-darkcard p-8 rounded-xl border border-gray-800 hover:border-cyberyellow transition-all group">
|
| 54 |
+
<div class="text-cyberyellow mb-4 group-hover:text-white transition-all">
|
| 55 |
+
<i data-feather="zap" class="w-12 h-12"></i>
|
| 56 |
+
</div>
|
| 57 |
+
<h3 class="text-2xl font-bold mb-3">Lightning Fast</h3>
|
| 58 |
+
<p class="text-gray-400 group-hover:text-white">Optimized performance that hits like an electric shock.</p>
|
| 59 |
+
</div>
|
| 60 |
+
|
| 61 |
+
<div class="bg-darkcard p-8 rounded-xl border border-gray-800 hover:border-cyberyellow transition-all group">
|
| 62 |
+
<div class="text-cyberyellow mb-4 group-hover:text-white transition-all">
|
| 63 |
+
<i data-feather="eye" class="w-12 h-12"></i>
|
| 64 |
+
</div>
|
| 65 |
+
<h3 class="text-2xl font-bold mb-3">Retina Burn</h3>
|
| 66 |
+
<p class="text-gray-400 group-hover:text-white">Visuals so sharp they'll leave an afterimage on your retinas.</p>
|
| 67 |
+
</div>
|
| 68 |
+
</div>
|
| 69 |
+
</section>
|
| 70 |
+
|
| 71 |
+
<section class="container mx-auto px-4 py-20 relative z-10">
|
| 72 |
+
<div class="max-w-4xl mx-auto bg-darkcard rounded-xl p-10 border border-gray-800">
|
| 73 |
+
<div class="flex flex-col md:flex-row items-center gap-8">
|
| 74 |
+
<div class="flex-1">
|
| 75 |
+
<h2 class="text-4xl font-bold mb-6">The <span class="text-cyberyellow">Neon</span> Revolution</h2>
|
| 76 |
+
<p class="text-gray-400 mb-6">We're redefining digital experiences with our signature cyberpunk aesthetic. High contrast, bold typography, and that unmistakable yellow glow against the void.</p>
|
| 77 |
+
<ul class="space-y-3 mb-8">
|
| 78 |
+
<li class="flex items-center gap-3"><i data-feather="check" class="text-cyberyellow"></i> <span>100% Dark Mode Optimized</span></li>
|
| 79 |
+
<li class="flex items-center gap-3"><i data-feather="check" class="text-cyberyellow"></i> <span>Retina-Searing Visuals</span></li>
|
| 80 |
+
<li class="flex items-center gap-3"><i data-feather="check" class="text-cyberyellow"></i> <span>Fully Responsive Grid</span></li>
|
| 81 |
+
</ul>
|
| 82 |
+
<a href="/about.html" class="inline-block border-2 border-cyberyellow text-cyberyellow font-bold px-6 py-3 rounded-full hover:bg-cyberyellow hover:text-black transition-all">
|
| 83 |
+
LEARN MORE
|
| 84 |
+
</a>
|
| 85 |
+
</div>
|
| 86 |
+
<div class="flex-1">
|
| 87 |
+
<img src="http://static.photos/technology/640x360/42" alt="Cyber tech" class="rounded-lg shadow-lg shadow-cyberyellow/20">
|
| 88 |
+
</div>
|
| 89 |
+
</div>
|
| 90 |
+
</div>
|
| 91 |
+
</section>
|
| 92 |
+
</main>
|
| 93 |
+
|
| 94 |
+
<custom-footer></custom-footer>
|
| 95 |
+
|
| 96 |
+
<script src="components/navbar.js"></script>
|
| 97 |
+
<script src="components/footer.js"></script>
|
| 98 |
+
<script src="script.js"></script>
|
| 99 |
+
<script>
|
| 100 |
+
feather.replace();
|
| 101 |
+
VANTA.NET({
|
| 102 |
+
el: "#vanta-bg",
|
| 103 |
+
mouseControls: true,
|
| 104 |
+
touchControls: true,
|
| 105 |
+
gyroControls: false,
|
| 106 |
+
minHeight: 200.00,
|
| 107 |
+
minWidth: 200.00,
|
| 108 |
+
scale: 1.00,
|
| 109 |
+
scaleMobile: 1.00,
|
| 110 |
+
color: 0xf9ff00,
|
| 111 |
+
backgroundColor: 0xa0a
|
| 112 |
+
})
|
| 113 |
+
</script>
|
| 114 |
+
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
|
| 115 |
+
</body>
|
| 116 |
+
</html>
|
script.js
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
// Typing animation for hero section
|
| 2 |
+
document.addEventListener('DOMContentLoaded', () => {
|
| 3 |
+
const heroText = document.querySelector('.hero-text');
|
| 4 |
+
if (heroText) {
|
| 5 |
+
const text = "CYBERGLOW";
|
| 6 |
+
let i = 0;
|
| 7 |
+
const typing = setInterval(() => {
|
| 8 |
+
if (i < text.length) {
|
| 9 |
+
heroText.textContent += text.charAt(i);
|
| 10 |
+
i++;
|
| 11 |
+
} else {
|
| 12 |
+
clearInterval(typing);
|
| 13 |
+
}
|
| 14 |
+
}, 150);
|
| 15 |
+
}
|
| 16 |
+
|
| 17 |
+
// Glow effect on scroll
|
| 18 |
+
window.addEventListener('scroll', () => {
|
| 19 |
+
const elements = document.querySelectorAll('.glow-on-scroll');
|
| 20 |
+
elements.forEach(el => {
|
| 21 |
+
const rect = el.getBoundingClientRect();
|
| 22 |
+
const isVisible = (rect.top <= window.innerHeight) && (rect.bottom >= 0);
|
| 23 |
+
if (isVisible) {
|
| 24 |
+
el.classList.add('glow-text');
|
| 25 |
+
} else {
|
| 26 |
+
el.classList.remove('glow-text');
|
| 27 |
+
}
|
| 28 |
+
});
|
| 29 |
+
});
|
| 30 |
+
});
|
| 31 |
+
|
| 32 |
+
// Mobile menu toggle
|
| 33 |
+
function toggleMobileMenu() {
|
| 34 |
+
const menu = document.getElementById('mobile-menu');
|
| 35 |
+
menu.classList.toggle('hidden');
|
| 36 |
+
}
|
style.css
CHANGED
|
@@ -1,28 +1,38 @@
|
|
|
|
|
|
|
|
| 1 |
body {
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
}
|
| 5 |
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
margin-top: 0;
|
| 9 |
}
|
| 10 |
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
margin-bottom: 10px;
|
| 15 |
-
margin-top: 5px;
|
| 16 |
}
|
| 17 |
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
padding: 16px;
|
| 22 |
-
border: 1px solid lightgray;
|
| 23 |
-
border-radius: 16px;
|
| 24 |
}
|
| 25 |
|
| 26 |
-
.
|
| 27 |
-
|
| 28 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');
|
| 2 |
+
|
| 3 |
body {
|
| 4 |
+
font-family: 'Space Grotesk', sans-serif;
|
| 5 |
+
background-color: #0a0a0a;
|
| 6 |
+
}
|
| 7 |
+
|
| 8 |
+
::-webkit-scrollbar {
|
| 9 |
+
width: 8px;
|
| 10 |
+
height: 8px;
|
| 11 |
}
|
| 12 |
|
| 13 |
+
::-webkit-scrollbar-track {
|
| 14 |
+
background: #1a1a1a;
|
|
|
|
| 15 |
}
|
| 16 |
|
| 17 |
+
::-webkit-scrollbar-thumb {
|
| 18 |
+
background: #f9ff00;
|
| 19 |
+
border-radius: 4px;
|
|
|
|
|
|
|
| 20 |
}
|
| 21 |
|
| 22 |
+
::selection {
|
| 23 |
+
background: #f9ff00;
|
| 24 |
+
color: #000;
|
|
|
|
|
|
|
|
|
|
| 25 |
}
|
| 26 |
|
| 27 |
+
.glow-text {
|
| 28 |
+
text-shadow: 0 0 10px rgba(249, 255, 0, 0.7);
|
| 29 |
}
|
| 30 |
+
|
| 31 |
+
.glow-box {
|
| 32 |
+
box-shadow: 0 0 15px rgba(249, 255, 0, 0.3);
|
| 33 |
+
}
|
| 34 |
+
|
| 35 |
+
.hover-glow:hover {
|
| 36 |
+
box-shadow: 0 0 20px rgba(249, 255, 0, 0.5);
|
| 37 |
+
transition: box-shadow 0.3s ease;
|
| 38 |
+
}
|