File tree Expand file tree Collapse file tree 3 files changed +80
-6
lines changed
apps/fretonator-web/src/app/pages/contact/contact-success Expand file tree Collapse file tree 3 files changed +80
-6
lines changed Original file line number Diff line number Diff line change 1
- < p > contact-success works!</ p >
1
+ < div class ="success__container ">
2
+ < h1 class ="success__title "> You are amazing! < span role ="img " aria-label ="raising hands emoji "> 🙌🏼️</ span > </ h1 >
3
+ < p class ="success__copy "> I can't thank you enough for your feedback. I will endeavour to reply to all messages when I
4
+ can.</ p >
5
+ < hr class ="success__divider "/>
6
+ < h2 class ="success__subtitle "> Want to get involved?</ h2 >
7
+ < p class ="success__copy "> The Fretonator is open source! If you're a developer and you'd like to contribute to the
8
+ Fretonator,
9
+ you can always < a href ="https://github.com/ishythefishy/fretonator "
10
+ rel ="nofollow noopener norefferer "
11
+ target ="_blank "
12
+ class ="success__link "> fork the
13
+ repository</ a > , do your magic, and send over a
14
+ pull request.</ p >
15
+ < a [routerLink] ="['/'] "
16
+ class ="success__cta "
17
+ (click) ="clickLink() "> Return to the Fretonator</ a >
18
+ </ div >
Original file line number Diff line number Diff line change
1
+ @import ' ../../../../styles/mixins' ;
2
+ @import ' ../../../../styles/typography' ;
3
+
4
+ .success__container {
5
+ max-width : $screen-med ;
6
+ margin-left : auto ;
7
+ margin-right : auto ;
8
+ background-color : var (--form-container-bg-color );
9
+ padding : pxToRem ($grid-unit * 4 );
10
+
11
+ @media screen and (min-width : $screen-med ) {
12
+ padding : pxToRem ($grid-unit * 6 ) pxToRem ($grid-unit * 16 );
13
+ }
14
+ }
15
+
16
+ .success__title {
17
+ @include font_large ;
18
+ color : var (--form-container-color );
19
+ text-align : left ;
20
+ margin-top : pxToRem ($grid-unit * 3 );
21
+ margin-bottom : pxToRem ($grid-unit * 3 );
22
+ }
23
+
24
+ .success__subtitle {
25
+ @include font_medium ;
26
+ color : var (--form-container-color );
27
+ text-align : left ;
28
+ margin-top : pxToRem ($grid-unit * 2 );
29
+ margin-bottom : pxToRem ($grid-unit * 2 );
30
+ }
31
+
32
+ .success__copy {
33
+ @include font_bodyCopy ;
34
+ color : var (--form-container-color );
35
+ text-align : left ;
36
+ margin-bottom : pxToRem ($grid-unit * 2 );
37
+ }
38
+
39
+ .success__link {
40
+ @include text_link ;
41
+ color : var (--peach );
42
+ }
43
+
44
+ .success__divider {
45
+ height : pxToRem (4 );
46
+ background-color : var (--peach );
47
+ margin-top : pxToRem ($grid-unit * 4 );
48
+ margin-bottom : pxToRem ($grid-unit * 4 );
49
+ }
50
+
51
+ .success__cta {
52
+ @include hard_button_base ();
53
+ margin-top : pxToRem ($grid-unit * 4 );
54
+ margin-bottom : pxToRem ($grid-unit * 4 );
55
+ }
56
+
Original file line number Diff line number Diff line change 1
- import { Component , OnInit } from '@angular/core' ;
1
+ import { Component } from '@angular/core' ;
2
+ import { GlobalService } from '../../../global.service' ;
2
3
3
4
@Component ( {
4
5
selector : 'app-contact-success' ,
5
6
templateUrl : './contact-success.component.html' ,
6
7
styleUrls : [ './contact-success.component.scss' ]
7
8
} )
8
- export class ContactSuccessComponent implements OnInit {
9
+ export class ContactSuccessComponent {
9
10
10
- constructor ( ) {
11
+ constructor ( private globalService : GlobalService ) {
11
12
}
12
13
13
- ngOnInit ( ) : void {
14
+ clickLink ( ) {
15
+ this . globalService . getScrollTarget ( ) . scrollIntoView ( ) ;
14
16
}
15
-
16
17
}
You can’t perform that action at this time.
0 commit comments