Compare commits
No commits in common. "ae6c2071146404318513c49b76a385c928e2b319" and "dd543361acdeb1e3d81111aa74702a8f1cc447f0" have entirely different histories.
ae6c207114
...
dd543361ac
BIN
assets/images/codinghiringassesments/coding_practice.png
Normal file
|
After Width: | Height: | Size: 54 KiB |
BIN
assets/images/codinghiringassesments/interview_preparetion.png
Normal file
|
After Width: | Height: | Size: 53 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 40 KiB |
|
Before Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 35 KiB |
BIN
assets/images/codinghiringassesments/project.png
Normal file
|
After Width: | Height: | Size: 652 KiB |
BIN
assets/images/codinghiringassesments/skill_based_assesment.png
Normal file
|
After Width: | Height: | Size: 110 KiB |
10
index.html
@ -4,7 +4,7 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Kodepilot</title>
|
||||
<title>Kodepilot Clone</title>
|
||||
<link rel="stylesheet" href="main.css">
|
||||
<link rel="stylesheet" href="templateapi/main.css">
|
||||
<link rel="icon" type="image/x-icon" href="assets/images/logo/favicon.ico">
|
||||
@ -553,7 +553,7 @@
|
||||
<a href="#" class="practice-cta-btn">Start Now ➤</a>
|
||||
</div>
|
||||
<div class="practice-card-svg">
|
||||
<img src="assets/images/codinghiringassesments/nope_1.png" alt="Coding Practice">
|
||||
<img src="assets/images/mit-ico/ebmpapst.svg" alt="Coding Practice">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -569,7 +569,7 @@
|
||||
<a href="#" class="practice-cta-btn">Start Now ➤</a>
|
||||
</div>
|
||||
<div class="practice-card-svg">
|
||||
<img src="assets/images/codinghiringassesments/nope_2.png" alt="Coding Practice">
|
||||
<img src="assets/images/mit-ico/ebmpapst.svg" alt="Coding Practice">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -585,7 +585,7 @@
|
||||
<a href="#" class="practice-cta-btn">Start Now ➤</a>
|
||||
</div>
|
||||
<div class="practice-card-svg">
|
||||
<img src="assets/images/codinghiringassesments/nope_3.webp" alt="Coding Practice">
|
||||
<img src="assets/images/mit-ico/ebmpapst.svg" alt="Coding Practice">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -601,7 +601,7 @@
|
||||
<a href="#" class="practice-cta-btn">Start Now ➤</a>
|
||||
</div>
|
||||
<div class="practice-card-svg">
|
||||
<img src="assets/images/codinghiringassesments/nope_4.webp" alt="Coding Practice">
|
||||
<img src="assets/images/mit-ico/ebmpapst.svg" alt="Coding Practice">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
123
main.css
@ -1544,7 +1544,6 @@
|
||||
/* Practice Cards Component CSS - Unique class names to prevent conflicts */
|
||||
|
||||
|
||||
/* Practice Cards Component CSS - Unique class names to prevent conflicts */
|
||||
/* Practice Cards Component CSS - Unique class names to prevent conflicts */
|
||||
.practice-cards-container * {
|
||||
margin: 0;
|
||||
@ -1633,14 +1632,10 @@
|
||||
position: relative;
|
||||
}
|
||||
|
||||
/* Default state - first card expanded */
|
||||
.practice-card:first-child {
|
||||
flex: 2.5;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.practice-card:not(:first-child) {
|
||||
/* Default state - all cards equal size */
|
||||
.practice-card {
|
||||
flex: 1;
|
||||
transform: scale(1);
|
||||
}
|
||||
|
||||
.practice-card .practice-card-svg {
|
||||
@ -1653,43 +1648,16 @@
|
||||
transform: translateY(15px);
|
||||
}
|
||||
|
||||
/* Show SVG and CTA for first card by default */
|
||||
.practice-card:first-child .practice-card-svg {
|
||||
width: 35%;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.practice-card:first-child .practice-cta-btn {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
.practice-card:first-child .practice-card-icon {
|
||||
transform: scale(1.05) rotate(3deg);
|
||||
}
|
||||
|
||||
.practice-card:first-child h3 {
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
.practice-card:first-child p,
|
||||
.practice-card:first-child .practice-meta-info,
|
||||
.practice-card:first-child .practice-footer-text {
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
/* Hover state - expand hovered card, shrink others */
|
||||
.practice-cards-wrapper .practice-card {
|
||||
transform: scale(1);
|
||||
}
|
||||
|
||||
.practice-cards-wrapper .practice-card:hover {
|
||||
flex: 2.5;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.practice-cards-wrapper .practice-card:not(:hover) {
|
||||
.practice-cards-wrapper:hover .practice-card {
|
||||
flex: 1;
|
||||
transform: scale(0.98);
|
||||
}
|
||||
|
||||
.practice-cards-wrapper:hover .practice-card:hover {
|
||||
flex: 2.5;
|
||||
transform: translateY(-6px) scale(1.01);
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
/* Color changes for hover states */
|
||||
@ -1709,7 +1677,7 @@
|
||||
background-color: #FFE186;
|
||||
}
|
||||
|
||||
/* SVG Container - UPDATED FOR IMAGES */
|
||||
/* SVG Container */
|
||||
.practice-card-svg {
|
||||
width: 0;
|
||||
height: 100%;
|
||||
@ -1721,21 +1689,18 @@
|
||||
padding: 20px;
|
||||
background: transparent;
|
||||
flex-shrink: 0;
|
||||
overflow: hidden; /* Added to contain the image */
|
||||
}
|
||||
|
||||
/* Image styling - NEW RULES */
|
||||
.practice-card-svg img {
|
||||
width: 500%;
|
||||
height:1200%;
|
||||
object-fit: contain; /* This will scale the image properly */
|
||||
max-width: 200%;
|
||||
max-height: 200%;
|
||||
border-radius: 8px;
|
||||
.practice-card-svg svg {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
max-width: 150px;
|
||||
max-height: 150px;
|
||||
filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
|
||||
}
|
||||
|
||||
/* Show SVG only on hovered card and first card by default */
|
||||
.practice-card:hover .practice-card-svg {
|
||||
/* Show SVG only on hovered card */
|
||||
.practice-cards-wrapper:hover .practice-card:hover .practice-card-svg {
|
||||
width: 35%;
|
||||
opacity: 1;
|
||||
}
|
||||
@ -1773,7 +1738,7 @@
|
||||
}
|
||||
|
||||
/* Icon animation on hover */
|
||||
.practice-card:hover .practice-card-icon {
|
||||
.practice-cards-wrapper:hover .practice-card:hover .practice-card-icon {
|
||||
transform: scale(1.05) rotate(3deg);
|
||||
}
|
||||
|
||||
@ -1825,13 +1790,13 @@
|
||||
}
|
||||
|
||||
/* Text animation on hover */
|
||||
.practice-card:hover h3 {
|
||||
.practice-cards-wrapper:hover .practice-card:hover h3 {
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
.practice-card:hover p,
|
||||
.practice-card:hover .practice-meta-info,
|
||||
.practice-card:hover .practice-footer-text {
|
||||
.practice-cards-wrapper:hover .practice-card:hover p,
|
||||
.practice-cards-wrapper:hover .practice-card:hover .practice-meta-info,
|
||||
.practice-cards-wrapper:hover .practice-card:hover .practice-footer-text {
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
@ -1875,8 +1840,8 @@
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
/* Show CTA button only on hovered card and first card by default */
|
||||
.practice-card:hover .practice-cta-btn {
|
||||
/* Show CTA button only on hovered card */
|
||||
.practice-cards-wrapper:hover .practice-card:hover .practice-cta-btn {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
@ -1899,6 +1864,30 @@
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/* REMOVED: Default expanded state for first card */
|
||||
/* Now all cards start equal and only expand on hover */
|
||||
|
||||
/* Show SVG and CTA button only on hover */
|
||||
.practice-cards-wrapper .practice-card .practice-card-svg {
|
||||
width: 0;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
.practice-cards-wrapper .practice-card .practice-cta-btn {
|
||||
opacity: 0;
|
||||
transform: translateY(15px);
|
||||
}
|
||||
|
||||
.practice-cards-wrapper:hover .practice-card:hover .practice-card-svg {
|
||||
width: 35%;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.practice-cards-wrapper:hover .practice-card:hover .practice-cta-btn {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
/* Mobile responsiveness */
|
||||
@media (max-width: 992px) {
|
||||
.practice-cards-container {
|
||||
@ -1924,27 +1913,23 @@
|
||||
border-radius: 12px 12px 0 0 !important;
|
||||
height: 120px;
|
||||
flex: 1;
|
||||
transform: none;
|
||||
}
|
||||
|
||||
.practice-card:last-child {
|
||||
border-radius: 0 0 12px 12px !important;
|
||||
}
|
||||
|
||||
.practice-card:hover {
|
||||
.practice-cards-wrapper:hover .practice-card:hover {
|
||||
height: 300px;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.practice-card:hover .practice-card-svg {
|
||||
.practice-cards-wrapper:hover .practice-card:hover .practice-card-svg {
|
||||
width: 100%;
|
||||
height: 120px;
|
||||
}
|
||||
|
||||
/* Mobile image styling */
|
||||
.practice-card:hover .practice-card-svg img {
|
||||
object-fit: cover; /* Better fit for mobile */
|
||||
}
|
||||
|
||||
.practice-card-content {
|
||||
min-width: auto;
|
||||
padding: 20px;
|
||||
|
||||