Skip to content

Commit

Permalink
Working in the Log In
Browse files Browse the repository at this point in the history
  • Loading branch information
kevtorres23 committed May 27, 2024
1 parent c9881c5 commit 2a55049
Show file tree
Hide file tree
Showing 3 changed files with 91 additions and 2 deletions.
Binary file added views/images/astronaut-helmet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 18 additions & 2 deletions views/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,27 @@
<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=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap" rel="stylesheet">
<script src="controllers/homepage_functionality.js"></script>
<script src="https://unpkg.com/@phosphor-icons/web"></script>
<link rel="stylesheet" type="text/css" href="https://unpkg.com/@phosphor-icons/[email protected]/src/bold/style.css"/>
</head>
<body>

<section class="color-side">
<img src="images/astronaut-helmet.png" alt="" width="270px" height="270px">
<h1>Getting Ready</h1>
<h2>Live the Rocket’s experience. Easy to use.<br>Efficiency guaranteed.</h2>
</section>
<section class="login-side">
<div class="logo">
<img src="images/rocket-logo.png" alt="" width="35vw" height="35vw">
<span style="font-size: 2vw; margin-left: 10px;">Rocket</span>
</div>
<h1>Welcome back!</h1>
<form action="" class="login-form">
<p>Username</p><br>
<input type="text" id="username" class="login-input">
<p>Password</p><br>
<input type="text" id="username" class="login-input">
</form>
</section>
</body>
</html>
73 changes: 73 additions & 0 deletions views/login_styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
body{
margin: 0;
padding: 0;
display: flex;
font-family: 'DM Sans';
}

.color-side{
display: flex;
flex-direction: column;
width: 55%;
height: 100vh;
background-image: linear-gradient(to left, #D06CFF, #880AEA);
color: white;
align-items: center;
justify-content: center;
}

.color-side h1{
font-size: 3.5vw;
}

.color-side h2{
text-align: center;
margin-top: -30px;
font-size: 1.3vw;
font-weight: 400;
}

.logo{
width: auto;
font-size: 20px;
font-weight: 600;
display: flex;
}

.login-side{
display: flex;
flex-direction: column;
width: 45%;
height: 100vh;
background-color: white;
color: black;
align-items: center;
justify-content: center;
}

.login-side h1{
margin-top: 10vh;
font-size: 1.5vw;
font-weight: 500;
}

.login-side p{
margin-bottom: -15px;
font-size: 1vw;
color: #666666;
}

.login-input{
width: 25vw;
border-radius: 20px;
height: 2vw;
border: 1.5px solid #AFAFAF;
padding-left: 1.5vw;
outline: none;
font-family: 'DM Sans';
margin-bottom: 1vw;
}

.login-form{
align-items: center;
}

0 comments on commit 2a55049

Please sign in to comment.