35
35
About Us
36
36
</ a >
37
37
</ li >
38
+ < li class ="socials-nav-item ">
39
+ < a (click) ="scroll(offers) " class ="navigation-link " aria-label ="Offers ">
40
+ Offers
41
+ </ a >
42
+ </ li >
38
43
< li class ="socials-nav-item ">
39
44
< a (click) ="scroll(faq) " class ="navigation-link " aria-label ="FAQ ">
40
45
FAQ
84
89
About Us
85
90
</ a >
86
91
</ li >
92
+ < li class ="socials-nav-item ">
93
+ < a (click) ="scroll(offers);toggleDropdown() " class ="navigation-link " aria-label ="Offers ">
94
+ Offers
95
+ </ a >
96
+ </ li >
87
97
< li class ="socials-nav-item ">
88
98
< a (click) ="scroll(faq);toggleDropdown() " class ="navigation-link " aria-label ="FAQ ">
89
99
FAQ
98
108
99
109
< mat-sidenav-container class ='sidenav-container '>
100
110
< mat-sidenav #sidenav1 mode ="over " class ='sidenav ' position ="end ">
101
- < mat-nav-list class ='navlist '>
102
- < a mat-list-item href ="https://twitter.com/sinfoist " target ="_blank " aria-label ="Twitter "
103
- (click) ="sidenav1.toggle() ">
104
- < div class ="social-link ">
105
- < span class ="list-item "> Twitter</ span >
111
+ < a href ="https://twitter.com/sinfoist " target ="_blank " aria-label ="Twitter " (click) ="sidenav1.toggle() ">
112
+ < div class ="sidenav-item ">
113
+ < span > Twitter</ span >
106
114
< span class ="fa fa-twitter "> </ span >
107
- </ div >
108
- </ a >
109
- < a mat-list-item href ="https://www.facebook.com/sinfoist/ " target ="_blank " aria-label ="Facebook "
110
- (click) ="sidenav1.toggle() ">
111
- < div class ="social-link ">
112
- < span class ="list-item "> Facebook</ span >
115
+ </ div >
116
+ </ a >
117
+ < a href ="https://www.facebook.com/sinfoist/ " target ="_blank " aria-label ="Twitter " (click) ="sidenav1.toggle() ">
118
+ < div class ="sidenav-item ">
119
+ < span > Facebook</ span >
113
120
< span class ="fa fa-facebook "> </ span >
114
- </ div >
115
- </ a >
116
- < a mat-list-item href ="https://github.com/sinfo " target ="_blank " aria-label ="Github " (click) ="sidenav1.toggle() ">
117
- < div class ="social-link ">
118
- < span class =" list-item " > Github</ span >
121
+ </ div >
122
+ </ a >
123
+ < a href ="https://github.com/sinfo " target ="_blank " aria-label ="Twitter " (click) ="sidenav1.toggle() ">
124
+ < div class ="sidenav-item ">
125
+ < span > Github</ span >
119
126
< span class ="fa fa-github "> </ span >
120
- </ div >
121
- </ a >
122
- < a mat-list-item href ="https://www.instagram.com/sinfoist/ " target ="_blank " aria-label ="Instagram "
123
- (click) ="sidenav1.toggle() ">
124
- < div class ="social-link ">
125
- < span class ="list-item "> Instagram</ span >
127
+ </ div >
128
+ </ a >
129
+ < a href ="https://www.instagram.com/sinfoist/ " target ="_blank " aria-label ="Twitter " (click) ="sidenav1.toggle() ">
130
+ < div class ="sidenav-item ">
131
+ < span > Instagram</ span >
126
132
< span class ="fa fa-instagram "> </ span >
127
- </ div >
128
- </ a >
129
- < a mat-list-item href ="https://www.youtube.com/user/sinfoist " target ="_blank " aria-label ="Youtube "
130
- (click) ="sidenav1.toggle() ">
131
- < div class ="social-link ">
132
- < span class ="list-item "> Youtube</ span >
133
+ </ div >
134
+ </ a >
135
+ < a href ="https://www.youtube.com/user/sinfoist " target ="_blank " aria-label ="Twitter " (click) ="sidenav1.toggle() ">
136
+ < div class ="sidenav-item ">
137
+ < span > Youtube</ span >
133
138
< span class ="fa fa-youtube "> </ span >
134
- </ div >
135
- </ a >
136
- < a mat-list-item href ="https://www.linkedin.com/company/2760221 " target ="_blank " aria-label ="Linkedin "
137
- (click) ="sidenav1.toggle() ">
138
- < div class ="social-link ">
139
- < span class ="list-item "> Linkedin</ span >
139
+ </ div >
140
+ </ a >
141
+ < a href ="https://www.linkedin.com/company/2760221 " target ="_blank " aria-label ="Twitter " (click) ="sidenav1.toggle() ">
142
+ < div class ="sidenav-item ">
143
+ < span > Linkedin</ span >
140
144
< span class ="fa fa-linkedin "> </ span >
141
- </ div >
142
- </ a >
143
- </ mat-nav-list >
145
+ </ div >
146
+ </ a >
144
147
</ mat-sidenav >
148
+
145
149
< mat-sidenav-content style =" overflow: overlay; font-family: 'Montserrat: !important' ">
146
150
< div class ="content ">
147
151
< section id ="hero " class ="hero-section light-text ">
@@ -397,7 +401,7 @@ <h6>About Us</h6>
397
401
SINFO is a college student and non-profitable organization responsible for the planning of one of
398
402
the
399
403
biggest Tech events
400
- in Portugal. It’s an annual conference that takes place at the Alameda Campus of Técnico Lisboa , in
404
+ in Portugal. It’s an annual conference that takes place at Técnico Innovation Center , in
401
405
the
402
406
capital
403
407
city of Portugal, Lisbon. We had a record breaking attendance of participants last year, achievement
@@ -469,7 +473,7 @@ <h6>Target</h6>
469
473
</ section >
470
474
< mat-divider > </ mat-divider >
471
475
472
- < section #faq class ="price-area section-padding " style ="margin-bottom: 5%; " id =" the-event ">
476
+ < section #offers class ="price-area section-padding " style ="margin-bottom: 5%; ">
473
477
< div class ="container ">
474
478
< div class ="row ">
475
479
< div class ="text-center ">
@@ -479,14 +483,22 @@ <h2 class="text-center">Offers</h2>
479
483
Take advantage of exclusive offers from our partners!
480
484
</ p >
481
485
< div class ="offers ">
482
- < mat-card class ="example-card cursor-pointer " style ="padding: 2%;width: 250px;margin-left: 40%; ">
483
- < a href ="https://www.flytap.com "> < img src ="https://static.sinfo.org/static/31-sinfo/offers/tap.jpg "/> </ a >
486
+ < mat-card *ngFor ="let offer of promocodes " class ="example-card " style ="padding: 5%; ">
487
+ < img src ="{{offer.company.img}} " alt ="{{offer.company.name}} logo ">
488
+
484
489
< div class ="text-alt description ">
485
- < small > Official Carrier of SINFO 31 </ small >
490
+ < small > {{offer.description}} </ small >
486
491
</ div >
487
- < a href ="https://static.sinfo.org/static/31-sinfo/offers/tap_tos.pdf " class ="btn btn-rounded btn-outline-clr btn-sm " style ="margin-top: 2%; ">
492
+ < a *ngIf =" offer.link " href ="{{offer.code}} " target =" _blank " class ="btn btn-rounded btn-outline-clr btn-sm " style ="margin-top: 2%; ">
488
493
Claim Offer
489
494
</ a >
495
+ < div *ngIf ="!offer.link " style ="display:flex; flex-direction: column; margin-top: 2%; ">
496
+ < span >
497
+ < small > Code:</ small >
498
+ < p class ="btn btn-rounded btn-outline-clr btn-sm "> {{offer.code}}</ p >
499
+ </ span >
500
+ < small > Expires: {{offer.expire | date : "dd/MM/yyyy" : "+0100"}}</ small >
501
+ </ div >
490
502
</ mat-card >
491
503
</ div >
492
504
</ div >
0 commit comments