Spaces:
Running
Running
Download index.html from ShadowMonoCode/testy-space: direct link, hf CLI and curl.
- Browser
- Download file 29.4 kB
-
https://huggingface.co/spaces/ShadowMonoCode/testy-space/resolve/main/index.html
- Command line
-
hf download hf://spaces/ShadowMonoCode/testy-space/index.html
-
curl -L -o index.html https://huggingface.co/spaces/ShadowMonoCode/testy-space/resolve/main/index.html
29.4 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>PromptShare | Collaborative Storytelling</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"> | |
| <script> | |
| tailwind.config = { | |
| theme: { | |
| extend: { | |
| colors: { | |
| primary: { | |
| black: '#000000', | |
| white: '#FFFFFF', | |
| yellow: '#FFD700' | |
| } | |
| }, | |
| fontFamily: { | |
| sans: ['Inter', 'sans-serif'], | |
| serif: ['Playfair Display', 'serif'] | |
| } | |
| } | |
| } | |
| } | |
| </script> | |
| <style> | |
| @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap'); | |
| body { | |
| font-family: 'Inter', sans-serif; | |
| background-color: #FAFAFA; | |
| } | |
| .story-card:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); | |
| } | |
| .prompt-card { | |
| border-left: 4px solid #FFD700; | |
| } | |
| .active-tab { | |
| border-bottom: 3px solid #FFD700; | |
| } | |
| .typewriter { | |
| overflow: hidden; | |
| border-right: .15em solid #FFD700; | |
| 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: #FFD700; } | |
| } | |
| .fade-in { | |
| animation: fadeIn 1.5s ease-in-out; | |
| } | |
| @keyframes fadeIn { | |
| from { opacity: 0; } | |
| to { opacity: 1; } | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-primary-white text-primary-black"> | |
| <!-- Navigation --> | |
| <nav class="bg-primary-black text-primary-white py-4 px-6 shadow-md"> | |
| <div class="container mx-auto flex justify-between items-center"> | |
| <div class="flex items-center space-x-2"> | |
| <i class="fas fa-pen-fancy text-primary-yellow text-2xl"></i> | |
| <h1 class="text-2xl font-bold font-serif">PromptShare</h1> | |
| </div> | |
| <div class="hidden md:flex space-x-8"> | |
| <a href="#" class="hover:text-primary-yellow transition">Explore</a> | |
| <a href="#" class="hover:text-primary-yellow transition">Create</a> | |
| <a href="#" class="hover:text-primary-yellow transition">Library</a> | |
| <a href="#" class="hover:text-primary-yellow transition">Community</a> | |
| </div> | |
| <div class="flex items-center space-x-4"> | |
| <button class="bg-primary-yellow text-primary-black px-4 py-2 rounded-md font-medium hover:bg-opacity-90 transition">Sign In</button> | |
| <button class="md:hidden"> | |
| <i class="fas fa-bars text-xl"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </nav> | |
| <!-- Hero Section --> | |
| <section class="relative bg-gradient-to-r from-primary-black to-gray-900 text-primary-white py-20"> | |
| <div class="container mx-auto px-6 flex flex-col md:flex-row items-center"> | |
| <div class="md:w-1/2 mb-10 md:mb-0 fade-in"> | |
| <h2 class="text-4xl md:text-5xl font-bold font-serif mb-6">Collaborative Storytelling <span class="text-primary-yellow">Reimagined</span></h2> | |
| <p class="text-lg mb-8">Start with a prompt, build on others' ideas, and create endless story chains with our creative community.</p> | |
| <div class="flex flex-col sm:flex-row space-y-4 sm:space-y-0 sm:space-x-4"> | |
| <button class="bg-primary-yellow text-primary-black px-6 py-3 rounded-md font-medium hover:bg-opacity-90 transition">Get Started</button> | |
| <button class="border-2 border-primary-white text-primary-white px-6 py-3 rounded-md font-medium hover:bg-white hover:bg-opacity-10 transition">How It Works</button> | |
| </div> | |
| </div> | |
| <div class="md:w-1/2 flex justify-center fade-in"> | |
| <div class="bg-primary-white p-6 rounded-lg shadow-xl w-full max-w-md"> | |
| <div class="bg-primary-black text-primary-white p-4 rounded-t-lg"> | |
| <h3 class="font-serif text-xl mb-2">Today's Featured Prompt</h3> | |
| <div class="flex items-center text-primary-yellow text-sm"> | |
| <span>Prompt #4279</span> | |
| <span class="mx-2">•</span> | |
| <span>23 responses</span> | |
| </div> | |
| </div> | |
| <div class="p-4 border-b border-gray-200"> | |
| <p class="mb-4">"You wake up to find your reflection has a life of its own. It winks at you and steps out of the mirror..."</p> | |
| <div class="flex justify-between items-center text-sm text-gray-600"> | |
| <span>Started by @storyweaver</span> | |
| <button class="text-primary-yellow hover:underline">Continue this story</button> | |
| </div> | |
| </div> | |
| <div class="p-4"> | |
| <h4 class="font-medium mb-2">Latest Addition:</h4> | |
| <p class="text-sm italic">"...As my reflection took its first real breath, I noticed it wasn't quite identical to me anymore. There was a scar on its cheek I didn't have, and its eyes held centuries of stories mine couldn't possibly know."</p> | |
| <div class="flex justify-end mt-2"> | |
| <span class="text-xs text-gray-500">— @dreamscribe</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- How It Works --> | |
| <section class="py-16 bg-primary-white"> | |
| <div class="container mx-auto px-6"> | |
| <h2 class="text-3xl font-bold font-serif text-center mb-12">How <span class="text-primary-yellow">PromptShare</span> Works</h2> | |
| <div class="grid md:grid-cols-3 gap-8"> | |
| <div class="bg-white p-6 rounded-lg shadow-md border-t-4 border-primary-yellow"> | |
| <div class="bg-primary-black text-primary-white w-12 h-12 rounded-full flex items-center justify-center mb-4 mx-auto"> | |
| <i class="fas fa-lightbulb text-xl text-primary-yellow"></i> | |
| </div> | |
| <h3 class="text-xl font-bold text-center mb-3">Find a Prompt</h3> | |
| <p class="text-gray-700 text-center">Browse our collection of creative prompts or create your own to start a new story chain.</p> | |
| </div> | |
| <div class="bg-white p-6 rounded-lg shadow-md border-t-4 border-primary-yellow"> | |
| <div class="bg-primary-black text-primary-white w-12 h-12 rounded-full flex items-center justify-center mb-4 mx-auto"> | |
| <i class="fas fa-pen text-xl text-primary-yellow"></i> | |
| </div> | |
| <h3 class="text-xl font-bold text-center mb-3">Add Your Piece</h3> | |
| <p class="text-gray-700 text-center">Write your continuation of the story, building on what others have written before you.</p> | |
| </div> | |
| <div class="bg-white p-6 rounded-lg shadow-md border-t-4 border-primary-yellow"> | |
| <div class="bg-primary-black text-primary-white w-12 h-12 rounded-full flex items-center justify-center mb-4 mx-auto"> | |
| <i class="fas fa-book text-xl text-primary-yellow"></i> | |
| </div> | |
| <h3 class="text-xl font-bold text-center mb-3">Watch It Grow</h3> | |
| <p class="text-gray-700 text-center">See your story evolve as others add to it, and eventually get compiled into a downloadable book.</p> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Trending Stories --> | |
| <section class="py-16 bg-gray-100"> | |
| <div class="container mx-auto px-6"> | |
| <div class="flex justify-between items-center mb-8"> | |
| <h2 class="text-3xl font-bold font-serif">Trending <span class="text-primary-yellow">Story Chains</span></h2> | |
| <button class="text-primary-black hover:text-primary-yellow transition">View All</button> | |
| </div> | |
| <div class="grid md:grid-cols-2 lg:grid-cols-3 gap-6"> | |
| <!-- Story Card 1 --> | |
| <div class="story-card bg-white rounded-lg overflow-hidden shadow-md transition duration-300"> | |
| <div class="p-6"> | |
| <div class="flex justify-between items-start mb-4"> | |
| <h3 class="text-xl font-bold">The Last Library</h3> | |
| <span class="bg-primary-yellow text-primary-black text-xs px-2 py-1 rounded-full">Active</span> | |
| </div> | |
| <p class="text-gray-600 mb-4">"In a world where books are forbidden, you discover a hidden library where each book contains someone's actual memories..."</p> | |
| <div class="flex justify-between items-center text-sm"> | |
| <span class="text-gray-500">42 continuations</span> | |
| <button class="text-primary-yellow hover:underline">Read More</button> | |
| </div> | |
| </div> | |
| <div class="bg-gray-50 px-6 py-3 border-t border-gray-200"> | |
| <div class="flex items-center"> | |
| <div class="w-8 h-8 rounded-full bg-gray-300 mr-2"></div> | |
| <span class="text-sm">Latest by @inkdreamer</span> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Story Card 2 --> | |
| <div class="story-card bg-white rounded-lg overflow-hidden shadow-md transition duration-300"> | |
| <div class="p-6"> | |
| <div class="flex justify-between items-start mb-4"> | |
| <h3 class="text-xl font-bold">Time Traveler's Cafe</h3> | |
| <span class="bg-gray-200 text-primary-black text-xs px-2 py-1 rounded-full">Paused</span> | |
| </div> | |
| <p class="text-gray-600 mb-4">"You walk into a cafe where every patron is from a different time period. The barista knows your usual order - but you've never been here before..."</p> | |
| <div class="flex justify-between items-center text-sm"> | |
| <span class="text-gray-500">28 continuations</span> | |
| <button class="text-primary-yellow hover:underline">Read More</button> | |
| </div> | |
| </div> | |
| <div class="bg-gray-50 px-6 py-3 border-t border-gray-200"> | |
| <div class="flex items-center"> | |
| <div class="w-8 h-8 rounded-full bg-gray-300 mr-2"></div> | |
| <span class="text-sm">Latest by @chronowriter</span> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Story Card 3 --> | |
| <div class="story-card bg-white rounded-lg overflow-hidden shadow-md transition duration-300"> | |
| <div class="p-6"> | |
| <div class="flex justify-between items-start mb-4"> | |
| <h3 class="text-xl font-bold">The Color Thief</h3> | |
| <span class="bg-primary-yellow text-primary-black text-xs px-2 py-1 rounded-full">Active</span> | |
| </div> | |
| <p class="text-gray-600 mb-4">"One morning, you wake up to find all color has been drained from the world except for one small object in your possession..."</p> | |
| <div class="flex justify-between items-center text-sm"> | |
| <span class="text-gray-500">35 continuations</span> | |
| <button class="text-primary-yellow hover:underline">Read More</button> | |
| </div> | |
| </div> | |
| <div class="bg-gray-50 px-6 py-3 border-t border-gray-200"> | |
| <div class="flex items-center"> | |
| <div class="w-8 h-8 rounded-full bg-gray-300 mr-2"></div> | |
| <span class="text-sm">Latest by @palettepen</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Create Prompt Section --> | |
| <section class="py-16 bg-primary-white"> | |
| <div class="container mx-auto px-6"> | |
| <div class="max-w-4xl mx-auto text-center"> | |
| <h2 class="text-3xl font-bold font-serif mb-6">Start Your Own <span class="text-primary-yellow">Story Chain</span></h2> | |
| <p class="text-lg mb-8">Craft the perfect prompt to ignite the community's imagination and watch as your idea transforms into a collaborative masterpiece.</p> | |
| <div class="bg-gray-100 p-8 rounded-lg shadow-inner"> | |
| <div class="mb-6"> | |
| <label for="prompt" class="block text-left text-sm font-medium text-gray-700 mb-2">Your Prompt</label> | |
| <textarea id="prompt" rows="4" class="w-full px-4 py-2 border border-gray-300 rounded-md focus:ring-2 focus:ring-primary-yellow focus:border-transparent" placeholder="Write a prompt that will inspire others to continue the story..."></textarea> | |
| </div> | |
| <div class="mb-6"> | |
| <label for="tags" class="block text-left text-sm font-medium text-gray-700 mb-2">Tags (comma separated)</label> | |
| <input type="text" id="tags" class="w-full px-4 py-2 border border-gray-300 rounded-md focus:ring-2 focus:ring-primary-yellow focus:border-transparent" placeholder="fantasy, scifi, mystery"> | |
| </div> | |
| <button class="bg-primary-black text-primary-white px-8 py-3 rounded-md font-medium hover:bg-opacity-90 transition w-full md:w-auto">Launch Your Prompt</button> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Featured Book --> | |
| <section class="py-16 bg-gray-100"> | |
| <div class="container mx-auto px-6"> | |
| <h2 class="text-3xl font-bold font-serif text-center mb-12">This Month's <span class="text-primary-yellow">Featured Book</span></h2> | |
| <div class="max-w-6xl mx-auto bg-white rounded-lg shadow-lg overflow-hidden"> | |
| <div class="md:flex"> | |
| <div class="md:w-1/3 bg-primary-black p-8 flex items-center justify-center"> | |
| <div class="relative"> | |
| <div class="w-48 h-64 bg-primary-yellow shadow-2xl transform rotate-2"> | |
| <div class="absolute inset-0 border-2 border-primary-black m-2 flex flex-col justify-between p-4"> | |
| <h3 class="font-serif text-lg font-bold">PromptShare</h3> | |
| <div class="text-center"> | |
| <p class="font-serif text-2xl font-bold">Volume VII</p> | |
| <p class="text-xs mt-2">June 2023 Collection</p> | |
| </div> | |
| <div class="text-right"> | |
| <p class="text-xs">23 stories</p> | |
| <p class="text-xs">148 contributors</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="md:w-2/3 p-8"> | |
| <h3 class="text-2xl font-bold font-serif mb-4">PromptShare Anthology: Volume VII</h3> | |
| <p class="text-gray-700 mb-6">This month's collection features 23 of our most engaging story chains, including fan favorites like "The Memory Librarian" and "The Clockwork Detective." Each story represents the collaborative effort of our creative community.</p> | |
| <div class="mb-6"> | |
| <h4 class="font-medium mb-2">Included Stories:</h4> | |
| <div class="grid grid-cols-2 gap-2"> | |
| <div class="flex items-center"> | |
| <i class="fas fa-book-open text-primary-yellow mr-2"></i> | |
| <span>The Last Library</span> | |
| </div> | |
| <div class="flex items-center"> | |
| <i class="fas fa-book-open text-primary-yellow mr-2"></i> | |
| <span>Time Traveler's Cafe</span> | |
| </div> | |
| <div class="flex items-center"> | |
| <i class="fas fa-book-open text-primary-yellow mr-2"></i> | |
| <span>The Color Thief</span> | |
| </div> | |
| <div class="flex items-center"> | |
| <i class="fas fa-book-open text-primary-yellow mr-2"></i> | |
| <span>Messages in Bottles</span> | |
| </div> | |
| <div class="flex items-center"> | |
| <i class="fas fa-book-open text-primary-yellow mr-2"></i> | |
| <span>The Dream Exchange</span> | |
| </div> | |
| <div class="flex items-center"> | |
| <i class="fas fa-book-open text-primary-yellow mr-2"></i> | |
| <span>+18 more stories</span> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="flex flex-col sm:flex-row space-y-4 sm:space-y-0 sm:space-x-4"> | |
| <button class="bg-primary-yellow text-primary-black px-6 py-3 rounded-md font-medium hover:bg-opacity-90 transition flex-1"> | |
| <i class="fas fa-download mr-2"></i> Download eBook | |
| </button> | |
| <button class="border-2 border-primary-black text-primary-black px-6 py-3 rounded-md font-medium hover:bg-black hover:bg-opacity-5 transition flex-1"> | |
| <i class="fas fa-book mr-2"></i> Read Online | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Testimonials --> | |
| <section class="py-16 bg-primary-white"> | |
| <div class="container mx-auto px-6"> | |
| <h2 class="text-3xl font-bold font-serif text-center mb-12">What Our <span class="text-primary-yellow">Community</span> Says</h2> | |
| <div class="grid md:grid-cols-3 gap-8"> | |
| <div class="bg-gray-100 p-6 rounded-lg"> | |
| <div class="flex items-center mb-4"> | |
| <div class="w-12 h-12 rounded-full bg-gray-300 mr-4"></div> | |
| <div> | |
| <h4 class="font-bold">@wordalchemist</h4> | |
| <div class="flex text-primary-yellow"> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <p class="italic">"PromptShare has completely transformed my writing routine. I love seeing how a simple idea I started evolves into something magical through collaboration."</p> | |
| </div> | |
| <div class="bg-gray-100 p-6 rounded-lg"> | |
| <div class="flex items-center mb-4"> | |
| <div class="w-12 h-12 rounded-full bg-gray-300 mr-4"></div> | |
| <div> | |
| <h4 class="font-bold">@inkwell</h4> | |
| <div class="flex text-primary-yellow"> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <p class="italic">"As someone who struggles with writer's block, PromptShare is a godsend. When I'm stuck, I can jump into someone else's story and find fresh inspiration."</p> | |
| </div> | |
| <div class="bg-gray-100 p-6 rounded-lg"> | |
| <div class="flex items-center mb-4"> | |
| <div class="w-12 h-12 rounded-full bg-gray-300 mr-4"></div> | |
| <div> | |
| <h4 class="font-bold">@storyweaver</h4> | |
| <div class="flex text-primary-yellow"> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star-half-alt"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <p class="italic">"The monthly anthologies are my favorite part. It's incredible to see stories I contributed to become part of a published collection."</p> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- CTA Section --> | |
| <section class="py-16 bg-primary-black text-primary-white"> | |
| <div class="container mx-auto px-6 text-center"> | |
| <h2 class="text-3xl font-bold font-serif mb-6">Ready to Start <span class="text-primary-yellow">Collaborating</span>?</h2> | |
| <p class="text-xl mb-8 max-w-2xl mx-auto">Join thousands of writers building imaginative stories together, one prompt at a time.</p> | |
| <div class="flex flex-col sm:flex-row justify-center space-y-4 sm:space-y-0 sm:space-x-4"> | |
| <button class="bg-primary-yellow text-primary-black px-8 py-3 rounded-md font-medium hover:bg-opacity-90 transition">Sign Up Free</button> | |
| <button class="border-2 border-primary-white text-primary-white px-8 py-3 rounded-md font-medium hover:bg-white hover:bg-opacity-10 transition">Take a Tour</button> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Footer --> | |
| <footer class="bg-gray-900 text-gray-400 py-12"> | |
| <div class="container mx-auto px-6"> | |
| <div class="grid md:grid-cols-4 gap-8"> | |
| <div> | |
| <div class="flex items-center space-x-2 mb-4"> | |
| <i class="fas fa-pen-fancy text-primary-yellow text-2xl"></i> | |
| <h3 class="text-xl font-bold font-serif text-white">PromptShare</h3> | |
| </div> | |
| <p class="mb-4">Where stories grow through collaboration and imagination knows no bounds.</p> | |
| <div class="flex space-x-4"> | |
| <a href="#" class="text-gray-400 hover:text-primary-yellow transition"><i class="fab fa-twitter"></i></a> | |
| <a href="#" class="text-gray-400 hover:text-primary-yellow transition"><i class="fab fa-instagram"></i></a> | |
| <a href="#" class="text-gray-400 hover:text-primary-yellow transition"><i class="fab fa-discord"></i></a> | |
| <a href="#" class="text-gray-400 hover:text-primary-yellow transition"><i class="fab fa-medium"></i></a> | |
| </div> | |
| </div> | |
| <div> | |
| <h4 class="text-white font-medium mb-4">Explore</h4> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="hover:text-primary-yellow transition">Featured Prompts</a></li> | |
| <li><a href="#" class="hover:text-primary-yellow transition">Popular Stories</a></li> | |
| <li><a href="#" class="hover:text-primary-yellow transition">Recent Additions</a></li> | |
| <li><a href="#" class="hover:text-primary-yellow transition">Community Favorites</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h4 class="text-white font-medium mb-4">Resources</h4> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="hover:text-primary-yellow transition">Writing Tips</a></li> | |
| <li><a href="#" class="hover:text-primary-yellow transition">Prompt Ideas</a></li> | |
| <li><a href="#" class="hover:text-primary-yellow transition">Monthly Anthologies</a></li> | |
| <li><a href="#" class="hover:text-primary-yellow transition">Community Guidelines</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h4 class="text-white font-medium mb-4">Company</h4> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="hover:text-primary-yellow transition">About Us</a></li> | |
| <li><a href="#" class="hover:text-primary-yellow transition">Careers</a></li> | |
| <li><a href="#" class="hover:text-primary-yellow transition">Contact</a></li> | |
| <li><a href="#" class="hover:text-primary-yellow transition">Blog</a></li> | |
| </ul> | |
| </div> | |
| </div> | |
| <div class="border-t border-gray-800 mt-12 pt-8 flex flex-col md:flex-row justify-between items-center"> | |
| <p class="mb-4 md:mb-0">© 2023 PromptShare. All rights reserved.</p> | |
| <div class="flex space-x-6"> | |
| <a href="#" class="hover:text-primary-yellow transition">Privacy Policy</a> | |
| <a href="#" class="hover:text-primary-yellow transition">Terms of Service</a> | |
| <a href="#" class="hover:text-primary-yellow transition">Cookies</a> | |
| </div> | |
| </div> | |
| </div> | |
| </footer> | |
| <script> | |
| // Simple animation for the typewriter effect in the hero section | |
| document.addEventListener('DOMContentLoaded', function() { | |
| const heroText = document.createElement('div'); | |
| heroText.className = 'typewriter text-xl md:text-2xl font-serif mb-6'; | |
| heroText.textContent = 'Where every prompt begins a journey...'; | |
| const heroSection = document.querySelector('section.relative'); | |
| const existingHeading = heroSection.querySelector('h2'); | |
| existingHeading.insertAdjacentElement('afterend', heroText); | |
| // After animation completes, change to static text | |
| setTimeout(() => { | |
| heroText.classList.remove('typewriter'); | |
| heroText.style.borderRight = 'none'; | |
| }, 3500); | |
| }); | |
| </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=ShadowMonoCode/testy-space" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |