1
- import { Component , OnInit } from ' @angular/core' ;
2
- import { DataService } from ' ../../data.service' ;
1
+ import { Component , OnInit } from " @angular/core" ;
2
+ import { DataService } from " ../../data.service" ;
3
3
4
4
interface LinkContainer {
5
5
title : string ;
@@ -13,68 +13,131 @@ interface Link {
13
13
}
14
14
15
15
@Component ( {
16
- selector : ' app-quick-links' ,
17
- templateUrl : ' ./quick-links.component.html' ,
18
- styleUrls : [ ' ./quick-links.component.css' ]
16
+ selector : " app-quick-links" ,
17
+ templateUrl : " ./quick-links.component.html" ,
18
+ styleUrls : [ " ./quick-links.component.css" ] ,
19
19
} )
20
20
export class QuickLinksComponent implements OnInit {
21
-
22
21
public sections : LinkContainer [ ] = [
23
22
{
24
- title : ' DevCom' ,
23
+ title : " DevCom" ,
25
24
links : [
26
- { href : 'https://www.devcom-iitb.org/' , icon : 'book' , text : 'DevCom Website' } ,
27
- { href : 'https://ams.iitb.ac.in' , icon : 'book' , text : 'AMS' } ,
25
+ {
26
+ href : "https://devcom.gymkhana.iitb.ac.in/" ,
27
+ icon : "book" ,
28
+ text : "DevCom Website" ,
29
+ } ,
28
30
] ,
29
31
} ,
30
32
{
31
- title : ' Academic' ,
33
+ title : " Academic" ,
32
34
links : [
33
- { href : 'https://asc.iitb.ac.in' , icon : 'book' , text : 'ASC' } ,
34
- { href : 'https://portal.iitb.ac.in/asc' , icon : 'book' , text : 'ASC - External' } ,
35
- { href : 'https://moodle.iitb.ac.in' , icon : 'book' , text : 'Moodle' } ,
36
- { href : 'https://campus.placements.iitb.ac.in/auth/student/login' , icon : 'school' , text : 'Internship and Placement Login' } ,
37
- { href : 'http://www.library.iitb.ac.in/' , icon : 'local_library' , text : 'Central Library' } ,
35
+ { href : "https://asc.iitb.ac.in" , icon : "book" , text : "ASC" } ,
36
+ {
37
+ href : "https://portal.iitb.ac.in/asc" ,
38
+ icon : "book" ,
39
+ text : "ASC - External" ,
40
+ } ,
41
+ { href : "https://moodle.iitb.ac.in" , icon : "book" , text : "Moodle" } ,
42
+ {
43
+ href : "https://campus.placements.iitb.ac.in/auth/student/login" ,
44
+ icon : "school" ,
45
+ text : "Internship and Placement Login" ,
46
+ } ,
47
+ {
48
+ href : "http://www.library.iitb.ac.in/" ,
49
+ icon : "local_library" ,
50
+ text : "Central Library" ,
51
+ } ,
38
52
] ,
39
53
} ,
40
54
{
41
- title : ' Calendar' ,
55
+ title : " Calendar" ,
42
56
links : [
43
- { href : 'http://www.iitb.ac.in/newacadhome/toacadcalender.jsp' , icon : 'today' , text : 'Academic Calendar' } ,
44
- { href : 'http://www.iitb.ac.in/newacadhome/timetable.jsp' , icon : 'access_alarm' , text : 'Academic Timetable' } ,
45
- { href : 'http://www.iitb.ac.in/en/about-iit-bombay/iit-bombay-holidays-list' , icon : 'whatshot' , text : 'Holidays List' } ,
46
- { href : 'http://www.iitb.ac.in/newacadhome/circular.jsp' , icon : 'info' , text : 'Circulars' } ,
47
- { href : 'https://portal.iitb.ac.in/asc/Courses' , icon : 'school' , text : 'Course List' } ,
57
+ {
58
+ href : "http://www.iitb.ac.in/newacadhome/toacadcalender.jsp" ,
59
+ icon : "today" ,
60
+ text : "Academic Calendar" ,
61
+ } ,
62
+ {
63
+ href : "http://www.iitb.ac.in/newacadhome/timetable.jsp" ,
64
+ icon : "access_alarm" ,
65
+ text : "Academic Timetable" ,
66
+ } ,
67
+ {
68
+ href : "https://www.iitb.ac.in/holidays-list" ,
69
+ icon : "whatshot" ,
70
+ text : "Holidays List" ,
71
+ } ,
72
+ {
73
+ href : "http://www.iitb.ac.in/newacadhome/circular.jsp" ,
74
+ icon : "info" ,
75
+ text : "Circulars" ,
76
+ } ,
77
+ {
78
+ href : "https://portal.iitb.ac.in/asc/Courses" ,
79
+ icon : "school" ,
80
+ text : "Course List" ,
81
+ } ,
48
82
] ,
49
83
} ,
50
84
{
51
- title : ' Services' ,
85
+ title : " Services" ,
52
86
links : [
53
- { href : 'https://sso.iitb.ac.in/' , icon : 'account_box' , text : 'SSO Login' } ,
54
- { href : 'https://webmail.iitb.ac.in' , icon : 'email' , text : 'WebMail' } ,
55
- { href : 'https://camp.iitb.ac.in/' , icon : 'account_box' , text : 'CAMP' } ,
56
- { href : 'https://home.iitb.ac.in/' , icon : 'cloud' , text : 'BigHome Cloud' } ,
57
- { href : 'ftp://ftp.iitb.ac.in/' , icon : 'folder_open' , text : 'FTP Server' } ,
87
+ {
88
+ href : "https://sso.iitb.ac.in/" ,
89
+ icon : "account_box" ,
90
+ text : "SSO Login" ,
91
+ } ,
92
+ { href : "https://webmail.iitb.ac.in" , icon : "email" , text : "WebMail" } ,
93
+ { href : "https://camp.iitb.ac.in/" , icon : "account_box" , text : "CAMP" } ,
94
+ {
95
+ href : "https://home.iitb.ac.in/" ,
96
+ icon : "cloud" ,
97
+ text : "BigHome Cloud" ,
98
+ } ,
99
+ {
100
+ href : "ftp://ftp.iitb.ac.in/" ,
101
+ icon : "folder_open" ,
102
+ text : "FTP Server" ,
103
+ } ,
58
104
] ,
59
105
} ,
60
106
{
61
- title : ' Miscellaneous' ,
107
+ title : " Miscellaneous" ,
62
108
links : [
63
- { href : 'https://access.iitb.ac.in/' , icon : 'phone' , text : 'CC Access Portal' } ,
64
- { href : 'https://portal.iitb.ac.in/TelephoneDirectory/' , icon : 'phone' , text : 'Intercom Extensions' } ,
65
- { href : 'http://www.iitb.ac.in/hospital/' , icon : 'local_hospital' , text : 'Hospital' } ,
66
- { href : 'https://www.cc.iitb.ac.in/page/configurevpn' , icon : 'vpn_lock' , text : 'VPN Guide' } ,
67
- { href : 'https://www.iitb-bandhu.com/' , icon : 'emoji_people' , text : 'Bandhu IITB' } ,
68
- ]
69
- }
109
+ {
110
+ href : "https://access.iitb.ac.in/" ,
111
+ icon : "phone" ,
112
+ text : "CC Access Portal" ,
113
+ } ,
114
+ {
115
+ href : "https://portal.iitb.ac.in/TelephoneDirectory/" ,
116
+ icon : "phone" ,
117
+ text : "Intercom Extensions" ,
118
+ } ,
119
+ {
120
+ href : "http://www.iitb.ac.in/hospital/" ,
121
+ icon : "local_hospital" ,
122
+ text : "Hospital" ,
123
+ } ,
124
+ {
125
+ href : "https://www.cc.iitb.ac.in/page/configurevpn" ,
126
+ icon : "vpn_lock" ,
127
+ text : "VPN Guide" ,
128
+ } ,
129
+ {
130
+ href : "https://www.iitb-bandhu.com/" ,
131
+ icon : "emoji_people" ,
132
+ text : "Bandhu IITB" ,
133
+ } ,
134
+ ] ,
135
+ } ,
70
136
] ;
71
137
72
- constructor (
73
- public dataService : DataService ,
74
- ) { }
138
+ constructor ( public dataService : DataService ) { }
75
139
76
140
ngOnInit ( ) {
77
- this . dataService . setTitle ( ' Quick Links' ) ;
141
+ this . dataService . setTitle ( " Quick Links" ) ;
78
142
}
79
-
80
143
}
0 commit comments