Spaces:
Running

fic / index.html
diego1carmo's picture
Implemente a etapa apos a escolha - Initial Deployment
2f69c46 verified
Raw History Blame Contribute Delete
14.6 kB
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>FicInterativa - Sua plataforma de fanfics interativas</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700&display=swap');
body {
font-family: 'Merriweather', serif;
}
.story-card {
transition: all 0.3s ease;
}
.story-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}
.rating-stars {
display: inline-flex;
}
.rating-stars input {
display: none;
}
.rating-stars label {
cursor: pointer;
width: 30px;
height: 30px;
background: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'%3e%3c/polygon%3e%3c/svg%3e") no-repeat center;
background-size: 24px;
filter: grayscale(1);
opacity: 0.6;
}
.rating-stars input:checked ~ label,
.rating-stars label:hover,
.rating-stars label:hover ~ label {
filter: grayscale(0);
opacity: 1;
}
.rating-stars input:checked + label {
filter: grayscale(0);
opacity: 1;
}
.dark-mode {
background-color: #1a202c;
color: #e2e8f0;
}
.dark-mode .bg-white {
background-color: #2d3748;
}
.dark-mode .text-gray-700 {
color: #e2e8f0;
}
.dark-mode .text-gray-500 {
color: #a0aec0;
}
</style>
</head>
<body class="bg-gray-50">
<nav class="bg-white shadow-sm">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="flex justify-between h-16">
<div class="flex items-center">
<a href="#" class="flex-shrink-0 flex items-center">
<i data-feather="book-open" class="h-8 w-8 text-indigo-600"></i>
<span class="ml-2 text-xl font-semibold text-gray-900">FicInterativa</span>
</a>
</div>
<div class="flex items-center">
<button id="theme-toggle" class="p-2 rounded-full hover:bg-gray-100">
<i data-feather="moon" class="h-5 w-5 text-gray-600"></i>
</button>
<a href="#" class="ml-4 px-4 py-2 rounded-md text-sm font-medium text-indigo-600 border border-indigo-600 hover:bg-indigo-600 hover:text-white">Entrar</a>
<a href="#" class="ml-2 px-4 py-2 rounded-md text-sm font-medium text-white bg-indigo-600 hover:bg-indigo-700">Cadastrar</a>
</div>
</div>
</div>
</nav>
<main class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
<div class="mb-8">
<h1 class="text-3xl font-bold text-gray-900 mb-4">Descubra Fanfics Interativas</h1>
<div class="flex flex-col md:flex-row gap-4">
<div class="relative flex-grow">
<input type="text" placeholder="Buscar por título, autor ou gênero..." class="w-full pl-10 pr-4 py-2 border border-gray-300 rounded-md focus:ring-indigo-500 focus:border-indigo-500">
<i data-feather="search" class="absolute left-3 top-2.5 h-5 w-5 text-gray-400"></i>
</div>
<div class="flex gap-2">
<select class="border border-gray-300 rounded-md px-3 py-2 focus:ring-indigo-500 focus:border-indigo-500">
<option>Todos os gêneros</option>
<option>Romance</option>
<option>Fantasia</option>
<option>Ficção Científica</option>
</select>
<select class="border border-gray-300 rounded-md px-3 py-2 focus:ring-indigo-500 focus:border-indigo-500">
<option>Qualquer status</option>
<option>Em andamento</option>
<option>Finalizada</option>
</select>
</div>
</div>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
<!-- Story Card 1 -->
<div class="story-card bg-white rounded-lg shadow-md overflow-hidden" data-aos="fade-up">
<img src="http://static.photos/fantasy/640x360/1" alt="Capa da história" class="w-full h-48 object-cover">
<div class="p-6">
<div class="flex justify-between items-start mb-2">
<span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-purple-100 text-purple-800">Fantasia</span>
<span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-green-100 text-green-800">
<i data-feather="check-circle" class="mr-1 h-3 w-3"></i> Finalizada
</span>
</div>
<h3 class="text-xl font-semibold text-gray-900 mb-2">O Reino Esquecido</h3>
<p class="text-gray-600 text-sm mb-4">12 caminhos possíveis • 2456 leituras</p>
<div class="flex items-center mb-4">
<div class="rating-stars">
<input type="radio" id="star5-1" name="rating-1" value="5" checked />
<label for="star5-1"></label>
<input type="radio" id="star4-1" name="rating-1" value="4" />
<label for="star4-1"></label>
<input type="radio" id="star3-1" name="rating-1" value="3" />
<label for="star3-1"></label>
<input type="radio" id="star2-1" name="rating-1" value="2" />
<label for="star2-1"></label>
<input type="radio" id="star1-1" name="rating-1" value="1" />
<label for="star1-1"></label>
</div>
<span class="ml-2 text-sm text-gray-500">(128 avaliações)</span>
</div>
<a href="leitura.html" class="w-full inline-flex justify-center items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-indigo-600 hover:bg-indigo-700">
<i data-feather="book-open" class="mr-2 h-4 w-4"></i> Ler História
</a>
</div>
</div>
<!-- Story Card 2 -->
<div class="story-card bg-white rounded-lg shadow-md overflow-hidden" data-aos="fade-up" data-aos-delay="100">
<img src="http://static.photos/romance/640x360/2" alt="Capa da história" class="w-full h-48 object-cover">
<div class="p-6">
<div class="flex justify-between items-start mb-2">
<span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-pink-100 text-pink-800">Romance</span>
<span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-yellow-100 text-yellow-800">
<i data-feather="clock" class="mr-1 h-3 w-3"></i> Em andamento
</span>
</div>
<h3 class="text-xl font-semibold text-gray-900 mb-2">Amor em Tempos Digitais</h3>
<p class="text-gray-600 text-sm mb-4">8 caminhos possíveis • 1872 leituras</p>
<div class="flex items-center mb-4">
<div class="rating-stars">
<input type="radio" id="star5-2" name="rating-2" value="5" />
<label for="star5-2"></label>
<input type="radio" id="star4-2" name="rating-2" value="4" checked />
<label for="star4-2"></label>
<input type="radio" id="star3-2" name="rating-2" value="3" />
<label for="star3-2"></label>
<input type="radio" id="star2-2" name="rating-2" value="2" />
<label for="star2-2"></label>
<input type="radio" id="star1-2" name="rating-2" value="1" />
<label for="star1-2"></label>
</div>
<span class="ml-2 text-sm text-gray-500">(96 avaliações)</span>
</div>
<a href="leitura.html" class="w-full inline-flex justify-center items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-indigo-600 hover:bg-indigo-700">
<i data-feather="book-open" class="mr-2 h-4 w-4"></i> Ler História
</a>
</div>
</div>
<!-- Story Card 3 -->
<div class="story-card bg-white rounded-lg shadow-md overflow-hidden" data-aos="fade-up" data-aos-delay="200">
<img src="http://static.photos/scifi/640x360/3" alt="Capa da história" class="w-full h-48 object-cover">
<div class="p-6">
<div class="flex justify-between items-start mb-2">
<span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-blue-100 text-blue-800">Ficção Científica</span>
<span class="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-green-100 text-green-800">
<i data-feather="check-circle" class="mr-1 h-3 w-3"></i> Finalizada
</span>
</div>
<h3 class="text-xl font-semibold text-gray-900 mb-2">Colônia Marte</h3>
<p class="text-gray-600 text-sm mb-4">15 caminhos possíveis • 3124 leituras</p>
<div class="flex items-center mb-4">
<div class="rating-stars">
<input type="radio" id="star5-3" name="rating-3" value="5" checked />
<label for="star5-3"></label>
<input type="radio" id="star4-3" name="rating-3" value="4" />
<label for="star4-3"></label>
<input type="radio" id="star3-3" name="rating-3" value="3" />
<label for="star3-3"></label>
<input type="radio" id="star2-3" name="rating-3" value="2" />
<label for="star2-3"></label>
<input type="radio" id="star1-3" name="rating-3" value="1" />
<label for="star1-3"></label>
</div>
<span class="ml-2 text-sm text-gray-500">(204 avaliações)</span>
</div>
<a href="leitura.html" class="w-full inline-flex justify-center items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-indigo-600 hover:bg-indigo-700">
<i data-feather="book-open" class="mr-2 h-4 w-4"></i> Ler História
</a>
</div>
</div>
</div>
<div class="mt-8 text-center">
<button class="inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50">
Carregar mais histórias
<i data-feather="arrow-down" class="ml-2 h-4 w-4"></i>
</button>
</div>
</main>
<footer class="bg-white mt-12 py-8 border-t border-gray-200">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div class="md:flex md:items-center md:justify-between">
<div class="flex justify-center md:order-2 space-x-6">
<a href="#" class="text-gray-400 hover:text-gray-500">
<i data-feather="facebook" class="h-6 w-6"></i>
</a>
<a href="#" class="text-gray-400 hover:text-gray-500">
<i data-feather="instagram" class="h-6 w-6"></i>
</a>
<a href="#" class="text-gray-400 hover:text-gray-500">
<i data-feather="twitter" class="h-6 w-6"></i>
</a>
</div>
<div class="mt-8 md:mt-0 md:order-1">
<p class="text-center text-base text-gray-400">&copy; 2023 FicInterativa. Todos os direitos reservados.</p>
</div>
</div>
</div>
</footer>
<script>
// Theme toggle functionality
const themeToggle = document.getElementById('theme-toggle');
const themeIcon = themeToggle.querySelector('i');
themeToggle.addEventListener('click', () => {
document.body.classList.toggle('dark-mode');
if (document.body.classList.contains('dark-mode')) {
themeIcon.setAttribute('data-feather', 'sun');
} else {
themeIcon.setAttribute('data-feather', 'moon');
}
feather.replace();
});
// Initialize AOS
AOS.init({
duration: 600,
once: true
});
// Initialize feather icons
feather.replace();
</script>
</body>
</html>