Skip to content

Commit

Permalink
add assets, home, menu and create account
Browse files Browse the repository at this point in the history
  • Loading branch information
himuraxkenji committed Mar 25, 2023
1 parent 47cd68d commit db53213
Show file tree
Hide file tree
Showing 7 changed files with 695 additions and 0 deletions.
Binary file added assets/retro-refrigerator.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/round-shelf.webp
Binary file not shown.
135 changes: 135 additions & 0 deletions create-account.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,135 @@
<!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>
<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&family=Roboto:wght@100&display=swap"
rel="stylesheet">
<link rel="stylesheet" href="style.css">
<style>
body {
margin: 0;
}

.login {
width: 100%;
height: 100vh;
display: grid;
place-items: center;
}

.form-container {
display: grid;
grid-template-rows: auto 1fr auto;
width: 300px;
}

.title {
font-size: var(--lg);
margin-bottom: 32px;
text-align: start;
}

.subtitle {
color: var(--very-light-pink);
font-size: var(--md);
font-weight: 300;
margin-top: 0;
margin-bottom: 30px;
text-align: center;
}

.form {
display: flex;
flex-direction: column;
}

.form div {
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;
}

.input-name,
.input-email,
.input-password {
margin-bottom: 22px;
}

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

.form-container {
height: 100%;
}

.form {
height: 100%;
justify-content: space-between;
}
}
</style>
</head>

<body>
<div class="login">
<div class="form-container">
<h1 class="title">My Account</h1>

<form action="/" class="form">
<div>
<label for="name" class="label">Name</label>
<input type="text" id="name" placeholder="Himura kenji" class="input input-name">

<label for="email" class="label">Email</label>
<input type="text" id="email" placeholder="[email protected]" class="input input-email">

<label for="email" class="label">Password</label>
<input type="password" id="email" placeholder="*********" class="input input-password">
</div>
<input type="submit" value="Create" class="primary-button login-button">
</form>
</div>
</div>
</body>

</html>
128 changes: 128 additions & 0 deletions edit-account.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
<!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>
<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&family=Roboto:wght@100&display=swap"
rel="stylesheet">
<link rel="stylesheet" href="style.css">
<style>
body {
margin: 0;
}

.login {
width: 100%;
height: 100vh;
display: grid;
place-items: center;
}

.form-container {
display: grid;
grid-template-rows: auto 1fr auto;
width: 300px;
}

.title {
font-size: var(--lg);
margin-bottom: 32px;
text-align: start;
}

.subtitle {
color: var(--very-light-pink);
font-size: var(--md);
font-weight: 300;
margin-top: 0;
margin-bottom: 30px;
text-align: center;
}

.form {
display: flex;
flex-direction: column;
}

.form div {
display: flex;
flex-direction: column;
}

.label {
font-size: var(--sm);
font-weight: bold;
margin-bottom: 4px;
}

.value {
color: var(--very-light-pink);
font-size: var(--md);
margin: 8px 0 32px 0;
}


.secondary-button {
background-color: var(--white);
border-radius: 8px;
border: solid 1px var(--hospital-green);
color: var(--hospital-green);
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;
}

.form-container {
height: 100%;
}

.form {
height: 100%;
justify-content: space-between;
}
}
</style>
</head>

<body>
<div class="login">
<div class="form-container">
<h1 class="title">My Account</h1>

<form action="/" class="form">
<div>
<label for="name" class="label">Name</label>
<p class="value">Himura kenji</p>

<label for="email" class="label">Email</label>
<p class="value">[email protected]</p>


<label for="email" class="label">Password</label>
<p class="value">*********</p>

</div>
<input type="submit" value="Edit" class="secondary-button login-button">
</form>
</div>
</div>
</body>

</html>
Loading

0 comments on commit db53213

Please sign in to comment.