From 219f792c55225e0d92f47f3c786117f4d43078dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Vitor=20Liberato?= Date: Thu, 13 Oct 2022 00:41:21 -0300 Subject: [PATCH] Finalinzado o projeto. Desafio - M3 Academy. --- README.md | 126 ++++++------------- assets/css/breakingPoints.css | 92 ++++++++++++++ assets/css/global.css | 4 +- assets/css/index.css | 124 +++---------------- index.html | 223 +++++++++++++++++----------------- 5 files changed, 263 insertions(+), 306 deletions(-) create mode 100644 assets/css/breakingPoints.css diff --git a/README.md b/README.md index 49e6b70..a0895d7 100644 --- a/README.md +++ b/README.md @@ -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 + + diff --git a/assets/css/breakingPoints.css b/assets/css/breakingPoints.css new file mode 100644 index 0000000..92a3579 --- /dev/null +++ b/assets/css/breakingPoints.css @@ -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; + } + +} \ No newline at end of file diff --git a/assets/css/global.css b/assets/css/global.css index b5d7c92..52ff9d3 100644 --- a/assets/css/global.css +++ b/assets/css/global.css @@ -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; } } diff --git a/assets/css/index.css b/assets/css/index.css index 89701da..b13cabf 100644 --- a/assets/css/index.css +++ b/assets/css/index.css @@ -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; - } - -} - - +} \ No newline at end of file diff --git a/index.html b/index.html index d708fab..42209d4 100644 --- a/index.html +++ b/index.html @@ -1,124 +1,123 @@ - - - - - Desafio M3 + + + + + Desafio M3 - - - + + + - - + + + + - - - -
- -
-
- -
-
-
- 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.

+ +
+ +
+
+ - Imagens de computadores se conectando - -
-
- Icone do Shop. -

- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. -

-
-
- Icone da socala. -

- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. -

-
-
- Icone do Coin. -

- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. -

-
-
-
-
+
- Imagens do notebook - Imagens do notebook - Imagens do notebook +
+ 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.

-
-
-
-
- Icone da cedula. -

- 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. -

-
-
- Icone do laptop. -

- 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. -

-
-
- Icone da moeda. -

- 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. -

-
-
- Icone de um celular recebendo uma aviso. -

- 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. -

-
- Banner de fundo embassado. - Imagem do óculos para telas mobiles. -
-
- - + Imagens de computadores se conectando +
+
+ Icone do Shop. +

+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. +

+
+
+ Icone da socala. +

+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. +

+
+
+ Icone do Coin. +

+ Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras euismod enim non dui fringilla interdum. +

+
+ +
+
+
+ Imagens do notebook + Imagens do notebook + Imagens do notebook +
+
+
+
+
+ Icone da cedula. +

+ 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. +

+
+
+ Icone do laptop. +

+ 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. +

+
+
+ Icone da moeda. +

+ 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. +

+
+
+ Icone de um celular recebendo uma aviso. +

+ 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. +

+
+ Banner de fundo embassado. + Imagem do óculos para telas mobiles. +
+ + + \ No newline at end of file