Skip to content

Commit

Permalink
Merge pull request #67 from AkshatPandey-2004/main
Browse files Browse the repository at this point in the history
Added Login and SignUp Page
  • Loading branch information
MastanSayyad authored Jul 1, 2024
2 parents 4c63f50 + d4a7dc0 commit c9d0b53
Show file tree
Hide file tree
Showing 7 changed files with 462 additions and 0 deletions.
195 changes: 195 additions & 0 deletions css/login.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,195 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}

body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: black;
}

.container {
width: 100%;
height: 100%;
background: #fff;
display: flex;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
border-radius: 15px;
overflow: hidden;
}

.left-section, .right-section {
padding: 20px;
}

.left-section {
flex: 3;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background: black; /* Light Green */
text-align: center;
}

.animated-heading {
font-size: 50px;
font-weight: 600;
margin-bottom: 20px;
color: #9fd400; /* Yellow */
animation: fadeIn 2s ease-in-out;
}

.description {
font-size: 16px;
color: #89b601;
margin-bottom: 20px;
line-height: 1.5;
}

.login-form {
display: flex;
flex-direction: column;
gap: 20px;
width: 100%;
max-width: 300px;
margin-bottom: 20px;
}

.input-field {
padding: 12px 20px;
border: 2px solid #9fd400; /* Yellow */
border-radius: 90px;
font-size: 16px;
outline: none;
transition: border-color 0.3s;
}

.input-field:focus {
border-color: #89b601; /* Darker Yellow */
}

.submit-button {
background-color: #9fd400; /* Yellow */
border: none;
color: white;
padding: 12px 20px;
font-size: 16px;
cursor: pointer;
border-radius: 90px;
transition: background-color 0.3s, color 0.3s, transform 0.3s;
width: 100%;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.submit-button:hover {
background-color: #89b601; /* Darker Yellow */
transform: scale(1.05);
}


.right-section {
flex: 7;
display: flex;
justify-content: center;
align-items: center;
background: #f0f0f0;
position: relative;
overflow: hidden;
padding: 0;
}

.transition-image {
position: absolute;
width: 100%;
height: 100%;
object-fit: cover;
opacity: 0;
transition: opacity 1s ease-in-out;
}

.transition-image:first-child {
opacity: 1;
}

@keyframes fadeIn {
0% { opacity: 0; transform: translateY(-20px); }
100% { opacity: 1; transform: translateY(0); }
}

.blinking-cursor {
font-weight: 100;
font-size: 50px;
color: #9fd400; /* Yellow */
animation: blink 1s step-end infinite;
}

@keyframes blink {
from, to {
color: transparent;
}
50% {
color: #9fd400; /* Yellow */
}
}

.back-button {
position: absolute;
top: 20px;
left: 20px;
background-color: rgba(255, 255, 255, 0);
border: none;
color: white;
padding: 0px;
font-size: 16px;
cursor: pointer;
border-radius: 1%;
transition: background-color 0.3s, color 0.3s, transform 0.3s;
}

.back-button:hover {
transform: scale(1.25);
}
.already-signed-up {
font-size: 14px;
color: #9fd400;
margin-top: 20px;
display: flex;
flex-direction: row;
align-items: center;
text-decoration: none;
gap: 5px; /* Add some space between the text and the link */
}
a{
font-size: 14px;
color: #9fd400;
text-decoration: none;
display: inline-block;
}

/* .already-signed-up span {
margin-bottom: 10px;
font-weight: 600;
} */

/* .already-signed-up a {
color: #FFA500; /* Yellow */
/* text-decoration: none;
font-weight: 600;
background-color: #E0FFD8;
padding: 10px 20px;
border-radius: 20px;
transition: color 0.3s, background-color 0.3s;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
} */

/* .already-signed-up a:hover {
color: white;
background-color: #FFA500; /* Darker Yellow */


195 changes: 195 additions & 0 deletions css/signup.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,195 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}

body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background-color: black;
}

.container {
width: 100%;
height: 100%;
background: #fff;
display: flex;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
border-radius: 15px;
overflow: hidden;
}

.left-section, .right-section {
padding: 20px;
}

.left-section {
flex: 3;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background: black; /* Light Green */
text-align: center;
}

.animated-heading {
font-size: 50px;
font-weight: 600;
margin-bottom: 20px;
color: #9fd400; /* Yellow */
animation: fadeIn 2s ease-in-out;
}

.description {
font-size: 16px;
color: #89b601;
margin-bottom: 20px;
line-height: 1.5;
}

.login-form {
display: flex;
flex-direction: column;
gap: 20px;
width: 100%;
max-width: 300px;
margin-bottom: 20px;
}

.input-field {
padding: 12px 20px;
border: 2px solid #9fd400; /* Yellow */
border-radius: 90px;
font-size: 16px;
outline: none;
transition: border-color 0.3s;
}

.input-field:focus {
border-color: #89b601; /* Darker Yellow */
}

.submit-button {
background-color: #9fd400; /* Yellow */
border: none;
color: white;
padding: 12px 20px;
font-size: 16px;
cursor: pointer;
border-radius: 90px;
transition: background-color 0.3s, color 0.3s, transform 0.3s;
width: 100%;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.submit-button:hover {
background-color: #89b601; /* Darker Yellow */
transform: scale(1.05);
}


.right-section {
flex: 7;
display: flex;
justify-content: center;
align-items: center;
background: #f0f0f0;
position: relative;
overflow: hidden;
padding: 0;
}

.transition-image {
position: absolute;
width: 100%;
height: 100%;
object-fit: cover;
opacity: 0;
transition: opacity 1s ease-in-out;
}

.transition-image:first-child {
opacity: 1;
}

@keyframes fadeIn {
0% { opacity: 0; transform: translateY(-20px); }
100% { opacity: 1; transform: translateY(0); }
}

.blinking-cursor {
font-weight: 100;
font-size: 50px;
color: #9fd400; /* Yellow */
animation: blink 1s step-end infinite;
}

@keyframes blink {
from, to {
color: transparent;
}
50% {
color: #9fd400; /* Yellow */
}
}

.back-button {
position: absolute;
top: 20px;
left: 20px;
background-color: rgba(255, 255, 255, 0);
border: none;
color: white;
padding: 0px;
font-size: 16px;
cursor: pointer;
border-radius: 1%;
transition: background-color 0.3s, color 0.3s, transform 0.3s;
}

.back-button:hover {
transform: scale(1.25);
}
.already-signed-up {
font-size: 14px;
color: #9fd400;
margin-top: 20px;
display: flex;
flex-direction: row;
align-items: center;
text-decoration: none;
gap: 5px; /* Add some space between the text and the link */
}
a{
font-size: 14px;
color: #9fd400;
text-decoration: none;
display: inline-block;
}

/* .already-signed-up span {
margin-bottom: 10px;
font-weight: 600;
} */

/* .already-signed-up a {
color: #FFA500; /* Yellow */
/* text-decoration: none;
font-weight: 600;
background-color: #E0FFD8;
padding: 10px 20px;
border-radius: 20px;
transition: color 0.3s, background-color 0.3s;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
} */

/* .already-signed-up a:hover {
color: white;
background-color: #FFA500; /* Darker Yellow */


Binary file added images/back-button.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 images/login_image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit c9d0b53

Please sign in to comment.