Spaces:
Running
Running
Download index.html from playsummer/ebooks: direct link, hf CLI and curl.
- Browser
- Download file 7.4 kB
-
https://huggingface.co/spaces/playsummer/ebooks/resolve/main/index.html
- Command line
-
hf download hf://spaces/playsummer/ebooks/index.html
-
curl -L -o index.html https://huggingface.co/spaces/playsummer/ebooks/resolve/main/index.html
7.4 kB
| <html lang="pt-BR"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Noite dos Lobos - Glauber Vieira</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> | |
| @import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Roboto+Condensed:wght@300;400;700&display=swap'); | |
| .book-cover { | |
| perspective: 1000px; | |
| transform-style: preserve-3d; | |
| box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); | |
| transition: all 0.5s ease; | |
| } | |
| .book-cover:hover { | |
| transform: rotateY(10deg) scale(1.02); | |
| } | |
| .title-text { | |
| text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5); | |
| letter-spacing: 2px; | |
| } | |
| .author-text { | |
| text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); | |
| } | |
| .wolf-silhouette { | |
| filter: drop-shadow(0 0 8px rgba(173, 216, 230, 0.7)); | |
| } | |
| .moon-glow { | |
| box-shadow: 0 0 30px 10px rgba(255, 255, 255, 0.4); | |
| } | |
| .stars { | |
| position: absolute; | |
| width: 100%; | |
| height: 100%; | |
| top: 0; | |
| left: 0; | |
| z-index: 0; | |
| } | |
| .star { | |
| position: absolute; | |
| background-color: white; | |
| border-radius: 50%; | |
| animation: twinkle 4s infinite; | |
| } | |
| @keyframes twinkle { | |
| 0%, 100% { opacity: 0.3; } | |
| 50% { opacity: 1; } | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-900 min-h-screen flex items-center justify-center p-4"> | |
| <div class="book-cover relative w-full max-w-md h-[600px] rounded-lg overflow-hidden"> | |
| <!-- Night Sky Background --> | |
| <div class="absolute inset-0 bg-gradient-to-b from-blue-900 via-purple-900 to-black"> | |
| <!-- Stars --> | |
| <div class="stars" id="stars-container"></div> | |
| <!-- Moon --> | |
| <div class="absolute top-10 right-10 w-16 h-16 bg-gray-100 rounded-full moon-glow"></div> | |
| <!-- Wolf Silhouette --> | |
| <div class="wolf-silhouette absolute bottom-0 left-0 w-full h-1/3"> | |
| <svg viewBox="0 0 500 150" preserveAspectRatio="none" class="w-full h-full"> | |
| <path d="M0,150 L50,100 C100,50 150,120 200,90 C250,60 300,130 350,80 C400,30 450,110 500,70 L500,150 Z" fill="#111827"></path> | |
| </svg> | |
| <div class="absolute bottom-0 left-0 w-full h-16 bg-gradient-to-t from-gray-900 to-transparent"></div> | |
| </div> | |
| <!-- Forest Silhouette --> | |
| <div class="absolute bottom-0 left-0 w-full h-1/4"> | |
| <svg viewBox="0 0 500 100" preserveAspectRatio="none" class="w-full h-full"> | |
| <path d="M0,100 L20,70 C40,40 60,80 80,50 C100,20 120,60 140,30 C160,0 180,40 200,10 C220,-20 240,20 260,0 C280,-20 300,10 320,0 C340,-10 360,5 380,0 C400,-5 420,0 440,10 C460,20 480,5 500,20 L500,100 Z" fill="#111827"></path> | |
| </svg> | |
| </div> | |
| </div> | |
| <!-- Book Content --> | |
| <div class="relative z-10 h-full flex flex-col justify-between p-8"> | |
| <!-- Top Content --> | |
| <div class="text-right"> | |
| <span class="text-white font-bold uppercase tracking-widest">Novo Lançamento</span> | |
| </div> | |
| <!-- Main Title --> | |
| <div class="text-center"> | |
| <h1 class="title-text text-5xl md:text-6xl font-bold text-white mb-2" style="font-family: 'Playfair Display', serif;">NOITE DOS LOBOS</h1> | |
| <div class="w-24 h-1 bg-amber-500 mx-auto my-4"></div> | |
| <p class="author-text text-xl text-white italic">Glauber Vieira</p> | |
| </div> | |
| <!-- Bottom Content --> | |
| <div class="flex justify-between items-end"> | |
| <div class="text-white"> | |
| <i class="fas fa-paw text-amber-500 mr-2"></i> | |
| <span class="font-bold">Suspense Sobrenatural</span> | |
| </div> | |
| <div class="text-white text-right"> | |
| <p class="text-sm">Uma história de terror e mistério</p> | |
| <p class="text-xs mt-1">Disponível em ebook e impresso</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <script> | |
| // Create stars | |
| document.addEventListener('DOMContentLoaded', function() { | |
| const starsContainer = document.getElementById('stars-container'); | |
| const starsCount = 100; | |
| for (let i = 0; i < starsCount; i++) { | |
| const star = document.createElement('div'); | |
| star.classList.add('star'); | |
| // Random position | |
| const left = Math.random() * 100; | |
| const top = Math.random() * 80; // Keep stars in the upper part | |
| // Random size | |
| const size = Math.random() * 3; | |
| // Random animation delay | |
| const delay = Math.random() * 5; | |
| star.style.left = `${left}%`; | |
| star.style.top = `${top}%`; | |
| star.style.width = `${size}px`; | |
| star.style.height = `${size}px`; | |
| star.style.animationDelay = `${delay}s`; | |
| starsContainer.appendChild(star); | |
| } | |
| // Add wolf eyes glow | |
| const wolfEyesCount = 6; | |
| for (let i = 0; i < wolfEyesCount; i++) { | |
| const eye = document.createElement('div'); | |
| eye.classList.add('absolute', 'rounded-full', 'bg-amber-400'); | |
| // Position eyes along the wolf silhouette | |
| const left = 10 + (i * 15); | |
| const bottom = 15 + (Math.random() * 5); | |
| const size = 3 + (Math.random() * 2); | |
| eye.style.left = `${left}%`; | |
| eye.style.bottom = `${bottom}%`; | |
| eye.style.width = `${size}px`; | |
| eye.style.height = `${size}px`; | |
| eye.style.boxShadow = `0 0 8px 2px rgba(245, 158, 11, 0.8)`; | |
| starsContainer.parentNode.appendChild(eye); | |
| } | |
| }); | |
| </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=playsummer/ebooks" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |