feat(home): cria header desktop e mobile

This commit is contained in:
Andrea Matsunaga 2022-10-12 12:44:40 -03:00
parent 89ee7124ac
commit 8eff34616a
5 changed files with 46 additions and 0 deletions

19
index.html Normal file
View File

@ -0,0 +1,19 @@
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Desafio M3 Academy</title>
<link rel="stylesheet" href="./src/styles/main.css">
</head>
<body>
<header class="page-header">
<a href="/">
<img class="header-logo" src="./src/assets/svg/m3-logo.svg" alt="Logo da M3">
</a>
</header>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 338 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 19 KiB

18
src/styles/main.css Normal file
View File

@ -0,0 +1,18 @@
/* ----- RESET ----- */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* ----- HEADER ----- */
.page-header {
display: flex;
justify-content: center;
background: #000000;
padding: 28px 0;
}
.header-logo {
display: block;
}