<!DOCTYPE html>
<html lang="pt-br">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Menu Lateral</title>
  <!-- Adicionando Bootstrap CSS -->
  <link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
  <!-- Adicionando CSS personalizado -->
  <style>
    body {
      background-color: #f8f9fa;
    }
    .sidebar {
      position: fixed;
      top: 0;
      left: 0;
      height: 100%;
      width: 250px;
      padding-top: 60px; /* Altura do cabeçalho */
      background-color: blue; /* Alterando a cor da barra lateral para azul */
    }
    .sidebar a {
      padding: 10px 15px;
      display: block;
      color: #fff;
      text-decoration: none;
    }
    .sidebar a:hover {
      background-color: #495057; /* Cor de fundo ao passar o mouse */
    }
    .content {
      margin-left: 250px; /* Largura da barra lateral */
      padding: 20px; /* Espaçamento interno */
    }
  </style>
</head>
<body>

<!-- Barra lateral -->
<div class="sidebar">
  <a href="#" onclick="carregarConteudo('tipo.php')">Tipo de banner</a>
  <a href="#" onclick="carregarConteudo('banner.php')">Seu banner</a>
  <a href="#" onclick="carregarConteudo('load.php')">Carregar vídeo</a>
  <a href="#" onclick="carregarConteudo('site.php')">Pagina web.</a>
</div>

<!-- Conteúdo da página -->
<div class="content" id="conteudo">
</div>

<!-- Adicionando Bootstrap JS e jQuery -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.bundle.min.js"></script>

<!-- Script para carregar conteúdo dinamicamente -->
<script>
  function carregarConteudo(url) {
    $.ajax({
      url: url,
      success: function(data) {
        $('.content').html(data);
      }
    });
  }
</script>

</body>
</html>
