Browse Source

Anuncio no acabado

master
Cristobal Bernal Mayordomo 1 year ago
parent
commit
67306d0354
3 changed files with 35 additions and 0 deletions
  1. +17
    -0
      src/main/resources/static/css/css/Anuncio.css
  2. +15
    -0
      src/main/resources/templates/bienvenida/bienvenida.html
  3. +3
    -0
      src/main/resources/templates/index.html

+ 17
- 0
src/main/resources/static/css/css/Anuncio.css View File

@ -0,0 +1,17 @@
body{
box-sizing: border-box;
margin: 0px;
}
.contenedor{
display: flex;
background-color: blanchedalmond;
justify-content: center;
height: 100%;
}
.caja{
width: 300px;
height: 100px;
}
.caja1{
background-color: blanchedalmond;
}

+ 15
- 0
src/main/resources/templates/bienvenida/bienvenida.html View File

@ -0,0 +1,15 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>PaginaBienvenida</title>
<link rel="stylesheet" href="../../static/css/css/Anuncio.css">
</head>
<body>
<nav th:fragment="anuncio">
<div class="contenedor">
<div class="caja caja1">Caja1</div>
</div>
</nav>
</body>
</html>

+ 3
- 0
src/main/resources/templates/index.html View File

@ -5,10 +5,13 @@
<title>Foro</title> <title>Foro</title>
<link rel="icon" href="/css/img/7036beab6be979a346c98c7e2e686aee.png"> <link rel="icon" href="/css/img/7036beab6be979a346c98c7e2e686aee.png">
<link rel="stylesheet" th:href="@{/css/css/Estilos.css}"> <link rel="stylesheet" th:href="@{/css/css/Estilos.css}">
<link rel="stylesheet" th:href="@{/css/css/Anuncio.css}">
</head> </head>
<body> <body>
<header th:replace="header/nav :: mimenu"></header> <header th:replace="header/nav :: mimenu"></header>
<header th:replace="bienvenida/bienvenida :: anuncio"></header>
</body> </body>
</html> </html>

Loading…
Cancel
Save