Spaces:
Running
Running
I am going to paste code below, and I want you to perform the following tasks on the code: Incorporate advanced elements of interactive UI/UX in the form of inline JavaScript. Ensure padding and margins are appropriately formatted for a clean reader experience without unnecessary negative space (using best practices). Add parallax scroll functionality to improve the overall feel and aesthetic of interacting with the webpage. Add placeholder links to each of the infographic card segments such that they can be linked to real infographics later. Add detailed comment sections in the code that provide a full aesthetic guide and rulebook for other infographics to use for matching the aesthetic of this index.html document (immediately above all components). In the dedicated comment sections, cover all aspects of design for each section: font type, text styles, font gradients, background colors, background gradients, component gradients, etc. Enhance the code for this page to make it enterprise-grade. ---> Here is the code which you will improve upon: {{ <!DOCTYPE html>
a7e735e verified Download index.html from sprigfounder/undefined: direct link, hf CLI and curl.
- Browser
- Download file 4.27 kB
-
https://huggingface.co/spaces/sprigfounder/undefined/resolve/main/index.html
- Command line
-
hf download hf://spaces/sprigfounder/undefined/index.html
-
curl -L -o index.html https://huggingface.co/spaces/sprigfounder/undefined/resolve/main/index.html
4.27 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>AI Architecture Solutions | NeuralNest</title> | |
| <link rel="icon" type="image/x-icon" href="/static/favicon.ico"> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| <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/vanta@latest/dist/vanta.net.min.js"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/parallax-js@3.1.0/dist/parallax.min.js"></script> | |
| <style> | |
| @import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap'); | |
| /* Global Design System */ | |
| :root { | |
| --primary-gradient: linear-gradient(90deg, #4F46E5 0%, #10B981 100%); | |
| --secondary-gradient: linear-gradient(45deg, #1E40AF 0%, #047857 100%); | |
| --dark-bg: #111827; | |
| --card-bg: rgba(31, 41, 55, 0.7); | |
| --card-border: rgba(55, 65, 81, 0.5); | |
| } | |
| body { | |
| font-family: 'Space Grotesk', sans-serif; | |
| overflow-x: hidden; | |
| background-color: var(--dark-bg); | |
| color: #F3F4F6; | |
| } | |
| /* Typography System */ | |
| .gradient-text { | |
| background: var(--primary-gradient); | |
| -webkit-background-clip: text; | |
| background-clip: text; | |
| color: transparent; | |
| } | |
| .section-title { | |
| font-size: clamp(2.5rem, 5vw, 3.5rem); | |
| line-height: 1.2; | |
| font-weight: 700; | |
| margin-bottom: 2rem; | |
| } | |
| /* Card System */ | |
| .card-hover { | |
| transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1); | |
| } | |
| .card-hover:hover { | |
| transform: translateY(-8px) scale(1.02); | |
| box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); | |
| } | |
| /* Infographic System */ | |
| .infographic-container { | |
| perspective: 1000px; | |
| } | |
| .infographic-card { | |
| transition: transform 0.6s ease, box-shadow 0.4s ease; | |
| transform-style: preserve-3d; | |
| background: var(--card-bg); | |
| backdrop-filter: blur(12px); | |
| border: 1px solid var(--card-border); | |
| } | |
| .infographic-card:hover { | |
| transform: rotateY(5deg) translateY(-5px); | |
| box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3); | |
| } | |
| /* Animation System */ | |
| @keyframes float { | |
| 0%, 100% { transform: translateY(0); } | |
| 50% { transform: translateY(-10px); } | |
| } | |
| .floating { | |
| animation: float 6s ease-in-out infinite; | |
| } | |
| .scroll-indicator { | |
| animation: bounce 2s infinite; | |
| } | |
| @keyframes bounce { | |
| 0%, 20%, 50%, 80%, 100% {transform: translateY(0);} | |
| 40% {transform: translateY(-20px);} | |
| 60% {transform: translateY(-10px);} | |
| } | |
| /* Parallax System */ | |
| .parallax-layer { | |
| position: absolute; | |
| width: 100%; | |
| height: 100%; | |
| } | |
| /* Responsive Spacing */ | |
| .section-padding { | |
| padding: clamp(4rem, 8vw, 8rem) 1.5rem; | |
| } | |
| /* Interactive Elements */ | |
| .interactive-button { | |
| position: relative; | |
| overflow: hidden; | |
| transition: all 0.3s ease; | |
| } | |
| .interactive-button::before { | |
| content: ''; | |
| position: absolute; | |
| top: 0; | |
| left: -100%; | |
| width: 100%; | |
| height: 100%; | |
| background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); | |
| transition: all 0.6s ease; | |
| } | |
| .interactive-button:hover::before { | |
| left: 100%; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <!-- Vanta.js Background --> | |
| <div id="vanta-bg | |
| </body> | |
| </html> |