feat: style and elements

This commit is contained in:
dhanush.s 2025-09-23 13:32:57 +05:30
parent 3e999c83b5
commit 48054b28e0
2 changed files with 540 additions and 406 deletions

View File

@ -1,23 +1,4 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Kode Pilot Footer</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-color: #f5f5f5;
padding: 50px 0;
}
<style>
.footer {
background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
color: white;
@ -252,12 +233,9 @@
flex-direction: column;
}
}
</style>
</head>
<body>
<footer class="footer">
</style>
<footer class="footer">
<div class="footer-container">
<!-- Company Section -->
<div class="footer-section company-section">
<div class="logo">Kode Pilot</div>
<p class="tagline">Built with <span class="heart"></span> in India for the world</p>
@ -298,7 +276,8 @@
<div class="newsletter-section">
<h4>Stay Updated</h4>
<p>We'll send you updates on the latest courses and coding opportunities to enhance your skills and advance your career.</p>
<p>We'll send you updates on the latest courses and coding opportunities to enhance your skills and
advance your career.</p>
<div class="newsletter-form">
<input type="email" placeholder="Subscribe to our newsletter!">
@ -336,7 +315,6 @@
</ul>
</div>
<!-- Resources & Support Section -->
<div class="footer-section">
<h3>Resources</h3>
<ul>
@ -390,10 +368,9 @@
<a href="#">Sitemap</a>
</div>
<p style="margin-top: 20px;">
Copyright © 2025 <a href="#" style="color: #10b981;">Kode Pilot Learning Pvt Ltd</a> - All rights reserved.
Copyright © 2025 <a href="#" style="color: #10b981;">Kode Pilot Learning Pvt Ltd</a> - All rights
reserved.
</p>
</div>
</div>
</footer>
</body>
</html>
</footer>

View File

@ -13,7 +13,6 @@
color: #333;
}
/* Navbar */
.navbar {
display: flex;
align-items: center;
@ -66,77 +65,121 @@
/* Hero */
.hero {
text-align: center;
text-align: start;
padding: 50px 20px;
line-height: 20px;
}
.hero h1 {
font-size: 42px;
color: #383838;
}
.hero h1 .blue {
color: #007bff;
.hero h1 .blue_text {
color: #1c4980;
}
.hero p {
font-size: 18px;
color: #666;
margin: 15px 0 40px;
color: #717171;
font-size: 16px;
line-height: 140%;
margin-top: 12px;
margin-bottom: 0;
width: 470px;
}
/* Cards */
.hero_container {
display: flex;
gap: 40px;
max-width: 1200px;
margin: auto;
padding: 20px;
flex-wrap: wrap;
}
.cards_box {
margin-top: 80px;
flex: 1 1 300px;
}
.cards {
flex: 2 1 60px;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 20px;
max-width: 1000px;
margin: auto;
}
.card {
padding: 25px;
position: relative;
border-radius: 12px;
font-size: 18px;
color: #fff;
font-weight: bold;
cursor: pointer;
padding: 12px 16px;
overflow: hidden;
transition: transform 0.3s ease, box-shadow 0.3s ease;
height: 90px;
}
.card:hover {
transform: translateY(-10px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.card small {
display: block;
margin-top: 10px;
font-weight: normal;
}
/* Colors */
.green {
background: #2ecc71;
background: #9BE6C1;
}
.orange {
background: #e67e22;
background: #fec192;
}
.blue {
background: #3498db;
background: #9bc9ff;
background-image: url('https://d8it4huxumps7.cloudfront.net/uploads/images/67724b0c0d0f7_img1.png?d=211x163');
background-size: 140px;
background-repeat: no-repeat;
background-position: bottom right;
}
.purple {
background: #9b59b6;
background: #c8bbff;
}
.yellow {
background: #f1c40f;
background: #ffdd80;
color: #333;
}
.pink {
background: #e84393;
background: #ffb1cc;
}
/* Users */
.users {
padding: 60px 20px;
text-align: center;
padding: 0px 20px;
display: flex;
justify-content: center;
align-items: center;
text-align: start;
}
.users_box {
max-width: 1200px;
}
.know-cards {
display: flex;
justify-content: space-between;
align-items: center;
}
.user-cards {
@ -147,6 +190,62 @@
flex-wrap: wrap;
}
.button_blue_box {
margin-top: 24px;
padding: 8px 25px 8px 10px;
border: 0px solid #717171;
background-color: #ebe8fd;
display: flex;
align-items: center;
gap: 10px;
border-radius: 50px;
}
.nameContainer {
display: flex;
color: #717171;
}
.crd {
display: flex;
align-items: center;
gap: 16px;
padding: 16px;
border: 1px solid #ddd;
border-radius: 12px;
background: #fff;
max-width: 600px;
margin-left: 10px;
margin-right: 10px;
}
.crd img {
flex-shrink: 0;
border-radius: 8px;
padding: 8px;
height: 79px;
width: auto;
}
.crd .h4 {
font-size: 16px;
font-weight: 500;
line-height: 140%;
color: #383838;
margin-bottom: 6px;
}
.crd p {
font-size: 12px;
line-height: 140%;
color: #383838;
}
.knon_more {
margin-left: 50%;
margin-top: 20px;
}
.user-card {
background: #f9f9f9;
padding: 20px;
@ -177,10 +276,18 @@
</header>
<section class="hero">
<h1><span class="blue">Unlock</span> Your Career</h1>
<p>Explore opportunities from across the globe to grow, showcase skills, gain CV points & get hired by your
<div class="hero_container">
<div class="cards_box">
<h1><span class="blue_text">Unlock</span> Your Career</h1>
<p>Explore opportunities from across the globe to grow, showcase skills, gain CV points & get hired by
your
dream company.</p>
<button class="button_blue_box"><img
src="https://d8it4huxumps7.cloudfront.net/uploads/images/655edc8c1fab9_diamond_1.png?d=82x84"
width="41" height="42" alt="diamond" loading="lazy"><span><span
class="nameContainer">Aditya</span><strong> Just Went
Kodepilot!</strong></span></button>
</div>
<div class="cards">
<div class="card green">Internships<br><small>Gain Practical Experience</small></div>
<div class="card orange">Mentorships<br><small>Guidance From Top Mentors</small></div>
@ -189,16 +296,66 @@
<div class="card yellow">Competitions<br><small>Battle For Excellence</small></div>
<div class="card pink">More<br><small>Explore More Options</small></div>
</div>
</div>
</section>
<section class="users">
<h2>Who's using Kodepilot?</h2>
<div class="user-cards">
<div class="user-card">Students and Professionals<br><small>Compete, Build Resume & Get Hired</small></div>
<div class="user-card">Companies and Recruiters<br><small>Hire, Engage & Brand</small></div>
<div class="user-card">Colleges<br><small>Empower Students with Opportunities</small></div>
<div class="users_box">
<h2>Who's using Unstop?</h2>
<div class="know-cards">
<div>
<div class="crd">
<div class="d-flex flex-column">
<div class="h4">Students and Professionals</div>
<p><strong>Unlock
Your
Potential:</strong> Compete, Build Resume, Grow and get Hired! </p>
</div><img
src="https://d8it4huxumps7.cloudfront.net/uploads/images/67724b0c0d0f7_img1.png?d=211x163"
alt="Students and Professionals" width="105" height="81" loading="lazy">
</div>
</div>
<div>
<div class="crd">
<div class="d-flex flex-column">
<div class="h4">Companies and Recruiters</div>
<p><strong>Discover
Right
Talent:</strong> Hire, Engage, and Brand Like Never Before! </p>
</div><img
src="https://d8it4huxumps7.cloudfront.net/uploads/images/67727626b861a_img2.png?d=211x163"
alt="Companies and Recruiters" width="105" height="81" loading="lazy">
</div>
</div>
<div>
<div class="crd">
<div class="d-flex flex-column">
<div class="h4">Colleges</div>
<p><strong>Bridge
Academia
and Industry:</strong> Empower Students with Real-World Opportunities! </p>
</div><img
src="https://d8it4huxumps7.cloudfront.net/uploads/images/67724b2a99511_img3.png?d=211x163"
alt="ridge Academia and Industry" width="105" height="81" loading="lazy">
</div>
</div>
</div>
<div role="button" tabindex="0" class="knon_more"> Know How <un-icon _nghost-serverapp-c3674528818=""><img
style="--size: 18px;" src="https://cdn.unstop.com/assets/icons/chevron_down.svg" height="18"
width="18" alt="chevron_down" class="ng-star-inserted"></un-icon>
</div>
</div>
</section>
<div id="footer-placeholder"></div>
<script>
fetch("footer.html")
.then(res => res.text())
.then(data => {
document.getElementById("footer-placeholder").innerHTML = data;
})
.catch(err => console.error("Failed to load footer:", err));
</script>
</body>
</html>