Finalinzado o projeto. Desafio - M3 Academy.

This commit is contained in:
JOÃO VITOR LIBERATO DE OLIVEIRA 2022-10-13 00:41:21 -03:00
parent d1174f763b
commit 219f792c55
5 changed files with 263 additions and 306 deletions

126
README.md
View File

@ -1,91 +1,43 @@
# challenge-landing-page
## Para clonar o projeto
```
git clone https://gitea.ecommercetools.com.br/JOAOVITOR_LIBERATO/challenge-landing-page.git
```
## Para rodar o projeto
Aconcelho utilizar o lite server, por ser mais otimizado. Mas caso estiver não gostar muito
pode instalar a extenssão do live serve.
### Instalação do lite server
```
npx lite-server
```
## Getting started
To make it easy for you to get started with GitLab, here's a list of recommended next steps.
Already a pro? Just edit this README.md and make it your own. Want to make it easy? [Use the template at the bottom](#editing-this-readme)!
## Add your files
- [ ] [Create](https://gitlab.com/-/experiment/new_project_readme_content:a980a0e1508cd91a06bf888abbfadab2?https://docs.gitlab.com/ee/user/project/repository/web_editor.html#create-a-file) or [upload](https://gitlab.com/-/experiment/new_project_readme_content:a980a0e1508cd91a06bf888abbfadab2?https://docs.gitlab.com/ee/user/project/repository/web_editor.html#upload-a-file) files
- [ ] [Add files using the command line](https://gitlab.com/-/experiment/new_project_readme_content:a980a0e1508cd91a06bf888abbfadab2?https://docs.gitlab.com/ee/gitlab-basics/add-file.html#add-a-file-using-the-command-line) or push an existing Git repository with the following command:
```
cd existing_repo
git remote add origin https://gitlab.com/m3-academy/fase-01/challenge-landing-page.git
git branch -M main
git push -uf origin main
```
## Integrate with your tools
- [ ] [Set up project integrations](https://gitlab.com/-/experiment/new_project_readme_content:a980a0e1508cd91a06bf888abbfadab2?https://docs.gitlab.com/ee/user/project/integrations/)
## Collaborate with your team
- [ ] [Invite team members and collaborators](https://gitlab.com/-/experiment/new_project_readme_content:a980a0e1508cd91a06bf888abbfadab2?https://docs.gitlab.com/ee/user/project/members/)
- [ ] [Create a new merge request](https://gitlab.com/-/experiment/new_project_readme_content:a980a0e1508cd91a06bf888abbfadab2?https://docs.gitlab.com/ee/user/project/merge_requests/creating_merge_requests.html)
- [ ] [Automatically close issues from merge requests](https://gitlab.com/-/experiment/new_project_readme_content:a980a0e1508cd91a06bf888abbfadab2?https://docs.gitlab.com/ee/user/project/issues/managing_issues.html#closing-issues-automatically)
- [ ] [Automatically merge when pipeline succeeds](https://gitlab.com/-/experiment/new_project_readme_content:a980a0e1508cd91a06bf888abbfadab2?https://docs.gitlab.com/ee/user/project/merge_requests/merge_when_pipeline_succeeds.html)
## Test and Deploy
Use the built-in continuous integration in GitLab.
- [ ] [Get started with GitLab CI/CD](https://gitlab.com/-/experiment/new_project_readme_content:a980a0e1508cd91a06bf888abbfadab2?https://docs.gitlab.com/ee/ci/quick_start/index.html)
- [ ] [Analyze your code for known vulnerabilities with Static Application Security Testing(SAST)](https://gitlab.com/-/experiment/new_project_readme_content:a980a0e1508cd91a06bf888abbfadab2?https://docs.gitlab.com/ee/user/application_security/sast/)
- [ ] [Deploy to Kubernetes, Amazon EC2, or Amazon ECS using Auto Deploy](https://gitlab.com/-/experiment/new_project_readme_content:a980a0e1508cd91a06bf888abbfadab2?https://docs.gitlab.com/ee/topics/autodevops/requirements.html)
- [ ] [Use pull-based deployments for improved Kubernetes management](https://gitlab.com/-/experiment/new_project_readme_content:a980a0e1508cd91a06bf888abbfadab2?https://docs.gitlab.com/ee/user/clusters/agent/)
***
# Editing this README
When you're ready to make this README your own, just edit this file and use the handy template below (or feel free to structure it however you want - this is just a starting point!). Thank you to [makeareadme.com](https://gitlab.com/-/experiment/new_project_readme_content:a980a0e1508cd91a06bf888abbfadab2?https://www.makeareadme.com/) for this template.
## Suggestions for a good README
Every project is different, so consider which of these sections apply to yours. The sections used in the template are suggestions for most open source projects. Also keep in mind that while a README can be too long and detailed, too long is better than too short. If you think your README is too long, consider utilizing another form of documentation rather than cutting out information.
## Name
Choose a self-explaining name for your project.
## Description
Let people know what your project can do specifically. Provide context and add a link to any reference visitors might be unfamiliar with. A list of Features or a Background subsection can also be added here. If there are alternatives to your project, this is a good place to list differentiating factors.
## Badges
On some READMEs, you may see small images that convey metadata, such as whether or not all the tests are passing for the project. You can use Shields to add some to your README. Many services also have instructions for adding a badge.
## Visuals
Depending on what you are making, it can be a good idea to include screenshots or even a video (you'll frequently see GIFs rather than actual videos). Tools like ttygif can help, but check out Asciinema for a more sophisticated method.
## Installation
Within a particular ecosystem, there may be a common way of installing things, such as using Yarn, NuGet, or Homebrew. However, consider the possibility that whoever is reading your README is a novice and would like more guidance. Listing specific steps helps remove ambiguity and gets people to using your project as quickly as possible. If it only runs in a specific context like a particular programming language version or operating system or has dependencies that have to be installed manually, also add a Requirements subsection.
## Usage
Use examples liberally, and show the expected output if you can. It's helpful to have inline the smallest example of usage that you can demonstrate, while providing links to more sophisticated examples if they are too long to reasonably include in the README.
## Support
Tell people where they can go to for help. It can be any combination of an issue tracker, a chat room, an email address, etc.
## Roadmap
If you have ideas for releases in the future, it is a good idea to list them in the README.
## Contributing
State if you are open to contributions and what your requirements are for accepting them.
For people who want to make changes to your project, it's helpful to have some documentation on how to get started. Perhaps there is a script that they should run or some environment variables that they need to set. Make these steps explicit. These instructions could also be useful to your future self.
You can also document commands to lint the code or run tests. These steps help to ensure high code quality and reduce the likelihood that the changes inadvertently break something. Having instructions for running tests is especially helpful if it requires external setup, such as starting a Selenium server for testing in a browser.
## Authors and acknowledgment
Show your appreciation to those who have contributed to the project.
## License
For open source projects, say how it is licensed.
## Project status
If you have run out of energy or time for your project, put a note at the top of the README saying that development has slowed down or stopped completely. Someone may choose to fork your project or volunteer to step in as a maintainer or owner, allowing your project to keep going. You can also make an explicit request for maintainers.
### Alguns pontos importantes
<ul>
<li>
<h3>Responsividade</h3>
<p>
Conseguir fazer que ela se adaptar a diversos tamanhos, porém o menor tamanho que eu conseguir foi 300px, de 0 até 299px o código começa a quebrar.
</p>
</li>
<li>
<h3>Estrutura de pastas</h3>
<p>
Dividi ao máximo para que os arquivos não ficasse muitos extensos,
por exemplo, Eu criei o header e o footer no globlal.css para poder reaproveitar caso ouvesse mais páginas e não ficar repitindo o mesmo códigos nos arquivos css posteriores.
</p>
<p>
As imagens e icones, estão em pastas diferentes.
</p>
<p>
O projeto foi feito no conceito do mobile first, onde desenvolvi toda parte mobile primeiro, e depois fui adaptando para telas maiores.
</p>
<p>
Os Breaking points estão estão em outro arquivo css, para questão de otimização e organização do código.
</p>
</li>
</ul>

View File

@ -0,0 +1,92 @@
@media(min-width: 600px){
.banner .banner__mobile{
display: none;
}
.banner .banner__desktop {
display: block;
width: 100%;
}
.informacoes__card {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-evenly;
flex-wrap: wrap;
padding: 80px 0 90px;
}
.informacoes__card .informacoes__card--dados:nth-child(1){
margin-top: 0;
}
.mais__informacoes {
display: flex;
flex-direction: column;
}
.mais__informacoes .mais__informacoes--texts p {
width: 550px;
}
.mais__informacoes img:nth-child(3) {
display: none;
}
.mais__informacoes img:nth-child(2) {
display: block;
padding: 0 100px 116px;
}
.images__notebook .images__notebook--container article img:nth-child(3){
flex: 1;
}
}
@media(min-width: 1024px){
.sobre .sobre__saibaMais {
display: flex;
flex-direction: row;
}
.images__notebook .images__notebook--container article {
display: flex;
justify-content: center;
align-items: center;
}
.images__notebook .images__notebook--container article img{
width: 100%;
max-width: 32.21%;
padding: 0 10px;
}
.informacoes__card {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
flex-wrap: wrap;
padding: 191px 72px 108px;
}
.informacoes__card .informacoes__card--dados {
padding: 44.11px 33px 65px;
margin: 10px 10px;
}
.informacoes__card .informacoes__card--dados p {
width: 367px;
}
.mais__informacoes img:nth-child(2) {
display: block;
padding: 0 280px 116px;
}
}

View File

@ -48,9 +48,9 @@ footer p {
text-transform: uppercase;
}
@media(min-width: 2000px){
@media(min-width: 1920px){
header .logo {
width: 500px;
height: 100%;
height: 200px;
}
}

View File

@ -76,22 +76,33 @@
padding: 10px 62px 30px;
}
/* .images__notebook {
width: 100%;
background-color: #E0E0E0;
.images__notebook {
background-color: #E0E0E0;
position: relative;
}
.images__notebook .images__notebook--container article {
display: flex;
justify-content: space-between;
align-items: center;
justify-content: center;
flex-wrap: wrap;
padding: 20px 25px;
}
.images__notebook .images__notebook--container article img {} */
.images__notebook .images__notebook--container article img:nth-child(1),
.images__notebook .images__notebook--container article img:nth-child(2){
width: 48%;
}
.images__notebook .images__notebook--container article img:nth-child(3){
display: flex;
flex: 1;
margin-top: 10px;
}
.images__notebook .images__notebook--container article img {
width: 100%;
}
.informacoes__card {
width: 100%;
@ -173,101 +184,4 @@
.mais__informacoes img:nth-child(2) {
display: none;
}
@media(min-width: 600px){
.banner .banner__mobile{
display: none;
}
.banner .banner__desktop {
display: block;
width: 100%;
}
.informacoes__card {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-evenly;
flex-wrap: wrap;
padding: 80px 0 90px;
}
.informacoes__card .informacoes__card--dados:nth-child(1){
margin-top: 0;
}
.mais__informacoes {
display: flex;
flex-direction: column;
}
.mais__informacoes .mais__informacoes--texts p {
width: 550px;
}
.mais__informacoes img:nth-child(3) {
display: none;
}
.mais__informacoes img:nth-child(2) {
display: block;
padding: 0 100px 116px;
}
}
@media(min-width: 1024px){
.sobre .sobre__saibaMais {
display: flex;
flex-direction: row;
}
.images__notebook .images__notebook--container article {
display: flex;
justify-content: center;
align-items: center;
}
.images__notebook .images__notebook--container article img{
width: 100%;
max-width: 32.21%;
padding: 0 10px;
}
/*Fazer o imagem notebook*/
.informacoes__card {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
flex-wrap: wrap;
padding: 191px 72px 108px;
}
.informacoes__card .informacoes__card--dados {
padding: 44.11px 33px 65px;
margin: 10px 10px;
}
.informacoes__card .informacoes__card--dados p {
width: 367px;
}
.mais__informacoes img:nth-child(2) {
display: block;
padding: 0 280px 116px;
}
}
}

View File

@ -1,124 +1,123 @@
<!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</title>
<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</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap"
rel="stylesheet">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap"
rel="stylesheet">
<link rel="stylesheet" href="./assets/css/global.css">
<link rel="stylesheet" href="./assets/css/index.css">
<link rel="stylesheet" href="./assets/css/global.css">
<link rel="stylesheet" href="./assets/css/index.css">
<link rel="stylesheet" href="./assets/css/breakingPoints.css">
</head>
</head>
<body>
<header>
<img class="logo" src="./assets/images/Logo-M3Academy.svg" alt="Logo M3 - learning page.">
</header>
<main>
<article class="banner">
<img src="./assets/images/fundoNote.svg" alt="Banner Desktop" class="banner__desktop" />
<img src="./assets/images/fundoNoteMobi.svg" alt="Banner Mobile" class="banner__mobile" />
</article>
<section class="sobre">
<article>
<div>
<span>LOREM IPSUM</span>
<h1>
dolor sit amet
</h1>
</div>
<p>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. </p>
<body>
<header>
<img class="logo" src="./assets/images/Logo-M3Academy.svg" alt="Logo M3 - learning page.">
</header>
<main>
<article class="banner">
<img src="./assets/images/fundoNote.svg" alt="Banner Desktop" class="banner__desktop" />
<img src="./assets/images/fundoNoteMobi.svg" alt="Banner Mobile" class="banner__mobile" />
</article>
<img class="sobre__imagemRedesComputador" src="./assets/icons/threenetworkedcomputers.svg"
alt="Imagens de computadores se conectando" />
<article class="sobre__saibaMais">
<article class="sobre__saibaMais--infos">
<img src="./assets/icons/shop.svg" alt="Icone do Shop.">
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.
</p>
</article>
<article class="sobre__saibaMais--infos">
<img src="./assets/icons/shopping-bag.svg" alt="Icone da socala.">
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.
</p>
</article>
<article class="sobre__saibaMais--infos">
<img src="./assets/icons/coin.svg" alt="Icone do Coin.">
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.
</p>
</article>
</section>
<article class="images__notebook">
<article class="images__notebook--container">
<section class="sobre">
<article>
<img src="./assets/images/noteImage1.svg" alt="Imagens do notebook" id="img1"/>
<img src="./assets/images/noteImage2.svg" alt="Imagens do notebook" id="img2"/>
<img src="./assets/images/noteImage3.svg" alt="Imagens do notebook" id="img3"/>
<div>
<span>LOREM IPSUM</span>
<h1>
dolor sit amet
</h1>
</div>
<p>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. </p>
</article>
</article>
</article>
<article class="informacoes__card">
<article class="informacoes__card--dados">
<img src="./assets/icons/money.svg" alt="Icone da cedula." />
<p>
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.
</p>
</article>
<article class="informacoes__card--dados">
<img src="./assets/icons/laptop.svg" alt="Icone do laptop." />
<p>
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.
</p>
</article>
<article class="informacoes__card--dados">
<img src="./assets/icons/coin.svg" alt="Icone da moeda." />
<p>
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.
</p>
</article>
<article class="informacoes__card--dados">
<img src="./assets/icons/GroupInfo.svg" alt="Icone de um celular recebendo uma aviso." />
<p>
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.
</p>
</article>
</article>
<article class="mais__informacoes">
<article class="mais__informacoes--texts">
<h2>Lorem ipsum dolor sit amet</h2>
<p>
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.
</p>
</article>
<img src="./assets/images/ultimoFundo.svg" alt="Banner de fundo embassado.">
<img src="./assets/images/oculos.svg" alt="Imagem do óculos para telas mobiles.">
</article>
</main>
<footer>
<article class="Icons-RedesSocias">
<img src="./assets/icons/Instagram.svg" alt="Icone do instagram">
<img src="./assets/icons/facebook.svg" alt="Icone do facebook">
<img src="./assets/icons/youtube.svg" alt="Icone do youtube">
</article>
<p>
Copyright &copy; 2020 - Loja Comércio Eletrônico CNPJ: 000.000.000/0001-00
</p>
</footer>
</body>
<img class="sobre__imagemRedesComputador" src="./assets/icons/threenetworkedcomputers.svg"
alt="Imagens de computadores se conectando" />
<article class="sobre__saibaMais">
<article class="sobre__saibaMais--infos">
<img src="./assets/icons/shop.svg" alt="Icone do Shop.">
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.
</p>
</article>
<article class="sobre__saibaMais--infos">
<img src="./assets/icons/shopping-bag.svg" alt="Icone da socala.">
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.
</p>
</article>
<article class="sobre__saibaMais--infos">
<img src="./assets/icons/coin.svg" alt="Icone do Coin.">
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum.
</p>
</article>
</section>
<article class="images__notebook">
<article class="images__notebook--container">
<article>
<img src="./assets/images/noteImage1.svg" alt="Imagens do notebook" id="img1"/>
<img src="./assets/images/noteImage2.svg" alt="Imagens do notebook" id="img2"/>
<img src="./assets/images/noteImage3.svg" alt="Imagens do notebook" id="img3"/>
</article>
</article>
</article>
<article class="informacoes__card">
<article class="informacoes__card--dados">
<img src="./assets/icons/money.svg" alt="Icone da cedula." />
<p>
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.
</p>
</article>
<article class="informacoes__card--dados">
<img src="./assets/icons/laptop.svg" alt="Icone do laptop." />
<p>
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.
</p>
</article>
<article class="informacoes__card--dados">
<img src="./assets/icons/coin.svg" alt="Icone da moeda." />
<p>
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.
</p>
</article>
<article class="informacoes__card--dados">
<img src="./assets/icons/GroupInfo.svg" alt="Icone de um celular recebendo uma aviso." />
<p>
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.
</p>
</article>
</article>
<article class="mais__informacoes">
<article class="mais__informacoes--texts">
<h2>Lorem ipsum dolor sit amet</h2>
<p>
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.
</p>
</article>
<img src="./assets/images/ultimoFundo.svg" alt="Banner de fundo embassado.">
<img src="./assets/images/oculos.svg" alt="Imagem do óculos para telas mobiles.">
</article>
</main>
<footer>
<article class="Icons-RedesSocias">
<img src="./assets/icons/Instagram.svg" alt="Icone do instagram">
<img src="./assets/icons/facebook.svg" alt="Icone do facebook">
<img src="./assets/icons/youtube.svg" alt="Icone do youtube">
</article>
<p>
Copyright &copy; 2020 - Loja Comércio Eletrônico CNPJ: 000.000.000/0001-00
</p>
</footer>
</body>
</html>