File tree Expand file tree Collapse file tree 5 files changed +25
-12
lines changed
apps/fretonator-web/src/app/common Expand file tree Collapse file tree 5 files changed +25
-12
lines changed Original file line number Diff line number Diff line change 2
2
< div class ="footer__inner ">
3
3
4
4
< div class ="footer__leftColumn ">
5
-
6
5
< h6 class ="footer__sectionTitle ">
7
6
Fretonator is open source
8
7
</ h6 >
@@ -64,9 +63,13 @@ <h6 class="footer__sectionTitle">Who made this?</h6>
64
63
rel ="nofollow noopener noreferrer "
65
64
target ="_blank "
66
65
class ="footer__smallButton ">
66
+ < span class ="footer__support__svg ">
67
+ < app-coffee-svg > </ app-coffee-svg >
68
+ </ span >
67
69
Buy me a coffee
68
70
</ a >
69
71
</ div >
72
+
70
73
</ div >
71
74
72
75
< p class ="footer__copyright "> © {{ date | date: 'yyyy' }} Fretonator</ p >
Original file line number Diff line number Diff line change 113
113
}
114
114
115
115
.footer__copyright {
116
- color : var (--grey );
116
+ color : var (--offwhite );
117
117
font-size : pxToRem (12 );
118
118
letter-spacing : var (--letter-spacing-display );
119
119
font-weight : var (--font-weight-bold );
Original file line number Diff line number Diff line change 1
1
import { async , ComponentFixture , TestBed } from '@angular/core/testing' ;
2
2
3
3
import { FooterComponent } from './footer.component' ;
4
+ import { Component } from '@angular/core' ;
5
+ import { RouterTestingModule } from '@angular/router/testing' ;
6
+ import { HeaderModule } from '../header/header.module' ;
7
+ import { FooterModule } from './footer.module' ;
4
8
5
9
describe ( 'FooterComponent' , ( ) => {
6
- let component : FooterComponent ;
7
- let fixture : ComponentFixture < FooterComponent > ;
10
+ @Component ( {
11
+ selector : 'app-footer-spec' ,
12
+ template : `
13
+ <app-footer></app-footer>
14
+ `
15
+ } )
16
+ class FooterComponentSpec {
17
+ }
18
+
19
+ let component : FooterComponentSpec ;
20
+ let fixture : ComponentFixture < FooterComponentSpec > ;
8
21
9
22
beforeEach ( async ( ( ) => {
10
23
TestBed . configureTestingModule ( {
11
- declarations : [ FooterComponent ] ,
24
+ declarations : [ FooterComponentSpec ] ,
25
+ imports : [ FooterModule ]
12
26
} ) . compileComponents ( ) ;
13
27
} ) ) ;
14
28
15
29
beforeEach ( ( ) => {
16
- fixture = TestBed . createComponent ( FooterComponent ) ;
30
+ fixture = TestBed . createComponent ( FooterComponentSpec ) ;
17
31
component = fixture . componentInstance ;
18
32
fixture . detectChanges ( ) ;
19
33
} ) ;
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ import { CommonModule } from '@angular/common';
3
3
import { FooterComponent } from './footer.component' ;
4
4
import { RouterModule } from '@angular/router' ;
5
5
import { CoffeeModule } from '../svgs/coffee/coffee.module' ;
6
- import { CoffeeComponent } from '../svgs/coffee/coffee.component' ;
7
6
8
7
@NgModule ( {
9
8
declarations : [ FooterComponent ] ,
@@ -13,8 +12,7 @@ import { CoffeeComponent } from '../svgs/coffee/coffee.component';
13
12
CoffeeModule ,
14
13
] ,
15
14
exports : [
16
- FooterComponent ,
17
- CoffeeComponent
15
+ FooterComponent
18
16
]
19
17
} )
20
18
export class FooterModule {
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ import { CommonModule } from '@angular/common';
3
3
import { HeaderComponent } from './header.component' ;
4
4
import { RouterModule } from '@angular/router' ;
5
5
import { LogoWithTextModule } from '../svgs/logo-with-text/logo-with-text.module' ;
6
- import { LogoWithTextComponent } from '../svgs/logo-with-text/logo-with-text.component' ;
7
6
import { LogoNoTextModule } from '../svgs/logo-no-text/logo-no-text.module' ;
8
7
9
8
@NgModule ( {
@@ -15,8 +14,7 @@ import { LogoNoTextModule } from '../svgs/logo-no-text/logo-no-text.module';
15
14
LogoNoTextModule
16
15
] ,
17
16
exports : [
18
- HeaderComponent ,
19
- LogoWithTextComponent
17
+ HeaderComponent
20
18
]
21
19
} )
22
20
export class HeaderModule {
You can’t perform that action at this time.
0 commit comments