<aside> 💡

Para usar, basta copiar o conteúdo de código (botão Copiar no canto superior direito da caixa de código) e colar no arquivo correspondente.

</aside>

Componente HomePage

home-page.html

<div class="landing-container">
  <!-- Seção principal da landing page -->
  <div class="hero-section">
    <!-- Lado esquerdo - Imagem -->
    <div class="image-section">
      <div class="book-image">
        <img src="<https://images.unsplash.com/photo-1481627834876-b7833e8f5570?w=600&h=400&fit=crop&crop=center>" 
             alt="Estante de livros em biblioteca" 
             class="hero-image">
      </div>
    </div>
    
    <!-- Lado direito - Conteúdo -->
    <div class="content-section">
      <div class="hero-content">
        <h1 class="main-title">Gerencie sua Livraria</h1>
        <h2 class="subtitle">Sistema de Cadastro de Livros</h2>
        
        <p class="description">
          Bem-vindo ao nosso sistema de gerenciamento de livraria! 
          Aqui você pode cadastrar, organizar e gerenciar todos os livros 
          da sua coleção de forma simples e eficiente.
        </p>
        
        <div class="features">
          <div class="feature-item">
            <span class="feature-icon">📚</span>
            <span>Cadastro completo de livros</span>
          </div>
          <div class="feature-item">
            <span class="feature-icon">🔍</span>
            <span>Busca rápida e organizada</span>
          </div>
          <div class="feature-item">
            <span class="feature-icon">📊</span>
            <span>Controle de estoque</span>
          </div>
        </div>
        
        <button class="cta-button" (click)="navigateToLivrosPage()">
          Cadastrar Novo Livro
        </button>
      </div>
    </div>
  </div>
</div>

home-page.css

.landing-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.hero-section {
  display: flex;
  max-width: 1200px;
  width: 100%;
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  min-height: 600px;
}

.image-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
  padding: 40px;
}

.book-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.hero-image:hover {
  transform: scale(1.05);
}

.content-section {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 60px 50px;
}

.hero-content {
  width: 100%;
}

.main-title {
  font-size: 3rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 10px;
  line-height: 1.2;
}

.subtitle {
  font-size: 1.5rem;
  font-weight: 400;
  color: #667eea;
  margin-bottom: 30px;
}

.description {
  font-size: 1.1rem;
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 40px;
}

.features {
  margin-bottom: 40px;
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 1rem;
  color: #4a5568;
}

.feature-icon {
  font-size: 1.5rem;
  margin-right: 15px;
}

.cta-button {
  background: linear-gradient(45deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 18px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.cta-button:active {
  transform: translateY(0);
}

/* Responsividade para tablets */
@media (max-width: 768px) {
  .hero-section {
    flex-direction: column;
    max-width: 90%;
  }
  
  .image-section {
    min-height: 300px;
  }
  
  .content-section {
    padding: 40px 30px;
  }
  
  .main-title {
    font-size: 2.5rem;
  }
  
  .subtitle {
    font-size: 1.3rem;
  }
}

/* Responsividade para mobile */
@media (max-width: 480px) {
  .landing-container {
    padding: 10px;
  }
  
  .hero-section {
    margin: 10px;
    border-radius: 15px;
  }
  
  .content-section {
    padding: 30px 20px;
  }
  
  .main-title {
    font-size: 2rem;
  }
  
  .subtitle {
    font-size: 1.1rem;
  }
  
  .description {
    font-size: 1rem;
  }
  
  .cta-button {
    width: 100%;
    padding: 15px;
  }
}

Componente LivrosPage

livros-page.html