diff --git a/README.md b/README.md index 49e6b70..e45a8fe 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ -# challenge-landing-page - +# Desafio Landing Page +## Descrição do Projeto +

Utilizando HTML5 e CSS3 para criar uma landing page reponsiva.

## Getting started diff --git a/assets/image/Logo-M3Academy 1.svg b/assets/image/Logo-M3Academy 1.svg new file mode 100644 index 0000000..698965a --- /dev/null +++ b/assets/image/Logo-M3Academy 1.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/assets/image/bottom-banner-mobile.png b/assets/image/bottom-banner-mobile.png new file mode 100644 index 0000000..f4e55c5 Binary files /dev/null and b/assets/image/bottom-banner-mobile.png differ diff --git a/assets/image/bottom-banner.png b/assets/image/bottom-banner.png new file mode 100644 index 0000000..c4b49fc Binary files /dev/null and b/assets/image/bottom-banner.png differ diff --git a/assets/image/bottom-card-image1.svg b/assets/image/bottom-card-image1.svg new file mode 100644 index 0000000..1090b7b --- /dev/null +++ b/assets/image/bottom-card-image1.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/assets/image/bottom-card-image2.svg b/assets/image/bottom-card-image2.svg new file mode 100644 index 0000000..2d06e62 --- /dev/null +++ b/assets/image/bottom-card-image2.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/assets/image/bottom-card-image3.svg b/assets/image/bottom-card-image3.svg new file mode 100644 index 0000000..7d13645 --- /dev/null +++ b/assets/image/bottom-card-image3.svg @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/assets/image/bottom-card-image4.svg b/assets/image/bottom-card-image4.svg new file mode 100644 index 0000000..b5c95ab --- /dev/null +++ b/assets/image/bottom-card-image4.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/assets/image/icon-facebook.svg b/assets/image/icon-facebook.svg new file mode 100644 index 0000000..061ff85 --- /dev/null +++ b/assets/image/icon-facebook.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/image/icon-instagram.svg b/assets/image/icon-instagram.svg new file mode 100644 index 0000000..9221bab --- /dev/null +++ b/assets/image/icon-instagram.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/assets/image/icon-youtube.svg b/assets/image/icon-youtube.svg new file mode 100644 index 0000000..de6f9a7 --- /dev/null +++ b/assets/image/icon-youtube.svg @@ -0,0 +1,3 @@ + + + diff --git a/assets/image/main-banner-desktop.png b/assets/image/main-banner-desktop.png new file mode 100644 index 0000000..5d94877 Binary files /dev/null and b/assets/image/main-banner-desktop.png differ diff --git a/assets/image/main-banner-mobile.png b/assets/image/main-banner-mobile.png new file mode 100644 index 0000000..098a4dc Binary files /dev/null and b/assets/image/main-banner-mobile.png differ diff --git a/assets/image/middle-banner1.png b/assets/image/middle-banner1.png new file mode 100644 index 0000000..125d976 Binary files /dev/null and b/assets/image/middle-banner1.png differ diff --git a/assets/image/middle-banner2.png b/assets/image/middle-banner2.png new file mode 100644 index 0000000..6561eb0 Binary files /dev/null and b/assets/image/middle-banner2.png differ diff --git a/assets/image/middle-banner3.png b/assets/image/middle-banner3.png new file mode 100644 index 0000000..8eba01f Binary files /dev/null and b/assets/image/middle-banner3.png differ diff --git a/assets/image/top-cards-image01.svg b/assets/image/top-cards-image01.svg new file mode 100644 index 0000000..be82592 --- /dev/null +++ b/assets/image/top-cards-image01.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/assets/image/top-cards-image02.svg b/assets/image/top-cards-image02.svg new file mode 100644 index 0000000..d330029 --- /dev/null +++ b/assets/image/top-cards-image02.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/assets/image/top-cards-image03.svg b/assets/image/top-cards-image03.svg new file mode 100644 index 0000000..ea11a3d --- /dev/null +++ b/assets/image/top-cards-image03.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/assets/image/top-inforcard-image.png b/assets/image/top-inforcard-image.png new file mode 100644 index 0000000..82530bd Binary files /dev/null and b/assets/image/top-inforcard-image.png differ diff --git a/assets/styles/main.css b/assets/styles/main.css new file mode 100644 index 0000000..6af4c90 --- /dev/null +++ b/assets/styles/main.css @@ -0,0 +1,356 @@ +@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap'); + +* { + margin: 0; + padding: 0; + box-sizing: border-box; +} + +body { + font-family: 'Inter', sans-serif; + color: #000000; +} + +.page-header { + display: flex; + justify-content: center; + background-color: #000000; + + +} + .header-logo { + display: block; + padding: 28px 0; + max-width: 226px; + width: 100%; + } + + .main-banner { + width: 100%; +} + +.top-infocard{ + margin: 73px 0 180px; + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; + padding: 0 28px; +} + +.top-infocard-text { + display: flex; + align-items: center; + flex-direction: column; +} + +.top-infocard-subtitle { + font-weight: 400; + font-size: 32px; + line-height: 39px; + text-transform: uppercase; + +} + +.top-infocard-title { + font-weight: 500; + font-size: 48px; + text-transform: uppercase; +} + +.top-infocard-description { + font-weight: 400; + font-size: 16px; + line-height: 24px; + max-width: 766px; + padding: 28px 0 74px; +} + + +.top-cards { + display: grid; + grid-template-columns: repeat(3, 350px); + justify-content: center; + gap: 22px; +} + +.top-card { + background: #FFFFFF; + box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23); + padding-top: 26px; +} + +.top-card-image { + max-width: 102px; + display: block; + margin: 0 auto; + +} + +.top-card-description { + margin: 0 auto; + font-weight: 400; + font-size: 16px; + line-height: 24px; + text-align: center; + padding: 28px 26px 28px 26px; + max-width: 300px; +} + +.middle-banner { + display: flex; + margin-top: 80px; + background: #E0E0E0; + justify-content: center; + padding: 0 72px; + +} + +.middle-banner-image-wrapper { + display: flex; + gap: 40px; + justify-content: center; + position: relative; + top: 32px; +} + + +.middle-banner-image img { + max-width: 566px; + width: 100%; +} + +.bottom-cards { + padding-top: 130px; + display: grid; + grid-template-columns: repeat(4, max-content); + justify-content: center; + gap: 16px; +} + +.bottom-card { + background: #FFFFFF; + box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.23); + padding-top: 26px; +} + +.bottom-card-image { + max-width: 102px; + display: block; + margin: 0 auto; + +} + +.bottom-card-description { + margin: 0 auto; + font-weight: 400; + font-size: 16px; + line-height: 24px; + text-align: center; + padding: 28px 26px 28px 26px; + max-width: 300px; +} +.bottom-infocard { + margin-top: 108px; + padding: 32px; +} + +.bottom-infocard-title { + font-weight: 600; + font-size: 32px; + line-height: 39px; + text-align: center; +} + +.bottom-infocard-description { + font-weight: 400; + font-size: 16px; + line-height: 24px; + max-width: 550px; + text-align: center; + margin: 0 auto; + padding-bottom: 50px; +} + +.bottom-infocard-image { + display: flex; + justify-content: center; + width: 100%; + margin-bottom: 116px; +} + +.bottom-infocard-image img { + max-width: 1360px; + width: 100%; + margin: 0 280px; +} + +footer { + background-color: #000000; + display: flex; + align-items: center; + justify-content: center; + flex-direction: column; + padding: 38px 0; +} + +.footer-text{ + color: #BDBDBD; + font-weight: 400; + font-size: 10px; + line-height: 12px; + text-transform: uppercase; + padding-top: 17px; + text-align: center; +} + +.footer-icon { + display: flex; + column-gap: 16px; +} + +@media screen and (min-width:2499px) { + + .top-infocard-description { + font-size: 18px; + } + + .top-card-description { + font-size: 18px; + } + + .bottom-card-description { + font-size: 18px; + } + + .bottom-infocard-description{ + font-size: 18px; + } +} + +@media screen and (min-width: 769px) and (max-width: 1270px) { + .top-cards,.bottom-cards { + grid-template-columns: repeat(2, max-content); + } +} + +@media screen and (max-width: 768px) { + .top-infocard-subtitle { + font-size: 20px; + line-height: 24px; + } + + .top-infocard-title { + font-size: 28px; + } + + .top-infocard-description { + font-size: 16px; + text-align: center; + } + + .top-infocard-image img { + max-width: 240px; + width: 100%; + } + + .top-cards { + grid-template-columns: 1fr; + padding: 0 32px; + } + + .middle-banner { + padding: 0; + } + .middle-banner-image-wrapper { + display: grid; + grid-area: auto; + grid-template-columns: 1fr 1fr; + grid-template-rows: auto; + grid-template-areas: + "b a" + "c c"; + column-gap: 14px; + row-gap: 24px; + width: 90%; + margin: 0 32px; + } + + .middle-banner-image img { + max-width: unset; + } + + + .middle-banner-image.a { + grid-area: a; + width: 100%; + + } + + .middle-banner-image.b { + grid-area: b; + width: 100%; + + + } + + .middle-banner-image.c { + grid-area: c; + width: 100%; + + + } + + .bottom-cards { + grid-template-columns: 1fr; + padding: 0 32px; + margin-top: 190px; + } + + + .bottom-infocard-text { + padding: 0 32px; + } + + .bottom-infocard-title { + font-size: 24px; + } + + .bottom-image { + content: url('../image/bottom-banner-mobile.png'); + width: 100%; + } + + + .bottom-infocard { + display: flex; + flex-direction: column-reverse; + padding: 0; + } + + .bottom-infocard-image { + margin-bottom: 50px; + } + +} + +@media screen and (max-width: 415px) { + + .main-banner { + content: url('../image/main-banner-mobile.png'); + + } + .header-logo { + padding: 24px 0 33px; + } + + footer { + padding: 32px 18.35%; + } +} + +@media screen and (max-width: 290px) { + .top-infocard-title { + font-size: 26px; + } +} \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000..b96a1ca --- /dev/null +++ b/index.html @@ -0,0 +1,133 @@ + + + + + + + + + + Desafio Landing Page + + + + + + + + +
+
+ Banner exibindo imagem de um notebook com códigos de programação +
+ +
+
+

Lorem ipsum

+ +

dolor sit amet

+ +

+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. Curabitur ut tortor sed lacus egestas vulputate vel sit amet velit. Nulla suscipit magna dui. +

+
+ +
+ Figura representando conexão entre computadores +
+
+ +
+
+ Figura representando uma loja +
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. +
+
+ +
+ Figura representando uma sacola de compras +
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. +
+
+ +
+ Figura representando uma mão com uma moeda acima +
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. +
+
+
+ +
+
+
+ Imagem de um Laptop +
+ +
+ Imagem de um Laptop +
+
+ Imagem de um Laptop +
+
+
+ +
+
+ Figura representando uma nota +
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. +
+
+ +
+ Figura representando uma mão com uma moeda acima +
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. +
+
+ +
+ Figura representando um notebook +
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. +
+
+
+ Figura representando um celular +
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. +
+
+
+
+ +
+

Lorem ipsum dolor sit amet

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras vulputate sapien non libero faucibus interdum. In eget tincidunt ipsum. + Quisque a tellus at lectus blandit tempor. Ut tristique auctor mi eget hendrerit. Curabitur venenatis felis vitae sagittis venenatis. + Donec finibus turpis vitae lectus interdum rutrum vitae sed augue.

+
+
+ Imagem com telas com códigos de programação +
+
+ +
+ + + \ No newline at end of file