File tree Expand file tree Collapse file tree 7 files changed +61
-0
lines changed Expand file tree Collapse file tree 7 files changed +61
-0
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,8 @@ export default DS.Model.extend({
25
25
return 'https://www.chitkara.edu.in/wp-content/themes/chitkara/images/CU_logo.png' ;
26
26
case 'saitm' :
27
27
return 'https://minio.cb.lk/public/saitm.png' ;
28
+ case 'munjal' :
29
+ return 'https://minio.cb.lk/public/thumbnail_bml-munjal-university-logo.png' ;
28
30
default :
29
31
return 'https://minio.codingblocks.com/amoeba/OnlineLogo2020.svg' ;
30
32
}
Original file line number Diff line number Diff line change
1
+ import Controller from '@ember/controller' ;
2
+ import { action } from '@ember/object' ;
3
+
4
+ export default class MunjalIndexController extends Controller {
5
+ @action
6
+ goToRecommendedCourses ( ) {
7
+ window . scrollTo ( {
8
+ top : document . getElementById ( 'recommended-courses' ) . offsetTop - 70 ,
9
+ left : 0 ,
10
+ behavior : 'smooth'
11
+ } )
12
+ }
13
+ }
Original file line number Diff line number Diff line change
1
+ import Route from '@ember/routing/route' ;
2
+ import { inject as service } from '@ember/service' ;
3
+
4
+ export default class MunjalIndexRoute extends Route {
5
+ @service currentUser ;
6
+
7
+ activate ( ) {
8
+ this . currentUser . setOrg ( 'munjal' ) ;
9
+ window . localStorage . setItem ( 'org' , 'munjal' )
10
+ }
11
+ }
Original file line number Diff line number Diff line change
1
+ <div class =" munjal-banner p-5" style =" border-radius: 30px;" >
2
+
3
+ <div class =" information row justify-content-between mt-md-5 mt-lg-0" >
4
+ <div class =" title col-lg-6 col-md-8 mt-lg-5" >Courses specially curated for <br >
5
+ BML Munjal University</div >
6
+ <div class =" col-2" ><img class =" logo d-none d-md-block" src =" thumbnail_bml-munjal-university-logo.png" alt =" chitkara-logo" ></div >
7
+ </div >
8
+
9
+ <div class =" row justify-content-between" >
10
+ <div class =" col-md-5 align-self-end mb-5 d-none d-md-block" >
11
+
12
+ <button class =" button-solid white-button font-lg" {{ action ' goToRecommendedCourses' }} >Explore Courses</button >
13
+ </div >
14
+ <div class =" banner-image col-md-7" >
15
+ <img src =" /app/images/thumbnail_bml-munjal-university-logo.png" alt =" munjal-banner-image" >
16
+ </div >
17
+ </div >
18
+
19
+
20
+ <div class =" d-md-none row justify-content-center" >
21
+ <div ><button class =" button-solid white-button mt-5" {{ action ' goToRecommendedCourses' }} >Explore Courses</button ></div >
22
+ </div >
23
+ </div >
24
+
25
+ <div class =" container mt-5" id =" recommended-courses" >
26
+ {{ recommended-courses organization =' munjal' }}
27
+ </div >
28
+
29
+
30
+ {{ offerings-static }}
Original file line number Diff line number Diff line change
1
+ import Route from '@ember/routing/route' ;
2
+
3
+ export default class MunjalRoute extends Route {
4
+ }
Original file line number Diff line number Diff line change
1
+ {{ outlet }}
You can’t perform that action at this time.
0 commit comments