-
Notifications
You must be signed in to change notification settings - Fork 747
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4808 from anuragverma108/revert-4770-main
Revert "deleted an irrevelant page "
- Loading branch information
Showing
5 changed files
with
221 additions
and
6 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
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,98 @@ | ||
.newsletter-container { | ||
background-color: #f28b82; | ||
padding: 30px; | ||
border-radius: 10px; | ||
text-align: center; | ||
max-width: 400px; | ||
margin: 0 auto; | ||
} | ||
|
||
.newsletter-container h2 { | ||
font-family: Arial, sans-serif; | ||
font-size: 1.8em; | ||
font-weight: bold; | ||
color: #000; | ||
} | ||
|
||
.newsletter-container p { | ||
font-size: 1em; | ||
color: #4a4a4a; | ||
} | ||
|
||
.newsletter-form { | ||
margin-top: 20px; | ||
} | ||
|
||
.newsletter-form input[type="email"] { | ||
padding: 10px; | ||
width: 100%; | ||
max-width: 300px; | ||
margin-bottom: 15px; | ||
font-size: 1em; | ||
border: 1px solid #b22222; | ||
border-radius: 5px; | ||
outline: none; | ||
color: #000; | ||
background-color: #fff; | ||
} | ||
|
||
.newsletter-form input[type="email"]::placeholder { | ||
color: #b22222; | ||
} | ||
|
||
.newsletter-form button { | ||
padding: 10px 30px; | ||
background-color: #8b0000; | ||
border: none; | ||
color: white; | ||
font-size: 1.2em; | ||
cursor: pointer; | ||
border-radius: 5px; | ||
} | ||
|
||
.newsletter-form button:hover { | ||
background-color: #b22222; | ||
} | ||
|
||
.social-icons { | ||
margin-top: 20px; | ||
} | ||
|
||
.social-icons a { | ||
text-decoration: none; | ||
color: #000; | ||
font-size: 1.8em; | ||
margin: 0 10px; | ||
} | ||
|
||
.social-icons a:hover { | ||
color: #b22222; | ||
} | ||
|
||
/* Mobile responsiveness */ | ||
@media (max-width: 600px) { | ||
.newsletter-container { | ||
padding: 15px; | ||
max-height: 300px; | ||
} | ||
|
||
.newsletter-container h2 { | ||
font-size: 1.5em; | ||
} | ||
|
||
.newsletter-container p { | ||
font-size: 0.9em; | ||
} | ||
|
||
.newsletter-form input[type="email"] { | ||
max-width: 100%; | ||
} | ||
|
||
.newsletter-form button { | ||
font-size: 1em; | ||
} | ||
|
||
.social-icons a { | ||
font-size: 1.5em; | ||
} | ||
} |
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,117 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Document</title> | ||
<link rel="stylesheet" href="email.css"> | ||
<style> | ||
/* Circle styles */ | ||
.circle { | ||
height: 24px; | ||
width: 24px; | ||
border-radius: 50%; | ||
background-color: black; | ||
position: fixed; | ||
top: 0; | ||
left: 0; | ||
pointer-events: none; | ||
z-index: 99999999; | ||
transition: transform 0.1s ease-out; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<!-- Circles --> | ||
<div class="circle"></div> | ||
<div class="circle"></div> | ||
<div class="circle"></div> | ||
<div class="circle"></div> | ||
<div class="circle"></div> | ||
<div class="circle"></div> | ||
<div class="circle"></div> | ||
<div class="circle"></div> | ||
<div class="circle"></div> | ||
<div class="circle"></div> | ||
<div class="circle"></div> | ||
<div class="circle"></div> | ||
<div class="circle"></div> | ||
<div class="circle"></div> | ||
<div class="circle"></div> | ||
<div class="circle"></div> | ||
<div class="circle"></div> | ||
<div class="circle"></div> | ||
<div class="circle"></div> | ||
<div class="circle"></div> | ||
<div class="newsletter-container"> | ||
<h2>Stay Connected</h2> | ||
<p>Subscribe to our Newsletter</p> | ||
<form class="newsletter-form"> | ||
<input type="email" placeholder="Enter your email address" required /> | ||
<button type="submit">Subscribe</button> | ||
</form> | ||
<div class="social-icons"> | ||
<a href="#" target="_blank"><i class="fa-brands fa-discord"></i></a> | ||
<a href="#" target="_blank"><i class="fa-brands fa-linkedin"></i></a> | ||
<a href="#" target="_blank"><i class="fa-brands fa-facebook"></i></a> | ||
<a href="#" target="_blank"><i class="fa-brands fa-twitter"></i></a> | ||
<a href="#" target="_blank"><i class="fa-brands fa-instagram"></i></a> | ||
<a href="#" target="_blank"><i class="fa-brands fa-youtube"></i></a> | ||
<a href="#" target="_blank"><i class="fa-brands fa-github"></i></a> | ||
</div> | ||
</div> | ||
<script> | ||
// Coordinates for the cursor | ||
const coords = { x: 0, y: 0 }; | ||
const circles = document.querySelectorAll(".circle"); | ||
|
||
// Colors for the circles | ||
const colors = [ | ||
"#ffb56b", "#fdaf69", "#f89d63", "#f59761", "#ef865e", "#ec805d", | ||
"#e36e5c", "#df685c", "#d5585c", "#d1525c", "#c5415d", "#c03b5d", | ||
"#b22c5e", "#ac265e", "#9c155f", "#950f5f", "#830060", "#7c0060", | ||
"#680060", "#60005f", "#48005f", "#3d005e" | ||
]; | ||
|
||
// Assign colors and initial position to each circle | ||
circles.forEach(function (circle, index) { | ||
circle.x = 0; | ||
circle.y = 0; | ||
circle.style.backgroundColor = colors[index % colors.length]; | ||
}); | ||
|
||
// Update the coordinates when the mouse moves | ||
window.addEventListener("mousemove", function (e) { | ||
coords.x = e.clientX; | ||
coords.y = e.clientY; | ||
}); | ||
|
||
// Animation function to move the circles | ||
function animateCircles() { | ||
let x = coords.x; | ||
let y = coords.y; | ||
|
||
circles.forEach(function (circle, index) { | ||
// Update the position and scale of each circle | ||
circle.style.left = x - 12 + "px"; | ||
circle.style.top = y - 12 + "px"; | ||
circle.style.scale = (circles.length - index) / circles.length; | ||
|
||
circle.x = x; | ||
circle.y = y; | ||
|
||
// Get the next circle in the sequence | ||
const nextCircle = circles[index + 1] || circles[0]; | ||
x += (nextCircle.x - x) * 0.3; | ||
y += (nextCircle.y - y) * 0.3; | ||
}); | ||
|
||
// Repeat the animation | ||
requestAnimationFrame(animateCircles); | ||
} | ||
|
||
// Start the animation | ||
animateCircles(); | ||
</script> | ||
</body> | ||
</html> |
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