Spaces:
Running
Running
their website language must be in norwegian I want the loading screen with animations that their website must be modern When you are shopping on this website, the client should feel that this is luxury and if you buy this, you become apart of our team who help us out since it’s my first release it will be special very special items included. You can also buy a pre-order of the album inside their and I swear on God if you keep on what’s inside if you want to make money of it, you can resell when i finish album its first stagea and steps but i am a real believer visonary i want to make people feel they become a part of a movement, redesign colors add animations and suprise me
Browse filesFiles changed (4)
- components/loading-screen.jsAdded+89
- index.html+26-22
- script.js+124-12
- style.css+99-10
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889class LoadingScreen extends HTMLElement { connectedCallback() { this.attachShadow({ mode: 'open' }); this.shadowRoot.innerHTML = ` <style> :host { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #111827; z-index: 9999; display: flex; flex-direction: column; justify-content: center; align-items: center; transition: opacity 0.5s ease; } .logo { font-size: 3rem; font-weight: 900; margin-bottom: 2rem; background: linear-gradient(90deg, #f59e0b, #fbbf24); -webkit-background-clip: text; -webkit-text-fill-color: transparent; opacity: 0; transform: translateY(20px); animation: fadeIn 0.5s ease forwards 0.3s; } .progress-container { width: 300px; height: 3px; background: rgba(255, 255, 255, 0.1); border-radius: 3px; overflow: hidden; } .progress-bar { height: 100%; width: 0; background: linear-gradient(90deg, #f59e0b, #fbbf24); transition: width 0.3s ease; } .message { margin-top: 1rem; color: #fbbf24; font-size: 0.9rem; opacity: 0; animation: fadeIn 0.5s ease forwards 0.6s; } @keyframes fadeIn { to { opacity: 1; transform: translateY(0); } } </style> <div class="logo">OG ENCRO</div> <div class="progress-container"> <div class="progress-bar"></div> </div> <div class="message">Laster eksklusivt innhold...</div> `; // Simulate loading progress const progressBar = this.shadowRoot.querySelector('.progress-bar'); let progress = 0; const interval = setInterval(() => { progress += Math.random() * 10; progressBar.style.width = `${Math.min(progress, 100)}%`; if (progress >= 100) { clearInterval(interval); setTimeout(() => { this.style.opacity = '0'; setTimeout(() => { this.remove(); }, 500); }, 300); } }, 100); }}customElements.define('loading-screen', LoadingScreen);123456789107 unmodified lines18192021222324252627282930313233341 unmodified line3637383940414243444546474849505192 unmodified lines144145146147148149150151152153<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>OG ENCRO Merch | Street Underground</title><link rel="icon" type="image/x-icon" href="/static/favicon.ico"><link rel="stylesheet" href="style.css"><script src="https://cdn.tailwindcss.com"></script><script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>7 unmodified lines<section id="hero" class="relative min-h-screen flex items-center justify-center overflow-hidden"><div id="vanta-bg" class="absolute inset-0 z-0"></div><div class="container mx-auto px-4 relative z-10 text-center"><h1 class="text-5xl md:text-7xl font-black mb-6 tracking-tighter"><span class="bg-clip-text text-transparent bg-gradient-to-r from-fuchsia-500 to-purple-600">OG ENCRO</span></h1><p class="text-xl md:text-2xl mb-8 max-w-2xl mx-auto font-light">Street Underground Merchandise</p><div class="flex flex-col sm:flex-row gap-4 justify-center"><a href="#shop" class="px-8 py-4 bg-fuchsia-600 hover:bg-fuchsia-700 rounded-full font-bold text-lg transition-all transform hover:scale-105">SHOP NOW</a><a href="#about" class="px-8 py-4 bg-transparent border-2 border-fuchsia-600 hover:bg-fuchsia-600 rounded-full font-bold text-lg transition-all">LEARN MORE</a></div></div></section>1 unmodified line<!-- Featured Products --><section id="shop" class="py-20 bg-gray-900"><div class="container mx-auto px-4"><h2 class="text-4xl font-bold text-center mb-16">FEATURED DROPS</h2><div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8"><div class="bg-gray-800 rounded-xl overflow-hidden shadow-2xl transform transition-transform hover:scale-105"><div class="h-64 bg-gradient-to-br from-fuchsia-600 to-purple-800 flex items-center justify-center"><div class="bg-gray-200 border-2 border-dashed rounded-xl w-16 h-16" /></div><div class="p-6"><h3 class="text-2xl font-bold mb-2">Underground Tee</h3><p class="text-gray-400 mb-4">Limited Edition Streetwear</p><div class="flex justify-between items-center"><span class="text-xl font-bold text-fuchsia-500">$49.99</span><button class="px-4 py-2 bg-fuchsia-600 hover:bg-fuchsia-700 rounded-lg transition-colors">ADD TO CART92 unmodified lines</section><custom-footer></custom-footer><script src="components/navbar.js"></script><script src="components/footer.js"></script><script src="script.js"></script><script>feather.replace();</script><script src="https://huggingface.co/deepsite/deepsite-badge.js"></script></body></html>12345678910117 unmodified lines19202122232425262728293031323334351 unmodified line3738394041424344454647484950515292 unmodified lines145146147148149150151152153154155156157<!DOCTYPE html><html lang="no"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>OG ENCRO | Eksklusiv Kolleksjon</title><link rel="icon" type="image/x-icon" href="/static/favicon.ico"><link rel="stylesheet" href="style.css"><script src="https://cdn.tailwindcss.com"></script><script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>7 unmodified lines<section id="hero" class="relative min-h-screen flex items-center justify-center overflow-hidden"><div id="vanta-bg" class="absolute inset-0 z-0"></div><div class="container mx-auto px-4 relative z-10 text-center"><h1 class="text-5xl md:text-7xl font-black mb-6 tracking-tighter animate-fadeIn"><span class="bg-clip-text text-transparent bg-gradient-to-r from-amber-500 to-yellow-600">OG ENCRO</span></h1><p class="text-xl md:text-2xl mb-8 max-w-2xl mx-auto font-light text-amber-100">Eksklusiv Kolleksjon - Din Vei Til Underverdenen</p><div class="flex flex-col sm:flex-row gap-4 justify-center"><a href="#shop" class="px-8 py-4 bg-fuchsia-600 hover:bg-fuchsia-700 rounded-full font-bold text-lg transition-all transform hover:scale-105">HANDLE NÅ</a><a href="#about" class="px-8 py-4 bg-transparent border-2 border-fuchsia-600 hover:bg-fuchsia-600 rounded-full font-bold text-lg transition-all">OM OSS</a></div></div></section>1 unmodified line<!-- Featured Products --><section id="shop" class="py-20 bg-gray-900"><div class="container mx-auto px-4"><h2 class="text-4xl font-bold text-center mb-16 text-amber-400 animate-slideIn">SPESIALUTGIVELSE</h2><div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8"><div class="bg-gray-800 rounded-xl overflow-hidden shadow-2xl transform transition-transform hover:scale-105"><div class="h-64 bg-gradient-to-br from-fuchsia-600 to-purple-800 flex items-center justify-center"><div class="bg-gray-200 border-2 border-dashed rounded-xl w-16 h-16" /></div><div class="p-6"><h3 class="text-2xl font-bold mb-2">Underground T-skjorte</h3><p class="text-gray-400 mb-4">Begrenset Utgave - Kun 100 stk</p><div class="flex justify-between items-center"><span class="text-xl font-bold text-fuchsia-500">$49.99</span><button class="px-4 py-2 bg-fuchsia-600 hover:bg-fuchsia-700 rounded-lg transition-colors">ADD TO CART92 unmodified lines</section><custom-footer></custom-footer><script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.11.4/gsap.min.js"></script><script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.11.4/ScrollTrigger.min.js"></script><script src="https://cdn.jsdelivr.net/npm/canvas-confetti@1.5.1/dist/confetti.browser.min.js"></script><script src="components/navbar.js"></script><script src="components/footer.js"></script><script src="components/loading-screen.js"></script><script src="script.js"></script><script>feather.replace();</script></body></html>
12345620 unmodified lines2728293031323334353637383925 unmodified lines65666768697071727374759 unmodified lines858687888990919293// Shared JavaScript across all pagesdocument.addEventListener('DOMContentLoaded', function() {// Initialize Vanta.js backgroundif (document.getElementById('vanta-bg')) {VANTA.GLOBE({el: "#vanta-bg",20 unmodified linesbutton.addEventListener('click', function() {const productCard = this.closest('.bg-gray-800');const productName = productCard.querySelector('h3').textContent;// Visual feedbackconst originalText = this.textContent;this.textContent = 'ADDED!';this.classList.add('bg-green-600');setTimeout(() => {this.textContent = originalText;this.classList.remove('bg-green-600');}, 1500);25 unmodified linesconst email = emailInput.value.trim();if (email && validateEmail(email)) {// Visual feedbackconst originalText = this.textContent;this.textContent = 'SUBSCRIBED!';this.classList.add('bg-green-600');emailInput.value = '';setTimeout(() => {this.textContent = originalText;9 unmodified lines}});}// Email validation helperfunction validateEmail(email) {const re = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;return re.test(email);}123456789101112131415161718192021222324252627282930313233343536373839404142434420 unmodified lines6566676869707172737475767778798081828325 unmodified lines1091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501519 unmodified lines161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205// Loading screendocument.body.insertAdjacentHTML('afterbegin', '<loading-screen></loading-screen>');// Luxury animationsconst animateOnScroll = () => {const elements = document.querySelectorAll('.animate-scroll');elements.forEach(el => {const rect = el.getBoundingClientRect();if (rect.top < window.innerHeight * 0.8) {el.classList.add('animate-fadeInUp');}});};// Shared JavaScript across all pagesdocument.addEventListener('DOMContentLoaded', function() {// Initialize floating elementsgsap.to(".floating-element", {y: 20,duration: 3,repeat: -1,yoyo: true,ease: "sine.inOut"});// Parallax effect for hero sectiongsap.to("#hero-content", {y: -50,scrollTrigger: {trigger: "#hero",start: "top top",end: "bottom top",scrub: true}});// Initialize scroll animationswindow.addEventListener('scroll', animateOnScroll);animateOnScroll();// Initialize Vanta.js backgroundif (document.getElementById('vanta-bg')) {VANTA.GLOBE({el: "#vanta-bg",20 unmodified linesbutton.addEventListener('click', function() {const productCard = this.closest('.bg-gray-800');const productName = productCard.querySelector('h3').textContent;// Luxury feedbackconst originalText = this.textContent;this.textContent = 'LAGT TIL!';this.classList.add('bg-amber-600');// Confetti effectconfetti({particleCount: 100,spread: 70,origin: { y: 0.6 },colors: ['#f59e0b', '#fbbf24', '#ffffff']});setTimeout(() => {this.textContent = originalText;this.classList.remove('bg-green-600');}, 1500);25 unmodified linesconst email = emailInput.value.trim();if (email && validateEmail(email)) {// Luxury feedbackconst originalText = this.textContent;this.textContent = 'TUSEN TAKK!';this.classList.add('bg-amber-600');// Golden particles animationconst particles = [];for (let i = 0; i < 30; i++) {particles.push({x: newsletterForm.getBoundingClientRect().left + Math.random() * newsletterForm.offsetWidth,y: newsletterForm.getBoundingClientRect().top + Math.random() * newsletterForm.offsetHeight,size: Math.random() * 3 + 2,speed: Math.random() * 2 + 1});}particles.forEach(p => {const particle = document.createElement('div');particle.style.position = 'absolute';particle.style.width = `${p.size}px`;particle.style.height = `${p.size}px`;particle.style.backgroundColor = '#fbbf24';particle.style.borderRadius = '50%';particle.style.left = `${p.x}px`;particle.style.top = `${p.y}px`;document.body.appendChild(particle);gsap.to(particle, {y: `-=${p.speed * 50}`,x: `+=${(Math.random() - 0.5) * 50}`,opacity: 0,duration: 1.5,ease: "power1.out",onComplete: () => particle.remove()});});emailInput.value = '';setTimeout(() => {this.textContent = originalText;9 unmodified lines}});}// VIP Membership modalfunction showVIPModal() {const modal = document.createElement('div');modal.className = 'fixed inset-0 bg-black bg-opacity-80 z-50 flex items-center justify-center p-4';modal.innerHTML = `<div class="bg-gray-900 border border-amber-500 rounded-xl max-w-md w-full p-8 relative animate-scaleIn"><button class="absolute top-4 right-4 text-amber-500 hover:text-amber-300"><i data-feather="x"></i></button><h3 class="text-2xl font-bold text-amber-500 mb-4">Bli En Del Av Familien</h3><p class="text-gray-300 mb-6">Ved å kjøpe denne eksklusive kolleksjonen blir du en del av OG ENCRO-familien.Få tilgang til tidlig utgivelse av albumet, VIP-arrangementer og muligheten tilå tjene penger på begrensede utgaver.</p><div class="flex justify-end"><button class="px-6 py-3 bg-amber-600 hover:bg-amber-700 rounded-lg font-bold transition-colors">Jeg Er Med</button></div></div>`;document.body.appendChild(modal);feather.replace();modal.querySelector('button').addEventListener('click', () => {gsap.to(modal.querySelector('div'), {scale: 0.9,opacity: 0,duration: 0.3,ease: "power1.in",onComplete: () => modal.remove()});});}// Email validation helperfunction validateEmail(email) {const re = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;return re.test(email);}
12345678910111217 unmodified lines3031323334358 unmodified lines444546474849505112 unmodified lines646566676869707172737475/* Shared styles across all pages */@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');:root {--fuchsia-500: #d946ef;--fuchsia-600: #c026d3;--fuchsia-700: #a21caf;}body {font-family: 'Inter', sans-serif;background-color: #111827;17 unmodified lines::-webkit-scrollbar-thumb:hover {background: var(--fuchsia-500);}/* Animation for hero section */@keyframes float {8 unmodified lines/* Gradient text utility */.bg-gradient-text {background: linear-gradient(90deg, var(--fuchsia-500), #8b5cf6);-webkit-background-clip: text;-webkit-text-fill-color: transparent;}12 unmodified lines.btn-hover-effect {transition: all 0.3s ease;}.btn-hover-effect:hover {transform: translateY(-2px);box-shadow: 0 10px 20px rgba(217, 70, 239, 0.3);}/* Card hover effects */.card-hover {transition: all 0.3s ease;12345678910111217 unmodified lines3031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788898 unmodified lines989910010110210310410512 unmodified lines118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164/* Shared styles across all pages */@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');:root {--amber-500: #f59e0b;--amber-600: #d97706;--amber-700: #b45309;--gold-500: #fbbf24;--gold-600: #f59e0b;}body {font-family: 'Inter', sans-serif;background-color: #111827;17 unmodified lines::-webkit-scrollbar-thumb:hover {background: var(--fuchsia-500);}/* Luxury animations */.animate-fadeIn {opacity: 0;animation: fadeIn 1s ease forwards;}.animate-slideIn {opacity: 0;transform: translateY(30px);animation: slideIn 0.8s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;}.animate-fadeInUp {opacity: 0;transform: translateY(20px);animation: fadeInUp 0.8s ease forwards;}.animate-scaleIn {animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;}@keyframes fadeIn {to { opacity: 1; }}@keyframes slideIn {to {opacity: 1;transform: translateY(0);}}@keyframes fadeInUp {to {opacity: 1;transform: translateY(0);}}@keyframes scaleIn {0% { transform: scale(0.8); opacity: 0; }100% { transform: scale(1); opacity: 1; }}/* Gold text glow */.text-gold-glow {text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);}/* Product card glow */.card-glow:hover {box-shadow: 0 0 30px rgba(251, 191, 36, 0.2);}/* Animation for hero section */@keyframes float {8 unmodified lines/* Gradient text utility */.bg-gradient-text {background: linear-gradient(90deg, var(--amber-500), var(--gold-500));-webkit-background-clip: text;-webkit-text-fill-color: transparent;}12 unmodified lines.btn-hover-effect {transition: all 0.3s ease;}.btn-hover-effect:hover {transform: translateY(-2px);box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);}/* Luxury border animation */.luxury-border {position: relative;}.luxury-border::after {content: '';position: absolute;top: 0;left: 0;right: 0;bottom: 0;border: 2px solid transparent;border-radius: inherit;background: linear-gradient(45deg, var(--amber-500), var(--gold-500), var(--amber-500)) border-box;-webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);-webkit-mask-composite: destination-out;mask-composite: exclude;pointer-events: none;}/* Pre-order badge */.pre-order-badge {position: absolute;top: 10px;right: 10px;background: linear-gradient(45deg, var(--amber-500), var(--gold-500));color: #111827;padding: 0.25rem 0.75rem;border-radius: 9999px;font-weight: bold;font-size: 0.75rem;text-transform: uppercase;letter-spacing: 0.05em;box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);}/* Card hover effects */.card-hover {transition: all 0.3s ease;
components/loading-screen.jsAdded+89
index.html+26-22
script.js+124-12
style.css+99-10