-
-
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.
Signed-off-by: cbh778899 <[email protected]>
- Loading branch information
Showing
7 changed files
with
37 additions
and
57 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,21 +1,6 @@ | ||
export default function createAccountPage() { | ||
|
||
document.getElementById('main').innerHTML = ` | ||
<div class='account-page'> | ||
<div class='input-field'> | ||
<div class='title'>Username</div> | ||
<input type='text' id='account-input-username'> | ||
</div> | ||
<div class='input-field'> | ||
<div class='title'>Email</div> | ||
<input type='text' id='account-input-email'> | ||
</div> | ||
<div class='input-field'> | ||
<div class='title'>Password</div> | ||
<input type='text' id='account-input-password'> | ||
</div> | ||
<div class='submit-account-btn clickable'>Submit</div> | ||
</div>` | ||
import getSVG from "../../tools/svgs.js"; | ||
|
||
return null; | ||
export default function createAccountPage() { | ||
document.getElementById('user-avatar') | ||
.insertAdjacentHTML("afterbegin", getSVG('person-fill')) | ||
} |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import getSVG from "../tools/svgs.js"; | ||
|
||
export default function createUserPage() { | ||
document.getElementById('user-avatar') | ||
.insertAdjacentHTML("afterbegin", getSVG('person-fill')) | ||
} |
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,35 +1,7 @@ | ||
.account-page { | ||
width: fit-content; | ||
margin: auto; | ||
} | ||
|
||
.account-page .input-field { | ||
margin: 30px; | ||
} | ||
|
||
.account-page .input-field .title { | ||
font-size: 18px; | ||
margin-bottom: 10px; | ||
} | ||
|
||
.account-page .input-field input { | ||
width: 300px; | ||
height: 40px; | ||
border-radius: 7px; | ||
border: 1px solid gray; | ||
padding: 0px 20px; | ||
box-sizing: border-box; | ||
} | ||
|
||
.account-page .submit-account-btn { | ||
width: 200px; | ||
border: 1px solid; | ||
padding: 15px 20px; | ||
text-align: center; | ||
margin: auto; | ||
border-radius: 10px; | ||
margin-top: 50px; | ||
background-color: dodgerblue; | ||
color: white; | ||
font-size: 18px; | ||
#user-avatar svg { | ||
width: 110%; | ||
height: 110%; | ||
left: -5%; | ||
bottom: -5%; | ||
position: relative; | ||
} |
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