7 Commits

Author SHA1 Message Date
391769b785 gitignore changes 2025-08-23 13:01:25 +05:30
d9b46c9f1e Changed login form name 2025-08-23 07:23:56 +00:00
d13afdb97a Changed padding length and Welcome message 2025-08-23 12:47:15 +05:30
181b52f692 changed container width 2025-08-21 06:47:54 +00:00
c2d5405fb6 changed margin length 2025-08-21 06:43:54 +00:00
a9a9732243 changed margin 2025-08-16 10:50:20 +05:30
Dhanush
2506ae50ff feat: add animated login page 2025-08-16 10:46:59 +05:30
3 changed files with 181 additions and 242 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.env

180
login.html Normal file
View File

@@ -0,0 +1,180 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Git Training Hub - SIgnIn</title>
<style>
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');
* {
margin: 2;
padding: 10;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
body {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background: linear-gradient(45deg, #2196f3, #e91e63);
overflow: hidden;
}
.container {
position: relative;
width: 404px;
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
border-radius: 20px;
padding: 40px;
box-shadow: 0 25px 45px rgba(0, 0, 0, 0.1);
border: 1px solid rgba(255, 255, 255, 0.2);
animation: fadeIn 1s ease-in-out;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(-20px); }
to { opacity: 1; transform: translateY(0); }
}
h1 {
color: #fff;
text-align: center;
margin-bottom: 40px;
font-size: 2em;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
position: relative;
animation: titleGlow 2s infinite alternate;
}
@keyframes titleGlow {
from { text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #2196f3; }
to { text-shadow: 0 0 20px #fff, 0 0 30px #e91e63, 0 0 40px #e91e63; }
}
.input-group {
position: relative;
margin-bottom: 30px;
}
.input-group input {
width: 100%;
padding: 15px 20px;
background: rgba(255, 255, 255, 0.2);
border: none;
outline: none;
border-radius: 30px;
font-size: 16px;
color: #fff;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
transition: 0.3s;
}
.input-group input:focus {
background: rgba(255, 255, 255, 0.3);
transform: translateY(-2px);
}
.input-group input::placeholder {
color: rgba(255, 255, 255, 0.7);
}
.btn {
width: 100%;
padding: 15px;
background: linear-gradient(45deg, #2196f3, #e91e63);
border: none;
border-radius: 30px;
color: white;
font-size: 16px;
font-weight: 600;
cursor: pointer;
transition: 0.3s;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
.btn:hover {
transform: translateY(-3px);
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.forgot-password {
text-align: center;
margin-top: 20px;
}
.forgot-password a {
color: rgba(255, 255, 255, 0.8);
text-decoration: none;
font-size: 14px;
transition: 0.3s;
}
.forgot-password a:hover {
color: #fff;
text-decoration: underline;
}
.shape {
position: absolute;
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(5px);
border-radius: 50%;
z-index: -1;
animation: float 15s ease-in-out infinite;
}
.shape1 {
width: 100px;
height: 100px;
top: 20%;
left: 15%;
}
.shape2 {
width: 150px;
height: 150px;
bottom: 15%;
right: 15%;
animation-delay: 5s;
}
.shape3 {
width: 70px;
height: 70px;
top: 60%;
left: 25%;
animation-delay: 10s;
}
@keyframes float {
0%, 100% { transform: translateY(0) rotate(0deg); }
50% { transform: translateY(-20px) rotate(10deg); }
}
</style>
</head>
<body>
<div class="shape shape1"></div>
<div class="shape shape2"></div>
<div class="shape shape3"></div>
<div class="container">
<h1>Welcome to Git Training Hub !!</h1>
<form>
<div class="input-group">
<input type="text" placeholder="Username" required>
</div>
<div class="input-group">
<input type="password" placeholder="Password" required>
</div>
<button type="submit" class="btn">Login</button>
<div class="forgot-password">
<a href="#">Forgot Password?</a>
</div>
</form>
</div>
</body>
</html>

View File

@@ -1,242 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Welcome to Git Training Hub</title>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap" rel="stylesheet">
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
body {
background: linear-gradient(135deg, #1a1a2e, #16213e);
min-height: 100vh;
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
position: relative;
}
.container {
text-align: center;
color: white;
z-index: 1;
padding: 2rem;
max-width: 900px;
animation: fadeIn 1.5s ease-out;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
h1 {
font-size: 4rem;
margin-bottom: 1.5rem;
background: linear-gradient(45deg, #00dbde, #fc00ff);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
animation: glow 2s ease-in-out infinite alternate;
}
@keyframes glow {
from { text-shadow: 0 0 10px rgba(0, 219, 222, 0.5), 0 0 20px rgba(252, 0, 255, 0.3); }
to { text-shadow: 0 0 20px rgba(0, 219, 222, 0.8), 0 0 30px rgba(252, 0, 255, 0.6); }
}
.subtitle {
font-size: 1.5rem;
margin-bottom: 2rem;
color: #a1a1a1;
animation: slideUp 1s ease-out 0.3s both;
}
.cta-button {
display: inline-block;
padding: 1rem 2.5rem;
background: linear-gradient(45deg, #00dbde, #fc00ff);
color: white;
text-decoration: none;
border-radius: 50px;
font-weight: 600;
font-size: 1.2rem;
margin-top: 2rem;
transition: all 0.3s ease;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
animation: pulse 2s infinite;
border: none;
cursor: pointer;
}
.cta-button:hover {
transform: translateY(-3px);
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}
@keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.05); }
100% { transform: scale(1); }
}
.features {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 2rem;
margin: 4rem 0;
animation: fadeIn 1s ease-out 0.6s both;
}
.feature {
background: rgba(255, 255, 255, 0.05);
padding: 2rem;
border-radius: 15px;
width: 250px;
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.1);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature:hover {
transform: translateY(-10px);
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}
.feature i {
font-size: 2.5rem;
margin-bottom: 1rem;
background: linear-gradient(45deg, #00dbde, #fc00ff);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.feature h3 {
margin-bottom: 1rem;
color: #fff;
}
.feature p {
color: #a1a1a1;
font-size: 0.9rem;
line-height: 1.6;
}
/* Animated Background Elements */
.circle {
position: absolute;
border-radius: 50%;
background: rgba(0, 219, 222, 0.1);
z-index: -1;
animation: float 15s infinite ease-in-out;
}
.circle-1 {
width: 300px;
height: 300px;
top: -150px;
left: -150px;
animation-delay: 0s;
}
.circle-2 {
width: 200px;
height: 200px;
bottom: -100px;
right: -100px;
background: rgba(252, 0, 255, 0.1);
animation-delay: 5s;
}
.circle-3 {
width: 150px;
height: 150px;
top: 20%;
right: 10%;
background: rgba(0, 219, 222, 0.1);
animation-delay: 10s;
}
@keyframes float {
0%, 100% { transform: translate(0, 0) rotate(0deg); }
25% { transform: translate(20px, 20px) rotate(5deg); }
50% { transform: translate(0, 40px) rotate(0deg); }
75% { transform: translate(-20px, 20px) rotate(-5deg); }
}
/* Responsive Design */
@media (max-width: 768px) {
h1 {
font-size: 2.5rem;
}
.subtitle {
font-size: 1.2rem;
}
.features {
flex-direction: column;
align-items: center;
}
.feature {
width: 100%;
max-width: 300px;
}
}
</style>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
</head>
<body>
<div class="circle circle-1"></div>
<div class="circle circle-2"></div>
<div class="circle circle-3"></div>
<div class="container">
<h1>Welcome to Git Training Hub</h1>
<p class="subtitle">Master Git and version control with our comprehensive training program</p>
<div class="features">
<div class="feature">
<i class="fas fa-code-branch"></i>
<h3>Branching Mastery</h3>
<p>Learn how to effectively use branches for feature development and bug fixes.</p>
</div>
<div class="feature">
<i class="fas fa-users"></i>
<h3>Team Collaboration</h3>
<p>Master collaborative workflows and best practices for team development.</p>
</div>
<div class="feature">
<i class="fas fa-rocket"></i>
<h3>Advanced Techniques</h3>
<p>Dive into advanced Git commands and workflows used by professionals.</p>
</div>
</div>
<a href="login.html" class="cta-button">Get Started</a>
</div>
<script>
// Add some interactive animations
document.addEventListener('mousemove', (e) => {
const container = document.querySelector('.container');
const xAxis = (window.innerWidth / 2 - e.pageX) / 25;
const yAxis = (window.innerHeight / 2 - e.pageY) / 25;
container.style.transform = `rotateY(${xAxis}deg) rotateX(${yAxis}deg)`;
});
// Reset transform when mouse leaves the container
document.querySelector('.container').addEventListener('mouseleave', function() {
this.style.transform = 'rotateY(0) rotateX(0)';
});
</script>
</body>
</html>