feat: added ui element's

This commit is contained in:
dhanush.s 2025-09-23 16:10:04 +05:30
parent 48054b28e0
commit 29b4677f49

View File

@ -63,7 +63,6 @@
color: #fff; color: #fff;
} }
/* Hero */
.hero { .hero {
text-align: start; text-align: start;
padding: 50px 20px; padding: 50px 20px;
@ -89,7 +88,6 @@
width: 470px; width: 470px;
} }
/* Cards */
.hero_container { .hero_container {
display: flex; display: flex;
gap: 40px; gap: 40px;
@ -163,7 +161,6 @@
background: #ffb1cc; background: #ffb1cc;
} }
/* Users */
.users { .users {
padding: 0px 20px; padding: 0px 20px;
display: flex; display: flex;
@ -253,6 +250,208 @@
width: 280px; width: 280px;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
} }
.mnc {
padding: 40px 20px;
display: flex;
justify-content: center;
align-items: center;
text-align: start;
}
.mnc-box {
display: flex;
align-items: center;
max-width: 1200px;
}
.mnc-row {
display: flex;
align-items: center;
gap: 40px;
flex-wrap: wrap;
}
.mnc h2 {
font-size: 22px;
font-weight: 600;
}
.mnc h2 .gray,
.mnc h2 .blue_text {
display: block;
}
.mnc h2 .blue_text {
color: #1c4980;
}
.mnc-logos {
display: flex;
align-items: center;
gap: 40px;
flex-wrap: wrap;
}
.mnc-logos img {
height: 40px;
object-fit: contain;
transition: transform 0.3s ease;
}
.mnc-logos img:hover {
transform: scale(1.1);
}
.our-numbers {
max-width: 1200px;
margin: 0 auto 47px auto;
}
.our-numbers h2 {
text-align: center;
font-size: 2.5rem;
color: #2d3748;
margin-bottom: 20px;
font-weight: 600;
}
.stats-grid {
display: grid;
grid-template-columns: repeat(6, 1fr);
gap: 20px;
justify-items: center;
align-items: stretch;
}
.stat-item {
background: HSL(0, 0%, 96.5%);
text-align: center;
padding: 20px 10px;
border-radius: 14px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
min-height: 120px;
width: 100%;
box-sizing: border-box;
}
.stat-number {
display: block;
font-size: clamp(1.8rem, 2.5vw, 3rem);
font-weight: 700;
color: #2d3748;
margin-bottom: 10px;
line-height: 1;
white-space: nowrap;
}
.stat-number .highlight {
color: #3182ce;
}
.stat-label {
font-size: clamp(0.8rem, 1vw, 1rem);
color: #718096;
font-weight: 500;
text-transform: capitalize;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
width: 100%;
}
@media (max-width: 1024px) {
.stats-grid {
grid-template-columns: repeat(3, 1fr);
gap: 15px;
}
.stat-item {
min-height: 100px;
padding: 15px 8px;
}
}
@media (max-width: 768px) {
.our-numbers {
padding: 40px 20px;
}
.our-numbers h2 {
font-size: 2rem;
margin-bottom: 40px;
}
.stats-grid {
grid-template-columns: repeat(2, 1fr);
gap: 30px;
}
.stat-number {
font-size: 2.5rem;
}
.stat-item {
min-height: 110px;
padding: 20px;
}
}
@media (max-width: 480px) {
.stats-grid {
grid-template-columns: 1fr;
gap: 25px;
}
.stat-number {
font-size: 2.2rem;
}
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.stat-item {
animation: fadeInUp 0.6s ease forwards;
}
.stat-item:nth-child(1) {
animation-delay: 0.1s;
}
.stat-item:nth-child(2) {
animation-delay: 0.2s;
}
.stat-item:nth-child(3) {
animation-delay: 0.3s;
}
.stat-item:nth-child(4) {
animation-delay: 0.4s;
}
.stat-item:nth-child(5) {
animation-delay: 0.5s;
}
.stat-item:nth-child(6) {
animation-delay: 0.6s;
}
</style> </style>
</head> </head>
@ -271,7 +470,7 @@
<div class="buttons"> <div class="buttons">
<button class="host">+ Host</button> <button class="host">+ Host</button>
<button class="business">For Business</button> <button class="business">For Business</button>
<button class="login">Login</button> <button class="login" onclick="goToLogin()">Login</button>
</div> </div>
</header> </header>
@ -301,7 +500,7 @@
<section class="users"> <section class="users">
<div class="users_box"> <div class="users_box">
<h2>Who's using Unstop?</h2> <h2>Who's using Kodepilot?</h2>
<div class="know-cards"> <div class="know-cards">
<div> <div>
<div class="crd"> <div class="crd">
@ -341,12 +540,67 @@
</div> </div>
</div> </div>
<div role="button" tabindex="0" class="knon_more"> Know How <un-icon _nghost-serverapp-c3674528818=""><img <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" style="--size: 18px;" src="https://cdn.Kodepilot.com/assets/icons/chevron_down.svg" height="18"
width="18" alt="chevron_down" class="ng-star-inserted"></un-icon> width="18" alt="chevron_down" class="ng-star-inserted"></un-icon>
</div> </div>
</div> </div>
</section> </section>
<section class="mnc">
<div class="mnc-box">
<div class="mnc-row">
<h2>
<span class="gray">Industry veterans</span>
<span class="blue_text">trust us</span>
</h2>
<div class="mnc-logos">
<img src="https://repo.dhanu.cloud/ico/hcl.svg" alt="hcl">
<img src="https://repo.dhanu.cloud/ico/ebmpapst.svg" alt="ebmpapst">
<img src="https://repo.dhanu.cloud/ico/infosys.svg" alt="infosys">
<img src="https://repo.dhanu.cloud/ico/jbl.svg" alt="jbl">
<img src="https://repo.dhanu.cloud/ico/ust.svg" alt="ust">
<img src="https://repo.dhanu.cloud/ico/accenture.svg" alt="accenture">
</div>
</div>
</div>
</section>
<section class="our-numbers">
<h2>Our Numbers</h2>
<div class="stats-grid">
<div class="stat-item">
<span class="stat-number">25 <span class="highlight">M+</span></span>
<span class="stat-label">Active Users</span>
</div>
<div class="stat-item">
<span class="stat-number">22.3 <span class="highlight">M+</span></span>
<span class="stat-label">Assessments</span>
</div>
<div class="stat-item">
<span class="stat-number">130 <span class="highlight">K+</span></span>
<span class="stat-label">Opportunities</span>
</div>
<div class="stat-item">
<span class="stat-number">800 <span class="highlight">+</span></span>
<span class="stat-label">Brands trust us</span>
</div>
<div class="stat-item">
<span class="stat-number">42 <span class="highlight">K+</span></span>
<span class="stat-label">Organisations</span>
</div>
<div class="stat-item">
<span class="stat-number">78 <span class="highlight">+</span></span>
<span class="stat-label">Countries</span>
</div>
</div>
</section>
<div id="footer-placeholder"></div> <div id="footer-placeholder"></div>
<script> <script>
fetch("footer.html") fetch("footer.html")
@ -355,6 +609,9 @@
document.getElementById("footer-placeholder").innerHTML = data; document.getElementById("footer-placeholder").innerHTML = data;
}) })
.catch(err => console.error("Failed to load footer:", err)); .catch(err => console.error("Failed to load footer:", err));
function goToLogin() {
window.location.href = "/login";
}
</script> </script>
</body> </body>