forked from platzi/curso-frontend-developer-practico
-
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
13 changed files
with
1,640 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,116 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<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"> | ||
<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=Quicksand:wght@300;500;700&display=swap" rel="stylesheet"> | ||
<title>Document</title> | ||
<style> | ||
:root { | ||
--white: #FFFFFF; | ||
--black: #000000; | ||
--very-light-pink: #C7C7C7; | ||
--text-input-field: #F7F7F7; | ||
--hospital-green: #ACD9B2; | ||
--sm: 14px; | ||
--md: 16px; | ||
--lg: 18px; | ||
} | ||
body { | ||
margin: 0; | ||
font-family: 'Quicksand', sans-serif; | ||
} | ||
.login { | ||
width: 100%; | ||
height: 100vh; | ||
display: grid; | ||
place-items: center; | ||
} | ||
.form-container { | ||
display: grid; | ||
grid-template-rows: auto 1fr auto; | ||
width: 300px; | ||
} | ||
.logo { | ||
width: 150px; | ||
margin-bottom: 48px; | ||
justify-self: center; | ||
display: none; | ||
} | ||
.title { | ||
font-size: var(--lg); | ||
margin-bottom: 12px; | ||
text-align: center; | ||
} | ||
.subtitle { | ||
color: var(--very-light-pink); | ||
font-size: var(--md); | ||
font-weight: 300; | ||
margin-top: 0; | ||
margin-bottom: 32px; | ||
text-align: center; | ||
} | ||
.form { | ||
display: flex; | ||
flex-direction: column; | ||
} | ||
.label { | ||
font-size: var(--sm); | ||
font-weight: bold; | ||
margin-bottom: 4px; | ||
} | ||
.input { | ||
background-color: var(--text-input-field); | ||
border: none; | ||
border-radius: 8px; | ||
height: 30px; | ||
font-size: var(--md); | ||
padding: 6px; | ||
margin-bottom: 12px; | ||
} | ||
.primary-button { | ||
background-color: var(--hospital-green); | ||
border-radius: 8px; | ||
border: none; | ||
color: var(--white); | ||
width: 100%; | ||
cursor: pointer; | ||
font-size: var(--md); | ||
font-weight: bold; | ||
height: 50px; | ||
} | ||
.login-button { | ||
margin-top: 14px; | ||
margin-bottom: 30px; | ||
} | ||
@media (max-width: 640px) { | ||
.logo { | ||
display: block; | ||
} | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<div class="login"> | ||
<div class="form-container"> | ||
<img src="./logos/logo_yard_sale.svg" alt="logo" class="logo"> | ||
|
||
<h1 class="title">Create a new password</h1> | ||
<p class="subtitle">Enter a new passwrd for yue account</p> | ||
|
||
<form action="/" class="form"> | ||
<label for="password" class="label">Password</label> | ||
<input type="password" id="password" placeholder="*********" class="input input-password"> | ||
|
||
<label for="new-password" class="label">Password</label> | ||
<input type="password" id="new-password" placeholder="*********" class="input input-password"> | ||
|
||
<input type="submit" value="Confirm" class="primary-button login-button"> | ||
</form> | ||
</div> | ||
</div> | ||
</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,115 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<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"> | ||
<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=Quicksand:wght@300;500;700&display=swap" rel="stylesheet"> | ||
<title>Document</title> | ||
<style> | ||
:root { | ||
--white: #FFFFFF; | ||
--black: #000000; | ||
--very-light-pink: #C7C7C7; | ||
--text-input-field: #F7F7F7; | ||
--hospital-green: #ACD9B2; | ||
--sm: 14px; | ||
--md: 16px; | ||
--lg: 18px; | ||
} | ||
body { | ||
margin: 0; | ||
font-family: 'Quicksand', sans-serif; | ||
} | ||
.my-order { | ||
width: 100%; | ||
height: 100vh; | ||
display: grid; | ||
place-items: center; | ||
} | ||
.title { | ||
font-size: var(--lg); | ||
margin-bottom: 40px; | ||
} | ||
.my-order-container { | ||
display: grid; | ||
grid-template-rows: auto 1fr auto; | ||
width: 300px; | ||
} | ||
.my-order-content { | ||
display: flex; | ||
flex-direction: column; | ||
} | ||
.order { | ||
display: grid; | ||
grid-template-columns: auto 1fr auto; | ||
gap: 16px; | ||
align-items: center; | ||
margin-bottom: 12px; | ||
} | ||
.order p:nth-child(1) { | ||
display: flex; | ||
flex-direction: column; | ||
} | ||
.order p span:nth-child(1) { | ||
font-size: var(--md); | ||
font-weight: bold; | ||
} | ||
.order p span:nth-child(2) { | ||
font-size: var(--sm); | ||
color: var(--very-light-pink); | ||
} | ||
.order p:nth-child(2) { | ||
text-align: end; | ||
font-weight: bold; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<div class="my-order"> | ||
<div class="my-order-container"> | ||
<h1 class="title">My orders</h1> | ||
|
||
<div class="my-order-content"> | ||
<div class="order"> | ||
<p> | ||
<span>03.25.21</span> | ||
<span>6 articles</span> | ||
</p> | ||
<p>$560.00</p> | ||
<img src="./icons/flechita.svg" alt="arrow"> | ||
</div> | ||
|
||
<div class="order"> | ||
<p> | ||
<span>03.25.21</span> | ||
<span>6 articles</span> | ||
</p> | ||
<p>$560.00</p> | ||
<img src="./icons/flechita.svg" alt="arrow"> | ||
</div> | ||
|
||
<div class="order"> | ||
<p> | ||
<span>03.25.21</span> | ||
<span>6 articles</span> | ||
</p> | ||
<p>$560.00</p> | ||
<img src="./icons/flechita.svg" alt="arrow"> | ||
</div> | ||
|
||
<div class="order"> | ||
<p> | ||
<span>03.25.21</span> | ||
<span>6 articles</span> | ||
</p> | ||
<p>$560.00</p> | ||
<img src="./icons/flechita.svg" alt="arrow"> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</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,138 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<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>Document</title> | ||
<style> | ||
:root { | ||
--white: #FFFFFF; | ||
--black: #000000; | ||
--very-light-pink: #C7C7C7; | ||
--text-input-field: #F7F7F7; | ||
--hospital-green: #ACD9B2; | ||
--sm: 14px; | ||
--md: 16px; | ||
--lg: 18px; | ||
} | ||
body { | ||
margin: 0; | ||
font-family: 'Quicksand', sans-serif; | ||
} | ||
nav { | ||
display: flex; | ||
justify-content: space-between; | ||
padding: 0 24px; | ||
border-bottom: 1px solid var(--very-light-pink); | ||
} | ||
.menu { | ||
display: none; | ||
} | ||
.logo { | ||
width: 100px; | ||
} | ||
.navbar-left ul, | ||
.navbar-right ul { | ||
list-style: none; | ||
padding: 0; | ||
margin: 0; | ||
display: flex; | ||
align-items: center; | ||
height: 60px; | ||
} | ||
.navbar-left { | ||
display: flex; | ||
} | ||
.navbar-left ul { | ||
margin-left: 12px; | ||
} | ||
.navbar-left ul li a, | ||
.navbar-right ul li a { | ||
text-decoration: none; | ||
color: var(--very-light-pink); | ||
border: 1px solid var(--white); | ||
padding: 8px; | ||
border-radius: 8px; | ||
} | ||
.navbar-left ul li a:hover, | ||
.navbar-right ul li a:hover { | ||
border: 1px solid var(--hospital-green); | ||
color: var(--hospital-green); | ||
} | ||
.navbar-email { | ||
color: var(--very-light-pink); | ||
font-size: var(--sm); | ||
margin-right: 12px; | ||
} | ||
.navbar-shopping-cart { | ||
position: relative; | ||
} | ||
.navbar-shopping-cart div { | ||
width: 16px; | ||
height: 16px; | ||
background-color: var(--hospital-green); | ||
border-radius: 50%; | ||
font-size: var(--sm); | ||
font-weight: bold; | ||
position: absolute; | ||
top: -6px; | ||
right: -3px; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
} | ||
@media (max-width: 640px) { | ||
.menu { | ||
display: block; | ||
} | ||
.navbar-left ul { | ||
display: none; | ||
} | ||
.navbar-email { | ||
display: none; | ||
} | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<nav> | ||
<img src="./icons/icon_menu.svg" alt="menu" class="menu"> | ||
|
||
<div class="navbar-left"> | ||
<img src="./logos/logo_yard_sale.svg" alt="logo" class="logo"> | ||
|
||
<ul> | ||
<li> | ||
<a href="/">All</a> | ||
</li> | ||
<li> | ||
<a href="/">Clothes</a> | ||
</li> | ||
<li> | ||
<a href="/">Electronics</a> | ||
</li> | ||
<li> | ||
<a href="/">Furnitures</a> | ||
</li> | ||
<li> | ||
<a href="/">Toys</a> | ||
</li> | ||
<li> | ||
<a href="/">Others</a> | ||
</li> | ||
</ul> | ||
</div> | ||
|
||
<div class="navbar-right"> | ||
<ul> | ||
<li class="navbar-email">[email protected]</li> | ||
<li class="navbar-shopping-cart"> | ||
<img src="./icons/icon_shopping_cart.svg" alt="shopping cart"> | ||
<div>2</div> | ||
</li> | ||
</ul> | ||
</div> | ||
</nav> | ||
</body> | ||
</html> |
Oops, something went wrong.