Spaces:
Running
Running
Download index.html from orcanine-sys/test-space: direct link, hf CLI and curl.
- Browser
- Download file 31.1 kB
-
https://huggingface.co/spaces/orcanine-sys/test-space/resolve/main/index.html
- Command line
-
hf download hf://spaces/orcanine-sys/test-space/index.html
-
curl -L -o index.html https://huggingface.co/spaces/orcanine-sys/test-space/resolve/main/index.html
31.1 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Data Science Portfolio</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> | |
| <style> | |
| .gradient-text { | |
| background: linear-gradient(90deg, #3b82f6, #10b981); | |
| -webkit-background-clip: text; | |
| background-clip: text; | |
| color: transparent; | |
| } | |
| .article-card:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); | |
| } | |
| .typewriter { | |
| overflow: hidden; | |
| border-right: .15em solid #3b82f6; | |
| white-space: nowrap; | |
| margin: 0 auto; | |
| letter-spacing: .15em; | |
| animation: typing 3.5s steps(40, end), blink-caret .75s step-end infinite; | |
| } | |
| @keyframes typing { | |
| from { width: 0 } | |
| to { width: 100% } | |
| } | |
| @keyframes blink-caret { | |
| from, to { border-color: transparent } | |
| 50% { border-color: #3b82f6; } | |
| } | |
| .neon-border { | |
| position: relative; | |
| } | |
| .neon-border::after { | |
| content: ''; | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| right: 0; | |
| bottom: 0; | |
| border-radius: 0.5rem; | |
| padding: 2px; | |
| background: linear-gradient(45deg, #3b82f6, #10b981); | |
| -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); | |
| -webkit-mask-composite: xor; | |
| mask-composite: exclude; | |
| pointer-events: none; | |
| } | |
| .category-tabs { | |
| display: flex; | |
| border-bottom: 2px solid #e5e7eb; | |
| margin-bottom: 2rem; | |
| } | |
| .category-tab { | |
| padding: 0.75rem 1.5rem; | |
| cursor: pointer; | |
| font-weight: 600; | |
| color: #6b7280; | |
| border-bottom: 3px solid transparent; | |
| transition: all 0.2s ease; | |
| } | |
| .category-tab.active { | |
| color: #3b82f6; | |
| border-bottom-color: #3b82f6; | |
| } | |
| .category-tab:hover:not(.active) { | |
| color: #4b5563; | |
| } | |
| .category-content { | |
| display: none; | |
| } | |
| .category-content.active { | |
| display: block; | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-50 text-gray-800 font-sans antialiased"> | |
| <div class="container mx-auto px-4 py-8 max-w-4xl"> | |
| <!-- Header --> | |
| <header class="mb-12"> | |
| <div class="flex justify-between items-center mb-8"> | |
| <h1 class="text-4xl font-bold"> | |
| <span class="gradient-text">YourName</span> | |
| </h1> | |
| <nav class="hidden md:block"> | |
| <ul class="flex space-x-6"> | |
| <li><a href="#about" class="hover:text-blue-500 transition">About</a></li> | |
| <li><a href="#blog" class="hover:text-blue-500 transition">Blog</a></li> | |
| <li><a href="#projects" class="hover:text-blue-500 transition">Projects</a></li> | |
| <li><a href="#contact" class="hover:text-blue-500 transition">Contact</a></li> | |
| </ul> | |
| </nav> | |
| <button class="md:hidden text-2xl"> | |
| <i class="fas fa-bars"></i> | |
| </button> | |
| </div> | |
| <div class="text-center mb-12"> | |
| <h2 class="text-5xl font-bold mb-4"> | |
| <span class="typewriter">Exploring the Frontiers of AI</span> | |
| </h2> | |
| <p class="text-xl text-gray-600 max-w-2xl mx-auto"> | |
| Sharing insights on machine learning, data science, and artificial intelligence. | |
| </p> | |
| </div> | |
| <div class="flex justify-center space-x-4"> | |
| <a href="#" class="px-6 py-3 bg-gray-800 text-white rounded-lg hover:bg-gray-700 transition flex items-center"> | |
| <i class="fab fa-github mr-2"></i> GitHub | |
| </a> | |
| <a href="#" class="px-6 py-3 bg-blue-500 text-white rounded-lg hover:bg-blue-600 transition flex items-center"> | |
| <i class="fab fa-twitter mr-2"></i> Twitter | |
| </a> | |
| </div> | |
| </header> | |
| <!-- About Section --> | |
| <section id="about" class="mb-16"> | |
| <h2 class="text-3xl font-bold mb-6 flex items-center"> | |
| <span class="w-8 h-1 bg-blue-500 mr-4"></span> | |
| About Me | |
| </h2> | |
| <div class="bg-white p-8 rounded-xl shadow-md neon-border"> | |
| <div class="flex flex-col md:flex-row items-center"> | |
| <div class="md:w-1/3 mb-6 md:mb-0"> | |
| <img src="https://via.placeholder.com/300" alt="Profile" class="rounded-full w-48 h-48 object-cover mx-auto shadow-lg"> | |
| </div> | |
| <div class="md:w-2/3 md:pl-8"> | |
| <p class="text-lg mb-4"> | |
| I'm a data scientist and machine learning engineer passionate about building intelligent systems. | |
| Currently working at [Your Company] where I focus on [your focus area]. | |
| </p> | |
| <p class="text-lg mb-4"> | |
| My research interests include deep learning, natural language processing, and reinforcement learning. | |
| I enjoy exploring the intersection of AI with other domains like neuroscience and philosophy. | |
| </p> | |
| <p class="text-lg"> | |
| When I'm not coding, you can find me hiking, reading sci-fi, or playing with my dog. | |
| </p> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Blog Section with Category Tabs --> | |
| <section id="blog" class="mb-16"> | |
| <h2 class="text-3xl font-bold mb-6 flex items-center"> | |
| <span class="w-8 h-1 bg-blue-500 mr-4"></span> | |
| Blog Posts | |
| </h2> | |
| <div class="category-tabs"> | |
| <div class="category-tab active" data-category="all">All Posts</div> | |
| <div class="category-tab" data-category="data-science">Data Science</div> | |
| <div class="category-tab" data-category="machine-learning">Machine Learning</div> | |
| <div class="category-tab" data-category="ai">Artificial Intelligence</div> | |
| </div> | |
| <!-- All Posts Content --> | |
| <div class="category-content active" id="all-content"> | |
| <div class="grid md:grid-cols-2 gap-6"> | |
| <!-- Data Science Article --> | |
| <div class="article-card bg-white rounded-xl shadow-md overflow-hidden transition duration-300" data-categories="data-science"> | |
| <div class="p-6"> | |
| <div class="flex items-center mb-2"> | |
| <span class="text-sm text-gray-500">May 15, 2023</span> | |
| <span class="mx-2 text-gray-300">•</span> | |
| <span class="text-sm text-green-500">Data Science</span> | |
| </div> | |
| <h3 class="text-xl font-bold mb-2">Feature Engineering for Tabular Data</h3> | |
| <p class="text-gray-600 mb-4"> | |
| Practical techniques to extract maximum value from your structured data before feeding it to machine learning models. | |
| </p> | |
| <a href="#" class="text-blue-500 hover:text-blue-700 font-medium">Read More →</a> | |
| </div> | |
| </div> | |
| <!-- Machine Learning Article --> | |
| <div class="article-card bg-white rounded-xl shadow-md overflow-hidden transition duration-300" data-categories="machine-learning"> | |
| <div class="p-6"> | |
| <div class="flex items-center mb-2"> | |
| <span class="text-sm text-gray-500">April 28, 2023</span> | |
| <span class="mx-2 text-gray-300">•</span> | |
| <span class="text-sm text-blue-500">Machine Learning</span> | |
| </div> | |
| <h3 class="text-xl font-bold mb-2">From Zero to Hero with PyTorch Lightning</h3> | |
| <p class="text-gray-600 mb-4"> | |
| How to structure your deep learning projects for maximum reproducibility and minimal boilerplate code. | |
| </p> | |
| <a href="#" class="text-blue-500 hover:text-blue-700 font-medium">Read More →</a> | |
| </div> | |
| </div> | |
| <!-- AI Article --> | |
| <div class="article-card bg-white rounded-xl shadow-md overflow-hidden transition duration-300" data-categories="ai"> | |
| <div class="p-6"> | |
| <div class="flex items-center mb-2"> | |
| <span class="text-sm text-gray-500">June 2, 2023</span> | |
| <span class="mx-2 text-gray-300">•</span> | |
| <span class="text-sm text-purple-500">AI</span> | |
| </div> | |
| <h3 class="text-xl font-bold mb-2">Understanding Transformers: From Attention to GPT-4</h3> | |
| <p class="text-gray-600 mb-4"> | |
| A deep dive into the transformer architecture that powers modern LLMs, with intuitive explanations. | |
| </p> | |
| <a href="#" class="text-blue-500 hover:text-blue-700 font-medium">Read More →</a> | |
| </div> | |
| </div> | |
| <!-- Data Science Article 2 --> | |
| <div class="article-card bg-white rounded-xl shadow-md overflow-hidden transition duration-300" data-categories="data-science"> | |
| <div class="p-6"> | |
| <div class="flex items-center mb-2"> | |
| <span class="text-sm text-gray-500">March 10, 2023</span> | |
| <span class="mx-2 text-gray-300">•</span> | |
| <span class="text-sm text-green-500">Data Science</span> | |
| </div> | |
| <h3 class="text-xl font-bold mb-2">Data Visualization Best Practices</h3> | |
| <p class="text-gray-600 mb-4"> | |
| How to create effective visualizations that communicate insights clearly and accurately. | |
| </p> | |
| <a href="#" class="text-blue-500 hover:text-blue-700 font-medium">Read More →</a> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Data Science Content --> | |
| <div class="category-content" id="data-science-content"> | |
| <div class="grid md:grid-cols-2 gap-6"> | |
| <div class="article-card bg-white rounded-xl shadow-md overflow-hidden transition duration-300"> | |
| <div class="p-6"> | |
| <div class="flex items-center mb-2"> | |
| <span class="text-sm text-gray-500">May 15, 2023</span> | |
| <span class="mx-2 text-gray-300">•</span> | |
| <span class="text-sm text-green-500">Data Science</span> | |
| </div> | |
| <h3 class="text-xl font-bold mb-2">Feature Engineering for Tabular Data</h3> | |
| <p class="text-gray-600 mb-4"> | |
| Practical techniques to extract maximum value from your structured data before feeding it to machine learning models. | |
| </p> | |
| <a href="#" class="text-blue-500 hover:text-blue-700 font-medium">Read More →</a> | |
| </div> | |
| </div> | |
| <div class="article-card bg-white rounded-xl shadow-md overflow-hidden transition duration-300"> | |
| <div class="p-6"> | |
| <div class="flex items-center mb-2"> | |
| <span class="text-sm text-gray-500">March 10, 2023</span> | |
| <span class="mx-2 text-gray-300">•</span> | |
| <span class="text-sm text-green-500">Data Science</span> | |
| </div> | |
| <h3 class="text-xl font-bold mb-2">Data Visualization Best Practices</h3> | |
| <p class="text-gray-600 mb-4"> | |
| How to create effective visualizations that communicate insights clearly and accurately. | |
| </p> | |
| <a href="#" class="text-blue-500 hover:text-blue-700 font-medium">Read More →</a> | |
| </div> | |
| </div> | |
| <div class="article-card bg-white rounded-xl shadow-md overflow-hidden transition duration-300"> | |
| <div class="p-6"> | |
| <div class="flex items-center mb-2"> | |
| <span class="text-sm text-gray-500">February 5, 2023</span> | |
| <span class="mx-2 text-gray-300">•</span> | |
| <span class="text-sm text-green-500">Data Science</span> | |
| </div> | |
| <h3 class="text-xl font-bold mb-2">Statistical Inference in Python</h3> | |
| <p class="text-gray-600 mb-4"> | |
| A practical guide to hypothesis testing and confidence intervals using Python's statsmodels. | |
| </p> | |
| <a href="#" class="text-blue-500 hover:text-blue-700 font-medium">Read More →</a> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Machine Learning Content --> | |
| <div class="category-content" id="machine-learning-content"> | |
| <div class="grid md:grid-cols-2 gap-6"> | |
| <div class="article-card bg-white rounded-xl shadow-md overflow-hidden transition duration-300"> | |
| <div class="p-6"> | |
| <div class="flex items-center mb-2"> | |
| <span class="text-sm text-gray-500">April 28, 2023</span> | |
| <span class="mx-2 text-gray-300">•</span> | |
| <span class="text-sm text-blue-500">Machine Learning</span> | |
| </div> | |
| <h3 class="text-xl font-bold mb-2">From Zero to Hero with PyTorch Lightning</h3> | |
| <p class="text-gray-600 mb-4"> | |
| How to structure your deep learning projects for maximum reproducibility and minimal boilerplate code. | |
| </p> | |
| <a href="#" class="text-blue-500 hover:text-blue-700 font-medium">Read More →</a> | |
| </div> | |
| </div> | |
| <div class="article-card bg-white rounded-xl shadow-md overflow-hidden transition duration-300"> | |
| <div class="p-6"> | |
| <div class="flex items-center mb-2"> | |
| <span class="text-sm text-gray-500">January 18, 2023</span> | |
| <span class="mx-2 text-gray-300">•</span> | |
| <span class="text-sm text-blue-500">Machine Learning</span> | |
| </div> | |
| <h3 class="text-xl font-bold mb-2">Hyperparameter Optimization Techniques</h3> | |
| <p class="text-gray-600 mb-4"> | |
| Comparing grid search, random search, and Bayesian optimization for ML model tuning. | |
| </p> | |
| <a href="#" class="text-blue-500 hover:text-blue-700 font-medium">Read More →</a> | |
| </div> | |
| </div> | |
| <div class="article-card bg-white rounded-xl shadow-md overflow-hidden transition duration-300"> | |
| <div class="p-6"> | |
| <div class="flex items-center mb-2"> | |
| <span class="text-sm text-gray-500">December 3, 2022</span> | |
| <span class="mx-2 text-gray-300">•</span> | |
| <span class="text-sm text-blue-500">Machine Learning</span> | |
| </div> | |
| <h3 class="text-xl font-bold mb-2">Explainable AI for ML Models</h3> | |
| <p class="text-gray-600 mb-4"> | |
| Techniques to interpret and explain predictions from complex machine learning models. | |
| </p> | |
| <a href="#" class="text-blue-500 hover:text-blue-700 font-medium">Read More →</a> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- AI Content --> | |
| <div class="category-content" id="ai-content"> | |
| <div class="grid md:grid-cols-2 gap-6"> | |
| <div class="article-card bg-white rounded-xl shadow-md overflow-hidden transition duration-300"> | |
| <div class="p-6"> | |
| <div class="flex items-center mb-2"> | |
| <span class="text-sm text-gray-500">June 2, 2023</span> | |
| <span class="mx-2 text-gray-300">•</span> | |
| <span class="text-sm text-purple-500">AI</span> | |
| </div> | |
| <h3 class="text-xl font-bold mb-2">Understanding Transformers: From Attention to GPT-4</h3> | |
| <p class="text-gray-600 mb-4"> | |
| A deep dive into the transformer architecture that powers modern LLMs, with intuitive explanations. | |
| </p> | |
| <a href="#" class="text-blue-500 hover:text-blue-700 font-medium">Read More →</a> | |
| </div> | |
| </div> | |
| <div class="article-card bg-white rounded-xl shadow-md overflow-hidden transition duration-300"> | |
| <div class="p-6"> | |
| <div class="flex items-center mb-2"> | |
| <span class="text-sm text-gray-500">March 22, 2023</span> | |
| <span class="mx-2 text-gray-300">•</span> | |
| <span class="text-sm text-purple-500">AI</span> | |
| </div> | |
| <h3 class="text-xl font-bold mb-2">Ethical Considerations in AI Development</h3> | |
| <p class="text-gray-600 mb-4"> | |
| Exploring bias, fairness, and accountability in artificial intelligence systems. | |
| </p> | |
| <a href="#" class="text-blue-500 hover:text-blue-700 font-medium">Read More →</a> | |
| </div> | |
| </div> | |
| <div class="article-card bg-white rounded-xl shadow-md overflow-hidden transition duration-300"> | |
| <div class="p-6"> | |
| <div class="flex items-center mb-2"> | |
| <span class="text-sm text-gray-500">February 14, 2023</span> | |
| <span class="mx-2 text-gray-300">•</span> | |
| <span class="text-sm text-purple-500">AI</span> | |
| </div> | |
| <h3 class="text-xl font-bold mb-2">Reinforcement Learning in Robotics</h3> | |
| <p class="text-gray-600 mb-4"> | |
| How RL is being used to train robots to perform complex tasks in real-world environments. | |
| </p> | |
| <a href="#" class="text-blue-500 hover:text-blue-700 font-medium">Read More →</a> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="text-center mt-8"> | |
| <a href="#" class="px-6 py-3 border border-blue-500 text-blue-500 rounded-lg hover:bg-blue-50 transition"> | |
| View All Articles | |
| </a> | |
| </div> | |
| </section> | |
| <!-- Projects Section --> | |
| <section id="projects" class="mb-16"> | |
| <h2 class="text-3xl font-bold mb-6 flex items-center"> | |
| <span class="w-8 h-1 bg-blue-500 mr-4"></span> | |
| Featured Projects | |
| </h2> | |
| <div class="grid md:grid-cols-2 gap-6"> | |
| <!-- Project 1 --> | |
| <div class="bg-white rounded-xl shadow-md overflow-hidden neon-border"> | |
| <div class="p-6"> | |
| <div class="flex items-center mb-4"> | |
| <div class="w-12 h-12 bg-blue-100 rounded-lg flex items-center justify-center mr-4"> | |
| <i class="fas fa-robot text-blue-500 text-xl"></i> | |
| </div> | |
| <h3 class="text-xl font-bold">LLM Fine-Tuning Framework</h3> | |
| </div> | |
| <p class="text-gray-600 mb-4"> | |
| An open-source toolkit for efficiently fine-tuning large language models on custom datasets with minimal compute requirements. | |
| </p> | |
| <div class="flex flex-wrap gap-2 mb-4"> | |
| <span class="px-3 py-1 bg-blue-100 text-blue-800 text-xs rounded-full">PyTorch</span> | |
| <span class="px-3 py-1 bg-green-100 text-green-800 text-xs rounded-full">HuggingFace</span> | |
| <span class="px-3 py-1 bg-purple-100 text-purple-800 text-xs rounded-full">LoRA</span> | |
| </div> | |
| <div class="flex space-x-4"> | |
| <a href="#" class="text-blue-500 hover:text-blue-700 flex items-center"> | |
| <i class="fab fa-github mr-1"></i> Code | |
| </a> | |
| <a href="#" class="text-blue-500 hover:text-blue-700 flex items-center"> | |
| <i class="fas fa-book mr-1"></i> Paper | |
| </a> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Project 2 --> | |
| <div class="bg-white rounded-xl shadow-md overflow-hidden neon-border"> | |
| <div class="p-6"> | |
| <div class="flex items-center mb-4"> | |
| <div class="w-12 h-12 bg-green-100 rounded-lg flex items-center justify-center mr-4"> | |
| <i class="fas fa-chart-line text-green-500 text-xl"></i> | |
| </div> | |
| <h3 class="text-xl font-bold">Time Series Forecasting</h3> | |
| </div> | |
| <p class="text-gray-600 mb-4"> | |
| A comprehensive benchmark of modern time series forecasting methods across multiple domains with reproducible experiments. | |
| </p> | |
| <div class="flex flex-wrap gap-2 mb-4"> | |
| <span class="px-3 py-1 bg-blue-100 text-blue-800 text-xs rounded-full">TensorFlow</span> | |
| <span class="px-3 py-1 bg-yellow-100 text-yellow-800 text-xs rounded-full">Prophet</span> | |
| <span class="px-3 py-1 bg-red-100 text-red-800 text-xs rounded-full">ARIMA</span> | |
| </div> | |
| <div class="flex space-x-4"> | |
| <a href="#" class="text-blue-500 hover:text-blue-700 flex items-center"> | |
| <i class="fab fa-github mr-1"></i> Code | |
| </a> | |
| <a href="#" class="text-blue-500 hover:text-blue-700 flex items-center"> | |
| <i class="fas fa-external-link-alt mr-1"></i> Demo | |
| </a> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="text-center mt-8"> | |
| <a href="#" class="px-6 py-3 border border-blue-500 text-blue-500 rounded-lg hover:bg-blue-50 transition"> | |
| View All Projects | |
| </a> | |
| </div> | |
| </section> | |
| <!-- Contact Section --> | |
| <section id="contact" class="mb-16"> | |
| <h2 class="text-3xl font-bold mb-6 flex items-center"> | |
| <span class="w-8 h-1 bg-blue-500 mr-4"></span> | |
| Get In Touch | |
| </h2> | |
| <div class="bg-white p-8 rounded-xl shadow-md"> | |
| <p class="text-lg mb-6 text-center"> | |
| Interested in collaborating or have questions about my work? Feel free to reach out! | |
| </p> | |
| <form class="max-w-lg mx-auto"> | |
| <div class="mb-4"> | |
| <label for="name" class="block text-gray-700 mb-2">Name</label> | |
| <input type="text" id="name" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"> | |
| </div> | |
| <div class="mb-4"> | |
| <label for="email" class="block text-gray-700 mb-2">Email</label> | |
| <input type="email" id="email" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"> | |
| </div> | |
| <div class="mb-4"> | |
| <label for="message" class="block text-gray-700 mb-2">Message</label> | |
| <textarea id="message" rows="4" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500"></textarea> | |
| </div> | |
| <button type="submit" class="w-full bg-blue-500 text-white py-3 rounded-lg hover:bg-blue-600 transition font-medium"> | |
| Send Message | |
| </button> | |
| </form> | |
| <div class="mt-8 text-center"> | |
| <p class="mb-4">Or connect with me on:</p> | |
| <div class="flex justify-center space-x-6"> | |
| <a href="#" class="text-2xl text-gray-600 hover:text-gray-800 transition"> | |
| <i class="fab fa-github"></i> | |
| </a> | |
| <a href="#" class="text-2xl text-gray-600 hover:text-blue-500 transition"> | |
| <i class="fab fa-twitter"></i> | |
| </a> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Footer --> | |
| <footer class="py-8 border-t border-gray-200 text-center text-gray-600"> | |
| <p>© 2023 YourName. All rights reserved.</p> | |
| <p class="mt-2 text-sm">Built with HTML, CSS, and JavaScript. Hosted on GitHub Pages.</p> | |
| </footer> | |
| </div> | |
| <script> | |
| // Mobile menu toggle | |
| document.querySelector('button').addEventListener('click', function() { | |
| const nav = document.querySelector('nav'); | |
| nav.classList.toggle('hidden'); | |
| nav.classList.toggle('block'); | |
| }); | |
| // Smooth scrolling for anchor links | |
| document.querySelectorAll('a[href^="#"]').forEach(anchor => { | |
| anchor.addEventListener('click', function (e) { | |
| e.preventDefault(); | |
| document.querySelector(this.getAttribute('href')).scrollIntoView({ | |
| behavior: 'smooth' | |
| }); | |
| }); | |
| }); | |
| // Typewriter effect reset | |
| setInterval(() => { | |
| const typewriter = document.querySelector('.typewriter'); | |
| typewriter.style.animation = 'none'; | |
| void typewriter.offsetWidth; // Trigger reflow | |
| typewriter.style.animation = null; | |
| }, 3500); | |
| // Category tabs functionality | |
| document.querySelectorAll('.category-tab').forEach(tab => { | |
| tab.addEventListener('click', function() { | |
| // Remove active class from all tabs and contents | |
| document.querySelectorAll('.category-tab').forEach(t => t.classList.remove('active')); | |
| document.querySelectorAll('.category-content').forEach(c => c.classList.remove('active')); | |
| // Add active class to clicked tab | |
| this.classList.add('active'); | |
| // Show corresponding content | |
| const category = this.getAttribute('data-category'); | |
| document.getElementById(`${category}-content`).classList.add('active'); | |
| }); | |
| }); | |
| </script> | |
| <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=orcanine-sys/test-space" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |