Download index.html from gabigou/dsadasd: direct link, hf CLI and curl.
- Browser
- Download file 39.4 kB
-
https://huggingface.co/spaces/gabigou/dsadasd/resolve/main/index.html
- Command line
-
hf download hf://spaces/gabigou/dsadasd/index.html
-
curl -L -o index.html https://huggingface.co/spaces/gabigou/dsadasd/resolve/main/index.html
39.4 kB
| <html lang="pt-BR"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Instagram - Review Posts</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css"> | |
| <style> | |
| @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap'); | |
| body { | |
| font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; | |
| background-color: #fafafa; | |
| } | |
| .instagram-nav { | |
| background-color: white; | |
| border-bottom: 1px solid #dbdbdb; | |
| } | |
| .story-circle { | |
| background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); | |
| padding: 2px; | |
| } | |
| .instagram-post { | |
| background-color: white; | |
| border: 1px solid #dbdbdb; | |
| border-radius: 3px; | |
| } | |
| .instagram-post img { | |
| width: 100%; | |
| height: auto; | |
| } | |
| .active-tab { | |
| border-top: 1px solid #262626; | |
| } | |
| .notification-badge { | |
| background-color: #FF3040; | |
| } | |
| .btn-primary { | |
| background-color: #0095f6; | |
| } | |
| .text-instagram-blue { | |
| color: #0095f6; | |
| } | |
| .modal { | |
| background-color: rgba(0, 0, 0, 0.65); | |
| } | |
| @keyframes fadeIn { | |
| from { opacity: 0; } | |
| to { opacity: 1; } | |
| } | |
| .fade-in { | |
| animation: fadeIn 0.3s ease-out; | |
| } | |
| .welcome-bar { | |
| background-color: #232423; | |
| color: white; | |
| padding: 10px 0; | |
| text-align: center; | |
| position: fixed; | |
| top: 50px; | |
| left: 50%; | |
| transform: translateX(-50%); | |
| width: 90%; | |
| border-radius: 8px; | |
| font-size: 13px; | |
| font-weight: bold; | |
| height: 65px; | |
| z-index: 9999; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| box-shadow: 0 4px 10px rgba(0,0,0,0.3); | |
| transition: opacity 0.5s; | |
| border-left: 4px solid #4ade80; | |
| } | |
| .welcome-bar.hidden { | |
| opacity: 0; | |
| pointer-events: none; | |
| } | |
| .btn-sim { | |
| background: linear-gradient(135deg, #7B38EF, #A960EE); | |
| color: white; | |
| border-radius: 8px; | |
| padding: 12px 0; | |
| width: 45%; | |
| text-align: center; | |
| font-weight: bold; | |
| transition: all 0.3s; | |
| border: none; | |
| cursor: pointer; | |
| } | |
| .btn-sim:hover { | |
| transform: translateY(-2px); | |
| box-shadow: 0 4px 12px rgba(123, 56, 239, 0.3); | |
| } | |
| .btn-nao { | |
| background: #2d2d2d; | |
| color: white; | |
| border-radius: 8px; | |
| padding: 12px 0; | |
| width: 45%; | |
| text-align: center; | |
| font-weight: bold; | |
| transition: all 0.3s; | |
| border: none; | |
| cursor: pointer; | |
| } | |
| .btn-nao:hover { | |
| transform: translateY(-2px); | |
| box-shadow: 0 4px 12px rgba(45, 45, 45, 0.3); | |
| } | |
| .loading-bar { | |
| height: 4px; | |
| background: linear-gradient(to right, #7B38EF, #A960EE); | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| z-index: 2000; | |
| transition: width 0.3s; | |
| } | |
| .green-text { | |
| color: #4ade80; | |
| } | |
| .interesse-box { | |
| background-color: white; | |
| border: 1px solid #dbdbdb; | |
| border-radius: 8px; | |
| box-shadow: 0 1px 3px rgba(0,0,0,0.1); | |
| } | |
| .saldo-counter { | |
| position: fixed; | |
| bottom: 20px; | |
| right: 20px; | |
| background: linear-gradient(135deg, #7B38EF, #A960EE); | |
| color: white; | |
| padding: 12px 16px; | |
| border-radius: 50px; | |
| font-weight: bold; | |
| box-shadow: 0 4px 12px rgba(0,0,0,0.15); | |
| z-index: 100; | |
| } | |
| @keyframes pulse { | |
| 0% { transform: scale(1); } | |
| 50% { transform: scale(1.05); } | |
| 100% { transform: scale(1); } | |
| } | |
| .pulse { | |
| animation: pulse 1.5s infinite; | |
| } | |
| .username-input { | |
| border: 1px solid #dbdbdb; | |
| border-radius: 3px; | |
| } | |
| .username-input:focus { | |
| border: 1px solid #a8a8a8; | |
| outline: none; | |
| } | |
| .post-section { | |
| margin-bottom: 20px; | |
| display: none; | |
| } | |
| .post-section.active { | |
| display: block; | |
| } | |
| /* Smooth transitions */ | |
| .smooth-scroll { | |
| scroll-behavior: smooth; | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-50 smooth-scroll"> | |
| <!-- Loading bar --> | |
| <div class="loading-bar" id="loadingBar" style="width: 0%"></div> | |
| <!-- Notification Bar --> | |
| <div id="welcomeBar" class="welcome-bar hidden"> | |
| <i class="fas fa-check-circle green-text mr-2 text-xl"></i> | |
| <span id="notificationText">Você avaliou essa publicação e ganhou R$ 33,59 por isso.</span> | |
| </div> | |
| <!-- Instagram Navigation --> | |
| <nav class="instagram-nav fixed top-0 left-0 right-0 z-50"> | |
| <div class="max-w-screen-sm mx-auto flex justify-between items-center h-14 px-4"> | |
| <!-- Instagram Logo --> | |
| <div class="flex items-center"> | |
| <svg aria-label="Instagram" class="text-black" fill="#262626" height="29" viewBox="0 0 24 24" width="103"> | |
| <path d="M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-极4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z"></path> | |
| </svg> | |
| </div> | |
| <!-- Navigation Icons --> | |
| <div class="flex items-center space-x-5"> | |
| <a href="#"> | |
| <svg aria-label="Home" class="_8-yf5" fill="#262626" height="22" viewBox="0 极0 48 48" width="22"> | |
| <path d="M45.5 48H30.1c-.8 0-1.5-.7-1.5-1.5V34.2c0-2.6-2.1-4.6-4.极6-4.6s-4.6 2.1-4.6 4.6v12.3c0 .8-.7 1.5-1.5 1.5H2.5c-.8 0-1.5-.7-1.5-1.5V23c0-.4.2-.8.4-1.1L22.9.4c.6-.6 1.6-.6 2.1 0l21.5 21.5c.3.3.4.7.4 1.1v23.5c.1.8-.6 1.5-1.4 1.5z"></path> | |
| </svg> | |
| </a> | |
| <a href="#"> | |
| <svg aria-label="Direct" class="_8-yf5" fill="#262626" height="22" viewBox="0 0 48 48" width="22"> | |
| <path d="M47.8 3.8c-.3-.5-.8-.8-1.3-.8h-45C.9 3.1.3 3.5.1 4S0 5.2.4 5.7l15.9 15.6 5.5 22.6c.1.6.6 1 1.2 1.1h.2c.5 0 1-.3 1.3-.7l23.2-39c.4-.4.4-1 .1-1.5zM47.8 3.8c-.3-.5-.8-.8-1.3-.8h-45C.9 3.1.3 3.5.1 4S0 5.2.4 5.7l15.9 15.6 5.5 22.6c.1.6.6 1 1.2 1.1h.2c.5 0 1-.3 1.3-.7l23.2-39c.4-.4.4-1 .1-1.5z"></path> | |
| </svg> | |
| </a> | |
| <a href="#"> | |
| <svg aria-label="Find People" class="_8-yf5" fill="#262626" height="22" viewBox="0 0 48 48" width="22"> | |
| <path clip-rule="evenodd" d="M24 0C10.8 0 0 10.8 0 24s10.8 24 24 24 24-10.8 24-24S37.2 0 24 0zm0 45C12.4 45 3 35.6 3 24S12.4 3 24 3s21 9.4 21 21-9.4 21-21 21zm10.2-33.2l-14.8 7c-.3.1-.6.4-.7.7l-7 14.8c-.3.6-.2 1.3.3 1.7.3.3.7.4 1.1.4.2 0 .4 0 .6-.1l14.8-7c.3-.1.6-.4.7-.7l7-14.8c.3-.6.2-1.3-.3-1.7-.4-.5-1.1-.6-1.7-.3zm-7.4 15l-5.5-5.5 10.5-5-5 10.5z" fill-rule="evenodd"></path> | |
| </svg> | |
| </a> | |
| <a href="#"> | |
| <div class="relative"> | |
| <svg aria-label="Activity Feed" class="_8-yf5" fill="#262626" height="22" viewBox="0 0 48 48" width="22"> | |
| <path d="M34.6 6.1c5.7 0 10.4 5.2 10.4 11.5 0 6.8-5.9 11-11.5 16S25 41.3 24 41.9c-1.1-.7-4.7-4-9.5-8.3-5.7-5-11.5-9.2-11.5-16C3 11.3 7.7 6.1 13.4 6.1c4.2 0 6.5 2 8.1 4.3 1.9 2.6 2.2 3.9 2.5 3.9.3 0 .6-1.3 2.5-3.9 1.6-2.3 3.9-4.3 8.1-4.3m0-3c-4.5 0-7.9 1.8-10.6 5.6-2.7-3.7-6.1-5.5-10.6-5.5C6 3.1 0 9.6 0 17.6c0 7.3 5.4 12.1 11.3 15.5 1.4.6 3.2 1.4 5.1 2.3 2.6 1.2 5.6 2.7 8.1 4.3.6.4 1.3.7 2 .7.7 0 1.4-.3 2-.7 2.5-1.6 5.1-3.1 7.7-4.3 2-1 3.8-1.7 5.3-2.4 5.9-3.4 11.3-8.1 11.3-15.5.1-8-6-14.5-13.4-14.5z"></path> | |
| </svg> | |
| <span class="notification-badge absolute rounded-full w-4 h-4 top-0 right-0 text-xs text-white text-center" style="line-height: 1.2;">5</span> | |
| </div> | |
| </a> | |
| <a href="#"> | |
| <div class="rounded-full overflow-hidden w-6 h-6"> | |
| <img src="https://source.unsplash.com/random/100x100/?portrait&100" alt="Profile" class="w-full h-full object-cover"> | |
| </div> | |
| </a> | |
| </div> | |
| </div> | |
| </nav> | |
| <!-- Instagram Stories (Hidden in this implementation) --> | |
| <div class="pt-14 pb-2 bg-white overflow-x-scroll" style="display: none;"> | |
| <!-- Stories would go here --> | |
| </div> | |
| <!-- Main Content - Review Posts Sections --> | |
| <main id="postsContainer" class="hidden pb-16 pt-16"> | |
| <!-- Saldo Counter (Fixed position) --> | |
| <div class="saldo-counter pulse" id="saldoCounter"> | |
| R$ 175,92 | |
| </div> | |
| <!-- Post 1 --> | |
| <section class="post-section active px-4 py-3" id="post1"> | |
| <div class="instagram-post"> | |
| <!-- Post Header --> | |
| <div class="flex justify-between items-center p-3"> | |
| <div class="flex items-center space-x-3"> | |
| <div class="story-circle rounded-full overflow-hidden w-8 h-8 flex items-center justify-center"> | |
| <div class="bg-white rounded-full overflow-hidden w-7 h-7 flex items-center justify-center"> | |
| <div class="w-6 h-6 rounded-full overflow-hidden"> | |
| <img src="https://source.unsplash.com/random/100x100/?portrait&1" alt="Profile" class="w-full h-full object-cover"> | |
| </div> | |
| </div> | |
| </div> | |
| <p class="font-semibold text-sm">larissamanoela</p> | |
| </div> | |
| <button> | |
| <svg aria-label="More options" class="_8-yf5" fill="#262626" height="16" viewBox="0 0 48 48" width="16"> | |
| <circle clip-rule="evenodd" cx="8" cy="24" fill-rule="evenodd" r="4.5"></circle> | |
| <circle clip-rule="evenodd" cx="24" cy="24" fill-rule="evenodd" r="4.5"></circle> | |
| <circle clip-rule="evenodd" cx="40" cy="24" fill-rule="evenodd" r="4.5"></circle> | |
| </svg> | |
| </button> | |
| </div> | |
| <!-- Post Image --> | |
| <div class="aspect-square"> | |
| <img src="https://source.unsplash.com/random/800x800/?model&1" alt="Post" class="w-full h-full object-cover"> | |
| </div> | |
| <!-- Post Actions --> | |
| <div class="flex justify-between p-3"> | |
| <div class="flex space-x-4"> | |
| <button> | |
| <svg aria-label="Like" class="_8-yf5" fill="#262626" height="24" viewBox="0 0 48 48" width="24"> | |
| <path d="M34.6 6.1c5.7 0 10.4 5.2 10.4 11.5 0 6.8-5.9 11-11.5 16S25 41.3 24 极41.9c-1.1-.7-4.7-4-9.5-8.3-5.7-5-11.5-9.2-11.5-16C3 11.3 7.7 6.1 13.4 6.1c4.2 0 6.5 2 8.1 4.3 1.9 2.6 2.2 3.9 2.5 3.9.3 0 .6-1.3 2.5-3.9 1.6-2.3 3.9-4.3 8.1-4.3m0-3c-4.5 0-7.9 1.8-10.6 5.6-2.7-3.7-6.1-5.5-10.6-5.5C6 3.1 0 9.6 0 17.6c0 7.3 5.4 12.1 11.3 15.5 1.4.6 3.2 1.4 5.1 2.3 2.6 1.2 5.6 2.7 8.1 4.3.6.4 1.3.7 2 .7.7 0 1.4-.3 2-.7 2.5-1.6 5.1-3.1 7.7-4.3 2-1 3.8-1.7 5.3-2.4 5.9-3.4 11.3-8.1 11.3-15.5.1-8-极6-14.5-13.4-14.5z"></path> | |
| </svg> | |
| </button> | |
| <button> | |
| <svg aria-label="Comment" class="_8-yf5" fill="#262626" height="24" viewBox="0 0 48 48" width="24"> | |
| <path clip-rule="evenodd" d="M47.5 46.1l-2.8-11c1.8-3.3 2.8-7.1 2.8-11.1C47.5 11 37 .5 24 .5S.5 11 .5 24 11 47.5 24 47.5c4 0 7.8-1 11.1-2.8l11 2.8c.8.2 1.6-.6 1.4-1.4zm-3-22.1c0 4-1 7-2.6 10-.2.4-.3.9-.2 1.4l2.1 8.4-8.3-2.1c-.5-.1-1-.1-1.4.2-1.8 1-5.2 2.6-10 极2.6-11.4 0-20.6-9.2-20.6-20.5S12.7 3.5 24 3.5 44.5 12.7 44.5 24z" fill-rule="evenodd"></path> | |
| </svg> | |
| </button> | |
| <button> | |
| <svg aria-label="Share Post" class="_8-yf5" fill="#262626" height="24" viewBox="0 0 48 48" width="24"> | |
| <path d="M47.8 3.8c-.3-.5-.8-.8-1.3-.8h-45C.9 3.1.3 3.5.1 4S0 5.2.4 5.7l15.9 15.6 5.5 22.6c.1.6.6 1 1.2 1.1h.2c.5 0 1-.3 1.3-.7l23.2-39c.4-.4.4-1 .1-1.5zM47.8 3.8c-.3-.5-.8-.8-1.3-.8h-45C.9 3.1.3 3.5.1 4S0 5.2.4 5.7l15.9 15.6 5.5 22.6c.1.6.6 1 1.2 1.1h.2c.5 0 1-.3 1.3-.7l23.2-39c.4-.4.4-1 .1-1.5z"></path> | |
| </svg> | |
| </button> | |
| </div> | |
| <button> | |
| <svg aria-label="Save" class="_8-yf5" fill="#262626" height="24" viewBox="0 0 48 48" width="24"> | |
| <path d="M43.5 48c-.4 0-.8-.2-1.1-.4L24 29 5.6 47.6c-.4.4-1.1.6-1.6.3-.6-.2-1-.8-1-1.4v-45C3 .7 3.7 0 4.5 0h39c.8 0 1.5.7 1.5 1.5v45c0 .6-.4 1.2-.9 1.4-.2.1-.4.1-.6.1z"></path> | |
| </svg> | |
| </button> | |
| </div> | |
| <!-- Post Likes --> | |
| <div class="px-3 pb-1"> | |
| <p class="text-sm font-semibold">219 mil curtidas</p> | |
| </div> | |
| <!-- Post Caption --> | |
| <div class="px-3 pb-2"> | |
| <p class="text-sm"><span class="font-semibold">larissamanoela</span> Novo trabalho chegando em breve! 💜 #novidades #trabalho</p> | |
| </div> | |
| <!-- Post Comments --> | |
| <div class="px-3 pb-2"> | |
| <p class="text-sm text-gray-500">Ver todos os 3.284 comentários</p> | |
| <p class="text-sm mt-1"><span class="font-semibold">fã_club_</span> Amei demais, ansiosa!</p> | |
| <p class="text-sm mt-1"><span class="font-semibold">amigo1</span> Lindaaa 💜</p> | |
| </div> | |
| <!-- Post Time --> | |
| <div class="px-3 pb-2"> | |
| <p class="text-xs text-gray-400 uppercase">há 2 horas</p> | |
| </div> | |
| </div> | |
| <!-- Review Question --> | |
| <div class="interesse-box p-4 mt-2"> | |
| <p class="text-center mb-3 text-sm font-medium">Você tem interesse nessa publicação?</p> | |
| <div class="btns-interesse flex justify-between px-2"> | |
| <button class="btn-nao" onclick="answerQuestion(false, 35.92, 'post1')">Não</button> | |
| <button class="btn-sim" onclick="answerQuestion(true, 35.92, 'post1')">Sim</button> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Post 2 --> | |
| <section class="post-section px-4 py-3" id="post2"> | |
| <div class="instagram-post"> | |
| <!-- Post Header --> | |
| <极div class="flex justify-between items-center p-3"> | |
| <div class="flex items-center space-x-3"> | |
| <div class="story-circle rounded-full overflow-hidden w-8 h-8 flex items-center justify-center"> | |
| <div class="bg-white rounded-full overflow-hidden w-7 h-7 flex items-center justify-center"> | |
| <div class="w-6 h-6 rounded-full overflow-hidden"> | |
| <img src="https://source.unsplash.com/random/100x100/?portrait&2" alt="Profile" class="w-full h-full object-cover"> | |
| </div> | |
| </div> | |
| </div> | |
| <p class="font-semibold text-sm">veigh</p> | |
| </div> | |
| <button> | |
| <svg aria-label="More options" class="_8-yf5" fill="#262626" height="16" viewBox="0 0 48 48" width="16"> | |
| <circle clip-rule="evenodd" cx="8" cy="24" fill-rule="evenodd" r="4.5"></circle> | |
| <circle clip-rule="evenodd" cx="24" cy="24" fill-rule="evenodd" r="4.5"></circle> | |
| <circle clip-rule="evenodd" cx="40" cy="24" fill-rule="evenodd" r="4.5"></circle> | |
| </svg> | |
| </button> | |
| </div> | |
| <!-- Post Image --> | |
| <div class="aspect-square"> | |
| <img src="https://source.unsplash.com/random/800x800/?singer&2" alt="Post" class="w-full h-full object-cover"> | |
| </div> | |
| <!-- Post Actions --> | |
| <div class="flex justify-between p-3"> | |
| <div class="flex space-x-4"> | |
| <button> | |
| <svg aria-label="Like" class="_8-yf5" fill="#262626" height="24" viewBox="0 0 48 48" width="24"> | |
| <path d="M34.6 6.1c5.7 0 10.4 5.2 10.4 11.5 0 6.8-5.9 11-11.5 16S25 41.3 24 41.9c-1.1-.7-4.7-4-9.5-8.3-5.7-5-11.5-9.2-11.5-16C3 11.3 7.7 6.1 13.4 6.1c4.2 0 6.5 2 8.1 4.3 1.9 2.6 2.2 3.9 2.5 3.9.3 0 .6-1.3 2.5-3.9 1.6-2.3 3.9-4.3 8.1-4.3m0-3c-4.5 0-7.9 1.8-10.6 5.6-2.7-3.7-6.1-5.5-10.6-5.5C6 3.1 0 9.6 0 17.6c0 7.3 5.4 12.1 11.3 15.5 1.4.6 3.2 1.4 5.1 2.3 2.6 1.2 5.6 2.7 8.1 4.3.6.4 1.3.7 2 .7.7 0 1.4-.3 2-.7 2.5-1.6 5.1-3.1 7.7-4.3 2-1 3.8-1.7 5.3-2.4 5.9-3.4 11.3-8.1 11.3-15.5.1-8-6-14.5-13.4-14.5z"></path> | |
| </svg> | |
| </button> | |
| <button> | |
| <svg aria-label="Comment" class="_8-yf5" fill="#262626" height="24" viewBox="0 0 48 48" width="24"> | |
| <path clip-rule="evenodd" d="M47.5 46.1l-2.8-11c1.8-3.3 2.8-7.1 2.8-11.1C47.5 11 37 .5 24 .5S.5 11 .5 24 11 47.5 24 47.5c4 0 7.8-1 11.1-2.8l11 2.8c.8.2 1.6-.6 1.4-1.4zm-3-22.1c0 4-1 7-2.6 10-.2.4-.3.9-.2 1.4l2.1 8.4-8.3-2.1c-.5-.1-1-.1-1.4.2-1.8 1-5.2 2.6-10 2.6-11.4 0-20.6-9.2-20.6-20.5S12.7 3.5 24 3.5 44.5 12.7 44.5 24z" fill-rule="evenodd"></path> | |
| </svg> | |
| </button> | |
| <button> | |
| <svg aria-label="Share Post" class="_8-yf5" fill="#262626" height="24" viewBox="0 0 48 48" width="24"> | |
| <path d="M47.8 3.8c-.3-.5-.8-.8-1.3-.8h-45C.9 3.1.3 3.5.1 4S0 5.2.4 5.7l15.9 15.6 5.5 22.6c.1.6.6 1 1.2 1.1h.2c.5 0 1-.3 1.3-.7l23.2-39c.4-.4.4-1 .1-1.5zM47.8 3.8c-.3-.5-.8-.8-1.3-.8h-45C.9 3.1.3 3.5.1 4S0 5.2.4 5.7l15.9 15.6 5.5 22.6c.1.6.6 1 1.2 1.1h.2c.5 0 1-.3 1.3-.7l23.2-39c.4-.4.4-1 .1-1.5z"></path> | |
| </svg> | |
| </button> | |
| </div> | |
| <button> | |
| <svg aria-label="Save" class="_8-yf5" fill="#262626" height="24" viewBox="0 0 48 48" width="24"> | |
| <path d="M43.5 48c-.4 0-.8-.2-1.1-.4L24 29 5.6 47.6c-.4.4-1.1.6-1.6.3-.6-.2-1-.8-1-1.4v-45C3 .7 3.7 0 4.5 0h39c.8 0 1.5.7 1.5 1.5v45c0 .6-.4 1.2-.9 1.4-.2.1-.4.1-.6.1z"></path> | |
| </svg> | |
| </button> | |
| </div> | |
| <!-- Post Likes --> | |
| <div class="px-3 pb-1"> | |
| <p class="text-sm font-semibold">499 mil curtidas</p> | |
| </div> | |
| <!-- Post Caption --> | |
| <div class="px-3 pb-2"> | |
| <p class="text-sm"><span class="font-semibold">veigh</span> Novo single já disponível 🔥 #novomúsica #trap</p> | |
| </div> | |
| <!-- Post Comments --> | |
| <div class="px-3 pb-2"> | |
| <p class="text-sm text-gray-500">Ver todos os 5.642 comentários</p> | |
| <p class="text-sm mt-1"><span class="font-semibold">tramadol</span> Brabissimo 🔥</p> | |
| <p class="text-sm mt-1"><span class="font-semibold">fã987</span> Tá foda demais</p> | |
| </div> | |
| <!-- Post Time --> | |
| <div class="px-3 pb-2"> | |
| <p class="text-xs text-gray-400 uppercase">há 1 dia</p> | |
| </div> | |
| </div> | |
| <!-- Review Question --> | |
| <div class="interesse-box p-4 mt-2"> | |
| <p class="text-center mb-3 text-sm font-medium">Você tem interesse nessa publicação?</p> | |
| <div class="btns-interesse flex justify-between px-2"> | |
| <button class="btn-nao" onclick="answerQuestion(false, 38.62, 'post2')">Não</button> | |
| <button class="btn-sim" onclick="answerQuestion(true, 38.62, 'post2')">Sim</button> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Post 3 --> | |
| <section class="post-section px-4 py-3" id="post3"> | |
| <div class="instagram-post"> | |
| <!-- Post Header --> | |
| <div class="flex justify-between items-center p-3"> | |
| <div class="flex items-center space-x-3"> | |
| <div class="story-circle rounded-full overflow-hidden w-8 h-8 flex items-center justify-center"> | |
| <div class="bg-white rounded-full overflow-hidden w-7 h-7 flex items-center justify-center"> | |
| <div class="w-6 h-6 rounded-full overflow-hidden"> | |
| <img src="https://source.unsplash.com/random/100x100/?portrait&3" alt="Profile" class="w-full h-full object-cover"> | |
| </div> | |
| </div> | |
| </div> | |
| <p class="font-semibold text-sm">neymarjr</p> | |
| </div> | |
| <button> | |
| <svg aria-label="More options" class="_8-yf5" fill="#262626" height="16" view极Box="0 0 48 48" width="16"> | |
| <circle clip-rule="evenodd" cx="8" cy="24" fill-rule="evenodd" r="4.5"></circle> | |
| <circle clip-rule="evenodd" cx="24" cy="24" fill-rule="evenodd" r="4.5"></circle> | |
| <circle clip-rule="evenodd" cx="40" cy="24" fill-rule="evenodd" r="4.5"></circle> | |
| </svg> | |
| </button> | |
| </div> | |
| <!-- Post Image --> | |
| <div class="aspect-square"> | |
| <img src="https://source.unsplash.com/random/800x800/?soccer&1" alt="Post" class="w-full h-full object-cover"> | |
| </div> | |
| <!-- Post Actions --> | |
| <div class="flex justify-between p-3"> | |
| <div class="flex space-x-4"> | |
| <button> | |
| <svg aria-label="Like" class="_8-yf5" fill="#262626" height="24" viewBox="0 0 48 48" width="24"> | |
| <path d="M34.6 6.1c5.7 0 10.4 5.2 极10.4 11.5 0 6.8-5.9 11-11.5 16S25 41.3 24 41.9c-1.1-.7-4.7-4-9.5-8.3-5.7-5-11.5-9.2-11.5-16C3 11.3 7.7 6.1 13.4 6.1c4.2 0 6.5 2 8.1 4.3 1.9 2.6 2.2 3.9 2.5 3.9.3 0 .6-1.3 2.5-3.9 1.6-极2.3 3.9-4.3 8.1-4.3m0-3c-4.5 0-7.9 1.8-极10.6 5.6-2.7-3.7-6.1-5.5-10.6-5.5C6 3.1 0 9.6 0 17.6c0 7.3 5.4 12.1 11.3 15.5 1.4.6 3.2 1.4 5.1 2.3 2.6 1.2 5.6 2.7 8.1 4.3.6.4 1.3.7 2 .7.7 0 1.4-.3 2-.7 2.5-1.6 5.1-3.1 7.7-4.3 2-1 3.8-1.7 5.3-2.4 5.9-3.4 11.3-8.1 11.3-15.5.1-8-6-14.5-13.4-14.5z"></path> | |
| </svg> | |
| </button> | |
| <button> | |
| <svg aria-label="Comment" class="_8-yf5" fill="#262626" height="24" viewBox="0 0 48 48" width="24"> | |
| <path clip-rule="evenodd" d="M47.5 46.1l-2.8-11c1.8-3.3 2.8-7.1 2.8-11.1C47.5 11 37 .5 24 .5S.5 11 .5 24 11 47.5 24 47.5c4 0 7.8-1 11.1-2.8l11 2.8c.8.2 1.6-.6 1.4-1.4zm-3-22.1c0 4-1 7-2.6 10-.2.4-.3.9-.2 1.4l2.1 8.4-8.3-2.1c-.5-.1-1-.1-1.4.2-1.8 1-5.2 2.6-10 2.6-11.4 0-20.6-9.2-20.6-20.5S12.7 3.5 24 3.5 44.5 12.7 44.5 24z" fill-rule="evenodd"></path> | |
| </svg> | |
| </button> | |
| <button> | |
| <svg aria-label="Share Post" class="_8-yf5" fill="#262626" height="24" viewBox="0 0 48 48" width="24"> | |
| <path d="M47.8 3.8c-.3-.5-.8-.8-1.3-.8h-45C.9 3.1.3 3.5.1 4S0 5.2.4 5.7l15.9 15.6 5.5 22.6c.1.6.6 1 1.2 1.1h.2c.5 0 1-.3 1.3-.7l23.2-39c.4-.4.4-1 .1-1.5zM47.8 3.8c-.3-.5-.8-.8-1.3-.8h-45C.9 3.1.3 3.5.1 4S0 5.2.4 5.7l15.9 15.6 5.5 22.6c.1.6.6 1 1.2 1.1h.极2c.5 0 1-.3 1.3-.7l23.2-39c.4-.4.4-1 .1-1.5z"></path> | |
| </svg> | |
| </button> | |
| </div> | |
| <button> | |
| <svg aria-label="Save" class="_8-yf5" fill="#262626" height="24" viewBox="0 0 48 48" width="24"> | |
| <p极ath d="M43.5 48c-.4 0-.8-.2-1.1-.4L24 29 5.6 47.6c-.4.4-1.1.6-1.6.3-.6-.2-1-.8-1-1.4v-45C3 .7 3.7 0 4.5 0h39c.8 0 1.5.7 1.5 1.5v45c0 .6-.4 1.2-.9 1.4-.2.1-.4.1-.6.1z"></path> | |
| </svg> | |
| </button> | |
| </div> | |
| <!-- Post Likes --> | |
| <div class="px-3 pb-1"> | |
| <p class="text-sm font-semibold">1,2 mi de curtidas</p> | |
| </div> | |
| <!-- Post Caption --> | |
| <div class="px-3 pb-2"> | |
| <p class="text-sm"><span class="font-semibold">neymarjr</span> Treino é treino, jogo é jogo! 💪⚽ #futebol</p> | |
| </div> | |
| <!-- Post Comments --> | |
| <div class="px-3 pb-2"> | |
| <p class="text-sm text-gray-500">Ver todos os 8.923 comentários</p> | |
| <p class="text-sm mt-1"><span class="font-semibold">craquee</span> Monstro!</p> | |
| <p class="text-sm mt-1"><span class="font-semibold">futebol_10</span> Mito 😍⚽</p> | |
| </div> | |
| <!-- Post Time --> | |
| <div class="px-3 pb-2"> | |
| <p class="text-xs text-gray-400 uppercase">há 5 horas</p> | |
| </div> | |
| </div> | |
| <!-- Review Question --> | |
| <div class="interesse-box p-4 mt-2"> | |
| <p class="text-center mb-3 text-sm font-medium">Você tem interesse nessa publicação?</p> | |
| <div class="btns-interesse flex justify-between px-2"> | |
| <button class="btn-nao" onclick="answerQuestion(false, 42.85, 'post3')">Não</button> | |
| <button class="btn-sim" onclick="answerQuestion(true, 42.85, 'post3')">Sim</button> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Final Page --> | |
| <section class="post-section px-4 py-8 last-page flex justify-center items-center min-h-screen bg-white" id="lastPage"> | |
| <div class="max-w-sm w-full text-center mt-12"> | |
| <div class="flex justify-center mb-8"> | |
| <svg aria-label="Instagram" class="text-black" fill="#262626" height="64" viewBox="0 0 24 24" width="64"> | |
| <path d="M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z"></path> | |
| </svg> | |
| </div> | |
| <h2 class="text-2xl font-bold mb-4">PARABÉNS!</h2> | |
| <p class="mb-6 text-gray-700">Você completou todas as avaliações e acumulou:</p> | |
| <div class="text-4xl font-bold text-green-600 mb-8">R$ 490.26</div> | |
| <div class="relative pt-1 mb-8"> | |
| <div class="flex mb-2 items-center justify-between"> | |
| <div> | |
| <span class="text-xs font-semibold inline-block py-1 px-2 uppercase rounded-full text-green-600 bg-green-200"> | |
| Completo | |
| </span> | |
| </div> | |
| </div> | |
| <div class="overflow-hidden h-2 mb-4 text-xs flex rounded bg-green-200"> | |
| <div style="width:100%" class="shadow-none flex flex-col text-center whitespace-nowrap text-white justify-center bg-green-500"></div> | |
| </div> | |
| </div> | |
| <p class="mb-8 text-gray-700">Seu saldo está disponível para saque!</p> | |
| <button onclick="withdraw()" class="w-full py-3 btn-primary rounded-lg text-white font-bold text-lg hover:opacity-90 transition"> | |
| SACAR AGORA | |
| </button> | |
| </div> | |
| </section> | |
| </main> | |
| <!-- Login Modal (Initial State) --> | |
| <div id="loginModal" class="fixed inset-0 z-50 flex items-center justify-center bg-white fade-in"> | |
| <div class="max-w-sm w-full p-8 text-center"> | |
| <div class="flex justify-center mb-8"> | |
| <svg aria-label="Instagram" class="_8-yf5" fill="#262626" height="64" viewBox="0 0 24 24" width="64"> | |
| <path d="M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.极92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z"></path> | |
| </svg> | |
| </div> | |
| <form class="mb-6"> | |
| <div class="mb-4"> | |
| <input type="text" id="username" placeholder="@username" | |
| class="w-full p-3 username-input text-sm text-center"> | |
| <p class="text-xs text-gray-500 mt-1">Digite seu @ do Instagram</p> | |
| </div> | |
| <button type="button" onclick="login()" | |
| class="w-full py-2 btn-primary rounded text-white font-semibold"> | |
| Entrar | |
| </button> | |
| </form> | |
| <div class="mb-6"> | |
| <a href="#" class="text-instagram-blue text-sm font-semibold"> | |
| <i class="fab fa-facebook-square mr-1"></i> Entrar com o Facebook | |
| </a> | |
| </div> | |
| </div> | |
| </script> | |
| </div> | |
| <script> | |
| // Global variables | |
| let currentBalance = 175.92; | |
| // Initialize the page | |
| document.addEventListener('DOMContentLoaded', function() { | |
| // Hide welcome bar after 2 seconds | |
| setTimeout(function() { | |
| const welcomeBar = document.getElementById('welcomeBar'); | |
| if (welcomeBar) welcomeBar.classList.add('hidden'); | |
| }, 2000); | |
| }); | |
| // Show notification function | |
| function showNotification(amount) { | |
| const notification = document.getElementById('welcomeBar'); | |
| document.getElementById('notificationText').textContent = `Você avaliou essa publicação e ganhou R$ ${amount.toFixed(2)} por isso.`; | |
| notification.classList.remove('hidden'); | |
| setTimeout(() => { | |
| notification.classList.add('hidden'); | |
| }, 2000); | |
| } | |
| // Login function (simplified - just checks for @) | |
| function login() { | |
| const username = document.getElementById('username').value.trim(); | |
| // Simple validation - just check if starts with @ | |
| if (!username.includes('@')) { | |
| alert("Por favor, digite seu @ do Instagram (ex: @seunome)"); | |
| return; | |
| } | |
| // Hide login modal | |
| document.getElementById('loginModal').style.display = 'none'; | |
| // Show loading animation | |
| const loadingBar = document.getElementById('loadingBar'); | |
| let width = 0; | |
| const interval = setInterval(() => { | |
| if (width >= 100) { | |
| clearInterval(interval); | |
| showPostsSection(); | |
| } else { | |
| width++; | |
| loadingBar.style.width = width + '%'; | |
| } | |
| }, 10); | |
| } | |
| // Show posts section (quizzes) | |
| function showPostsSection() { | |
| document.getElementById('postsContainer').style.display = 'block'; | |
| document.getElementById('loadingBar').style.width = '0%'; | |
| // Scroll to first post with timeout to ensure DOM is ready | |
| setTimeout(() => { | |
| const firstSection = document.querySelector('.post-section.active'); | |
| firstSection.scrollIntoView({ behavior: 'smooth', block: 'start' }); | |
| }, 500); | |
| } | |
| // Answer question function (improved with better navigation) | |
| function answerQuestion(answer, amount, currentPostId) { | |
| // Get current and next sections | |
| const currentSection = document.getElementById(currentPostId); | |
| const allSections = document.querySelectorAll('.post-section'); | |
| const nextSection = currentSection.nextElementSibling; | |
| // Disable all buttons to prevent multiple clicks | |
| const buttons = currentSection.querySelectorAll('.btn-sim, .btn-nao'); | |
| buttons.forEach(btn => { | |
| btn.disabled = true; | |
| if ((btn.classList.contains('btn-sim') && answer) || | |
| (btn.classList.contains('btn-nao') && !answer)) { | |
| btn.style.opacity = '1'; | |
| } else { | |
| btn.style.opacity = '0.5'; | |
| } | |
| }); | |
| // Update global balance | |
| currentBalance += amount; | |
| // Update balance display | |
| document.getElementById('saldoCounter').textContent = `R$ ${currentBalance.toFixed(2)}`; | |
| // Show notification | |
| showNotification(amount); | |
| // Scroll to next section after delay with improved mobile support | |
| setTimeout(() => { | |
| if (nextSection && nextSection.id !== 'lastPage') { | |
| currentSection.classList.remove('active'); | |
| nextSection.classList.add('active'); | |
| nextSection.scrollIntoView({ | |
| behavior: 'smooth', | |
| block: 'start' | |
| }); | |
| } else if (nextSection && nextSection.id === 'lastPage') { | |
| // Show final page | |
| allSections.forEach(section => { | |
| section.classList.remove('active'); | |
| }); | |
| document.getElementById('lastPage').classList.add('active'); | |
| document.getElementById('saldoCounter').style.display = 'none'; | |
| document.getElementById('lastPage').scrollIntoView({ | |
| behavior: 'smooth', | |
| block: 'start' | |
| }); | |
| } | |
| }, 800); | |
| } | |
| // Withdraw function - now redirects to Google | |
| function withdraw() { | |
| window.location.href = "https://google.com"; | |
| } | |
| </script> | |
| </body> | |
| </html> |