-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
137 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<!DOCTYPE html> | ||
|
||
<html lang="pt-br"> | ||
|
||
<head> | ||
|
@@ -12,25 +13,32 @@ | |
|
||
<link rel="stylesheet" href="src/css/reset.css"> | ||
<link rel="stylesheet" href="src/css/styles.css"> | ||
<link rel="stylesheet" href="src/css/responsive.css"> | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/devicons/[email protected]/devicon.min.css"> | ||
</head> | ||
|
||
<body> | ||
|
||
<main> | ||
|
||
<i class="devicon-github-original"></i> | ||
|
||
<section class="container"> | ||
|
||
<header> | ||
<h2>Buscar Usuário</h2> | ||
<input type="text" id="input-search" placeholder="Digite o nome do usuário no GitHub"> | ||
<input type="button" value="Buscar" id="btn-search"> | ||
</header> | ||
|
||
<div class="profile-data"></div> | ||
|
||
</section> | ||
|
||
</main> | ||
|
||
<script type="module" src="src/scripts/index.js"></script> | ||
|
||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
@media (max-width: 1280px) { | ||
.container { | ||
flex-direction: column; | ||
width: 90%; | ||
border-radius: 20px; | ||
} | ||
|
||
.container header { | ||
width: 100%; | ||
} | ||
|
||
.container header h1 { | ||
font-size: 24px; | ||
text-align: center; | ||
} | ||
} | ||
|
||
@media (max-width: 768px) { | ||
.container header #input-search, | ||
.container header #btn-search | ||
{ | ||
width: 100%; | ||
} | ||
} | ||
|
||
@media (max-width: 425px) { | ||
main { | ||
padding: 15% 0; | ||
} | ||
|
||
.container .profile-data .info img{ | ||
margin-bottom: 20px; | ||
} | ||
|
||
.container .profile-data .info img, | ||
.container .profile-data .info .data | ||
{ | ||
width: 100%; | ||
padding: 0; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
// OBJETO PARA AJUNTAR TODAS PROPRIEDADES DO USUÁRIO | ||
|
||
const user = { | ||
avatarUrl: '', | ||
name: '', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
const baseUrl = "https://api.github.com/users"; | ||
const repositoriesQuantity = 10; | ||
const eventsQuantity = 15; | ||
const repositoriesQuantity = 16; | ||
const eventsQuantity = 16; | ||
|
||
export {baseUrl, repositoriesQuantity, eventsQuantity}; |