Skip to content

Commit 8c895a6

Browse files
committed
course page main card
1 parent 3a86153 commit 8c895a6

File tree

5 files changed

+34
-6
lines changed

5 files changed

+34
-6
lines changed
Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,34 @@
11
<div class="px-md-5 px-4 live-courses">
22
<div class="border-card p-md-5 p-4 bg-gradient-cyan coursepage-card white">
3-
<div class="bold" style="font-size: 2.85rem;">Master DS and Algo with C++</div>
4-
<div class="mt-4 font-lg">Start from Basics, become a C++ Master!</div>
3+
<div class="row no-gutters justify-content-between">
4+
<div class="col-sm-8 order-sm-1 order-2">
5+
<div class="bold" style="font-size: 2.85rem;">Master DS and Algo with C++</div>
6+
<div class="mt-4 font-lg">Start from Basics, become a C++ Master!</div>
7+
</div>
8+
<div class="order-sm-2 order-1 mb-sm-0 mb-3">
9+
<img src="https://minio.codingblocks.com/amoeba/e5171581-41d8-46f5-97bf-c47db8214f22.png"
10+
class="round border b-white border-2 s-130x130">
11+
</div>
12+
</div>
513
<div class="my-5">
614
<div class="mentor-row d-flex align-items-center">
715
<div class="mentor-row__image-container">
816
<img src="https://minio.codingblocks.com/amoeba/4078be4e-72e1-451a-9c4e-9223d2bbcc2c"
917
alt="photo ofRishab Kapoor" class="mentor-row__image-container__mentor-image s-60x60">
1018
<img src="https://minio.codingblocks.com/amoeba/27d05ebd-4820-4abf-a5f5-0846676bac48"
1119
alt="photo ofGarima Chhikara" class="mentor-row__image-container__mentor-image s-60x60"></div>
12-
<div class="pl-3">
13-
<div class="card-md font-normal">Instructors</div>
14-
<div class="bold">Rishab Kapoor, Garima Chhikara</div>
20+
<div class="mentor-row__text-container">
21+
<div class="font-md">Instructors</div>
22+
<h4 class="bold">Rishab Kapoor, Garima Chhikara</h4>
1523
</div>
1624
</div>
1725
</div>
1826
<div class="row no-gutters align-items-center justify-content-between">
1927
<h4 class="bold">Batch Starts 1st June 2020</h4>
28+
<div class="d-inline-flex align-items-center">
29+
<span class="font-mdxl bold">&#8377;&nbsp;12499</span>
30+
<span class="font-xl bold del-text-grey pl-3"><del>&#8377;&nbsp;18999</del></span>
31+
</div>
2032
</div>
2133
</div>
2234
</div>

sass/styles/components/live-classes.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,14 @@
5959

6060
.coursepage-card {
6161
position: relative;
62+
63+
&__logo {
64+
position: absolute;
65+
width: 130px;
66+
height: 130px;
67+
border: solid 2px $white;
68+
border-radius: 50%;
69+
right: 0;
70+
}
6271
}
6372
}

sass/styles/objects/card.mentors.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,4 +113,9 @@
113113
}
114114
}
115115
}
116+
117+
&__text-container {
118+
flex: 1;
119+
padding-left: 0.5rem;
120+
}
116121
}

sass/styles/settings/settings.color.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ $light-grey: #f3f3f3;
3434
$grey: #a2a4a8;
3535
$dark-grey: #666;
3636
$border-grey: #2b2f37;
37+
$del-text-grey: #e7dddd;
3738

3839
$facebook: #3b5998;
3940
$google: #f4695a;
@@ -205,6 +206,7 @@ $text-color-list: (
205206
"pink": $dcb-pink,
206207
"med-grey": $faded-text,
207208
"dark-grey": $dark-grey,
209+
"del-text-grey": $del-text-grey
208210
);
209211

210212
//Gradient Text Colors

sass/styles/utilities/border.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
}
99

1010
.border-2 {
11-
border-width: 2px;
11+
border-width: 2px !important;
1212
}
1313

1414
@each $direction in ('top', 'right', 'bottom', 'left') {

0 commit comments

Comments
 (0)