forked from M3-Academy/practice-time-landing-page
feat(main): Adiciona o Banner Principal Desktop
This commit is contained in:
parent
d1dd769336
commit
5a59883f67
BIN
assets/images/main-banner-desktop.png
Normal file
BIN
assets/images/main-banner-desktop.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 MiB |
BIN
assets/images/main-banner-mobile.png
Normal file
BIN
assets/images/main-banner-mobile.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 332 KiB |
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 37 KiB |
15
index.html
15
index.html
@ -8,14 +8,23 @@
|
|||||||
|
|
||||||
<title>M3 Landing Page</title>
|
<title>M3 Landing Page</title>
|
||||||
|
|
||||||
<link rel="stylesheet" href="./assets/styles/main.css" />
|
<link rel="stylesheet" href="./styles/main.css" />
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<header class="page-header">
|
<header class="page-header">
|
||||||
<a href="./index.html">
|
<a href="./">
|
||||||
<img class="header-logo" src="./assets/images/m3-logo.svg" alt="Logo M3" />
|
<img class="header-logo" src="./assets/svg/m3-logo.svg" alt="Logo M3" />
|
||||||
</a>
|
</a>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
<main>
|
||||||
|
<div class="main-banner">
|
||||||
|
<Figure class="main-banner-desktop">
|
||||||
|
<img src="assets/images/main-banner-desktop.png" alt="Banner Principal Desktop" />
|
||||||
|
</Figure>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
@ -4,6 +4,7 @@
|
|||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Cabeçalho */
|
||||||
.page-header {
|
.page-header {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
@ -14,3 +15,7 @@
|
|||||||
.header-logo {
|
.header-logo {
|
||||||
display: block
|
display: block
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.main-banner {
|
||||||
|
width: 100%;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user