Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

front end login page #18

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
84 changes: 84 additions & 0 deletions public/dupli-index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
<!DOCTYPE html>
<html>

<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>LinkdIn</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"
integrity="sha512-iecdLmaskl7CVkqkXNQ/ZH/XLlvWZOJyj7Yy7tcenmpD1ypASozpmT/E0iPtmFIB46ZmdtAc9eNBvH0H/ZpiBw=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<link href="style.css" rel="stylesheet" type="text/css" />

</head>

<body>

<header>
<div class="contaier">
<div class="logo">
<img class="logo1" src="Linkedin-Logo-700x394.png" />
</div>
</div>
</header>
<div class="card-input">
<h1 class="in">Sign In</h1>
<!-- <h1 class="in"> Sign In</h1> -->
<p class='txt'>
Stay updated on your professional world</p>

<div class="input-field">
<input class="username" type="email" id="username" required>

<label for="username">Email </label>

</div>
<p class="gap">
hello world
</p>
<div class="input-field">
<input class="passkey" id="passkey" type="Password" required>
<label for="passkey">Password</label>
</div>
<a class="text" onclick="myFunction()" > Forgot Password?</a><br>
<button class="btn" type="submit"><Span> Sign In</Span></button>
<div class="line">
<div class="hr1">
<hr class="new1">
</div>
<p class="or">or</p>
<hr class="new1">
</div>
<button class="btn1"><Span><i class="fa-brands fa-google"></i> Sign In with Google</Span></button>
<button class="btn1"><Span> <i class="fa-brands fa-apple"></i> Sign In with Apple</Span></button>
</div>
</div>
<footer>
<div class="end">
<div class="join">
New to LinkedIn?
<span class="now"><a class="now1" href="/"> Join now</a></span>
</div>
</div>
</footer>



<!-- <script src="script.js"></script> -->
<script>
function myFunction() {
alert("This method is currently unavailabe! Please try again later.")
}
</script>



<!--
This script places a badge on your repl's full-browser view back to your repl's cover
page. Try various colors for the theme: dark, light, red, orange, yellow, lime, green,
teal, blue, blurple, magenta, pink!
-->
<!-- <script src="https://replit.com/public/js/replit-badge-v2.js" theme="dark" position="bottom-right"></script> -->
</body>

</html>
188 changes: 188 additions & 0 deletions public/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,188 @@

body{
margin: 0;
padding: 0;
box-sizing: border-box;
height: 100%;
width: 100%;
font-family: sans-serif, helvatica, arial;
}
.logo{
width: 100px;
height: 100px;
}
.logo1{
width: 100px;
margin-left:50px;
}
.card-input{
width:350px;
display: flex;
flex-direction: column;
justify-content: center;
margin: auto;
padding:24px;
border-radius: 8px;
box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}
.in{
margin-top:0px;
}

input{

width:100%;
}
.username{
font-size:1.4rem;
padding: 10px;
border-radius:20px gray;
height:1.9rem;
width:100%;


}
.input-field{
position:relative;
width:300px;
height:44px;
line-height: 44px;

}
label{
position:absolute;
top:0;
left:4px;
width:100%;

}
.username:invalid{
outline:0;
/* border-color: #ff2300; */

}
.username:focus,
.username:valid{
border-color:#0a66c2;

}
.username:focus~label,
.username:valid:valid~label {
font-size: 14px;
top: -13px;
color:#0a66c2;
border-color:#0a66c2;
}

.passkey{
font-size: 1.4rem;
border-radius: 9px gray;
height: 1.9rem;
padding: 10px;
width:100%;

}
.passkey:invalid{
outline:0;
/* border-color: #ff2300; */

}
.passkey:focus,
.passkey:valid{
border-color:#0a66c2;

}
.passkey:focus~label,
.passkey:valid:valid~label {
font-size: 14px;
top: -13px;
left:5px;
color:#0a66c2;
border-color: #0a66c2;
}
.btn{
background-color:#0a66c2;
color:white;

height: 35px;
font-size:1rem;
border:none;
border-radius: 20px;
border-bottom: none;
}
.text{
padding:8px 8px;
margin-top:18px;
color:#0a66c2;
width:max-content;
border-radius: 30px;

}
.text:hover{
text-decoration:underline;
background-color:#add8ff;
}
.txt{
margin-top: -22px;
font-size: 0.9rem;
}
.line{
background-color:#fff;
color:#d2d3d4;
height:50px;
/* border-top:0.5px solid #d2d3d5; */
display: flex;
justify-content: center;
align-items: center;
padding:10px;
}
hr.new1{
border-top:0.5px solid#d2d3d4;
width:9.9rem;
}
.btn1{
background-color: #fff;
font-size:1rem;
height:1.8rem;
margin:10px;
border-radius: 20px;
padding:20px;
display: flex;
justify-content: center;
align-items: center;
font-weight: 400;
}
.btn1:hover{
box-shadow: 8px 8px;
}
}
.end{
margin-top: 10px;
font-weight: 200;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
text-align: center;
}
.now{
color:#0a66c2;

}
.now1{
text-decoration: none;
color:#0a66c2;
}
.gap{
color:white;
font-size: 0.6rem;
}
/* .or{
color:gry
} */
.join{
margin-top: 20px;
text-align: center;
text-decoration: none;

}