d / ebooks.html
DddDddDddr's picture
Crie uma aba só pra blogs - Initial Deployment
e043eee verified
Raw
History Blame Contribute Delete
15.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>E-books - LojaOnline</title>
<meta name="description" content="Descubra nossa coleção de e-books com milhares de títulos para todos os gostos">
<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=Inter:wght@300;400;500;600;700&display=swap');
body { font-family: 'Inter', sans-serif; }
.product-card:hover { transform: translateY(-5px); transition: all 0.3s ease; }
.filter-option:hover { background-color: #f3f4f6; }
</style>
</head>
<body class="bg-gray-50">
<!-- Header (mesmo do index) -->
<header class="bg-white shadow-md">
<div class="container mx-auto px-4">
<div class="flex items-center justify-between py-4">
<a href="index.html" class="text-2xl font-bold text-indigo-600">D.</a>
<div class="hidden md极速赛车开奖结果:flex space-x-8">
<a href="index.html" class="text-gray-700 hover:text-indigo-600">Início</a>
<a href="ebooks.html" class="text-indigo-600 font-semibold">E-books</a>
<a href="roupas.html" class="text-gray-700 hover:text-indigo-600">Roupas</a>
<a href="acessorios.html" class="text-gray-700 hover:text-indigo-600">Acessórios</a>
<a href="blog.html" class="text-gray-700 hover:text-indigo-600">Blog</a>
</div>
<div class="flex items-center space-x-4">
<div class="relative">
<input type="text" placeholder="Pesquisar..." class="border rounded-full py-2 px-4 w-full md:w-64">
<i data-feather="search" class="absolute right-3 top-2.5 text-gray-400"></i>
</div>
<a href="carrinho.html" class="relative">
<i data-feather="shopping-cart" class="text-gray-700"></i>
<span class="absolute -top-2 -right-2 bg-indigo-600 text-white rounded-full w-5 h-5 flex items-center justify-center text-xs">0</span>
</a>
<a href="minha-conta.html" class="hidden md:block">
<i data-feather="user" class="text-gray-700"></i>
</a>
<button class="md:hidden">
<i data-feather="menu" class="text-gray-700"></i>
</button>
</div>
</div>
</div>
</header>
<main class="container mx-auto px-4 py-8">
<div class="flex flex-col md:flex-row gap-8">
<!-- Filtros -->
<aside class="w-full md:w-64 bg-white p-6 rounded-lg shadow-md h-fit">
<h2 class="text-xl font-semibold mb-4">Filtrar</h2>
<div class="mb-6">
<h3 class="font-semibold mb-3">Gênero</h3>
<div class="space-y-2">
<label class="flex items-center filter-option p-2 rounded cursor-pointer">
<input type="checkbox" class="mr-2"> Ficção
</label>
<label class="flex items-center filter-option p-2 rounded cursor-pointer">
<input type="checkbox" class="mr-2"> Não-Ficção
</label>
<label class="flex items-center filter-option p-2 rounded cursor-pointer">
<input type="checkbox" class="mr-2"> Autoajuda
</label>
<label class="flex items-center filter-option p-2 rounded cursor-pointer">
<input type="checkbox" class="mr-2"> Negócios
</label>
</div>
</div>
<div class="mb-6">
<h3 class="font-semibold mb-3">Preço</h3>
<div class="space-y-2">
<label class="flex items-center filter-option p-2 rounded cursor-pointer">
<input type="radio" name="price" class="mr-2"> Até R$ 20
</label>
<label class="flex items-center filter-option p-2 rounded cursor-pointer">
<input type="radio" name="price" class="mr-2"> R$ 20 - R$ 50
</label>
<label class="flex items-center filter-option p-2 rounded cursor-pointer">
<input type="radio" name="price" class="mr-2"> Acima de R$ 50
</label>
</div>
</div>
<div class="mb-6">
<h3 class="font-semibold mb-3">Autor</h3>
<input type="text" placeholder="Buscar autor..." class="w-full border rounded px-3 py-2 mb-3">
<div class="space-y-2 max-h-40 overflow-y-auto">
<label class="flex items-center filter-option p-2 rounded cursor-pointer">
<input type="checkbox" class="mr-2"> Machado de Assis
</label>
<label class="flex items-center filter-option p-2 rounded cursor-pointer">
<input type="checkbox" class="mr-2"> Clarice Lispector
</label>
<label class="flex items-center filter-option p-2 rounded cursor-pointer">
<input type="checkbox" class="mr-2"> Jorge Amado
</label>
</div>
</div>
<button class="w-full bg-indigo-600 text-white py-2 rounded hover:bg-indigo-700">Aplicar Filtros</button>
</aside>
<!-- Lista de produtos -->
<div class="flex-1">
<div class="flex justify-between items-center mb-6">
<h1 class="text-2xl font-bold">E-books</h1>
<div class="flex items-center space-x-2">
<span class="text-gray-600">Ordenar por:</span>
<select class="border rounded px-3 py-2">
<option>Mais relevantes</option>
<option>Menor preço</option>
<option>Maior preço</option>
<option>Mais vendidos</option>
</select>
</div>
</div>
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6">
<!-- Produto 1 -->
<div class="bg-white rounded-lg shadow-md product-card" data-aos="fade-up">
<img src="http://static.photos/education/320x240/8" alt="E-book" class="w-full h-48 object-cover rounded-t-lg">
<div class="p-4">
<h3 class="font-semibold mb-2">Dom Casmurro</h3>
<p class="text-gray-600 text-sm mb-2">Machado de Assis</p>
<div class="flex items-center mb-2">
<div class="flex text-yellow-400">
<i data-feather="star" class="w-4 h-4 fill-current"></i>
<i data-feather="star" class="w-4 h-4 fill-current"></i>
<i data-feather="star" class="w-4 h-4 fill-current"></i>
<i data-feather="star" class="w-4 h-4 fill-current"></i>
<i data-feather="star" class="w-4 h-4"></i>
</div>
<span class="text-gray-500 text-sm ml-2">(128)</span>
</div>
<div class="flex items-center justify-between">
<span class="text-indigo-600 font-bold">R$ 19,90</span>
<button class="bg-indigo-600 text-white p-2 rounded-full hover:bg-indigo-700">
<i data-feather="shopping-cart" class="w-4 h-4"></i>
</button>
</div>
</div>
</div>
<!-- Produto 2 -->
<div class="bg-white rounded-lg shadow-md product-card" data-aos="fade-up" data-aos-delay="100">
<img src="http://static.photos/education/320x240/9" alt="E-book" class="w-full h-48 object-cover rounded-t-lg">
<div class="p-4">
<h3 class="font-semibold mb-2">A Moreninha</h3>
<p class="text-gray-600 text-sm mb-2">Joaquim Manuel de Macedo</p>
<div class="flex items-center mb-2">
<div class="flex text-yellow-400">
<i data-feather="star" class="w-4 h-4 fill-current"></i>
<i data-feather="star" class="w-4 h-4 fill-current"></i>
<i data-feather="star" class="w-4 h-4 fill-current"></i>
<i data-feather="star" class="w-4 h-4 fill-current"></i>
<i data-feather="star" class="w-4 h-4 fill-current"></i>
</div>
<span class="text-gray-500 text-sm ml-2">(95)</span>
</div>
<div class="flex items-center justify-between">
<span class="text-indigo-600 font-bold">R$ 14,90</span>
<button class="bg-indigo-600 text-white p-2 rounded-full hover:bg-indigo-700">
<i data-feather="shopping-cart" class="w-4 h-4"></i>
</button>
</div>
</div>
</div>
<!-- Produto 3 -->
<div class="bg-white rounded-lg shadow-md product-card" data-aos="fade-up" data-aos-delay="200">
<img src="http://static.photos/education/320x240/10" alt="E-book" class="w-full h-48 object-cover rounded-t-lg">
<div class="p-4">
<h3 class="font-semibold mb-2">O Cortiço</h3>
<p class="text-gray-600 text-sm mb-2">Aluísio Azevedo</p>
<div class="flex items-center mb-2">
<div class="flex text-yellow-400">
<i data-feather="star" class="w-4 h-4 fill-current"></i>
<i data-feather="star" class="w-4 h-4 fill-current"></i>
<i data-feather="star" class="w-4 h-4 fill-current"></i>
<i data-feather="star" class="w-4 h-4 fill-current"></i>
<i data-feather="star" class="w-4 h-4"></i>
</div>
<span class="text-gray-500 text-sm ml-2">(87)</span>
</div>
<div class="flex items-center justify-between">
<span class="text-indigo-600 font-bold">R$ 17,90</span>
<button class="bg-indigo-600 text-white p-2 rounded-full hover:bg-indigo-700">
<i data-feather="shhopping-cart" class="w-4 h-4"></i>
</button>
</div>
</div>
</div>
<!-- Mais produtos... -->
</div>
<!-- Paginação -->
<div class="flex justify-center mt-12">
<nav class="flex items-center space-x-2">
<button class="px-3 py-1 rounded border hover:bg-gray-100">Anterior</button>
<button class="px-3 py-1 rounded border bg-indigo-600 text-white">1</button>
<button class="px-3 py-1 rounded border hover:bg-gray-100">2</button>
<button class="px-3 py-1 rounded border hover:bg-gray-100">3</button>
<button class="px-3 py-1 rounded border hover:bg-gray-100">Próximo</button>
</nav>
</div>
</div>
</div>
</main>
<!-- Footer (mesmo do index) -->
<footer class="bg-gray-800 text-white py-12 mt-12">
<div class="container mx-auto px-4">
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
<div>
<h3 class="text-xl font-semibold mb-4">D.</h3>
<p class="text-gray-400">Sua loja virtual de confiança para e-books, roupas e acessórios.</p>
</div>
<div>
<h4 class="font-semibold mb-4">Categorias</h4>
<ul class="space-y-2">
<li><a href="ebooks.html" class="text-gray-400 hover:text-white">E-books</a></li>
<li><a href="roupas.html" class="text-gray-400 hover:text-white">Roupas</a></li>
<li><a href="acessorios.html" class="text-gray-400 hover:text-white">Acessórios</a></li>
</ul>
</div>
<div>
<h4 class="font-semibold mb-4">Suporte</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white">Central de Ajuda</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Política de Entregas</a></li>
<li><a href="#" class="text-gray-400 hover:text-white">Trocas e Devoluções</a></li>
</ul>
</div>
<div>
<h4 class="font-semibold mb-4">Contato</h4>
<div class="flex space-x-4 mb-4">
<a href="#" class="text-gray-400 hover:text-white"><i data-feather="facebook"></i></a>
<a href="#" class="text-gray-400 hover:text-white"><i data-feather="instagram"></i></a>
<a href="#" class="text-gray-400 hover:text-white"><i data-feather="twitter"></i></a>
</div>
<p class="text-gray-400">contato@lojaonline.com</p>
</div>
</div>
<div class="border-t border-gray-700 mt-8 pt-8 text-center text-gray-400">
<p>&copy; 2023 D. Todos os direitos reservados.</p>
</div>
</div>
</footer>
<script>
AOS.init();
feather.replace();
</script>
</body>
</html>