File tree Expand file tree Collapse file tree 5 files changed +27
-0
lines changed Expand file tree Collapse file tree 5 files changed +27
-0
lines changed Original file line number Diff line number Diff line change
1
+
2
+ < footer class ="container-fluid fusio-footer ">
3
+ < span class ="text-muted "> {{name}} is powered by < a href ="https://www.fusio-project.org "> Fusio</ a > | < a routerLink ="/imprint "> Imprint</ a > </ span >
4
+ </ footer >
Original file line number Diff line number Diff line change
1
+ import { Component , OnInit } from '@angular/core' ;
2
+ import { ConfigService } from "../../service/config.service" ;
3
+
4
+ @Component ( {
5
+ selector : 'lib-footer' ,
6
+ templateUrl : './footer.component.html' ,
7
+ styleUrls : [ './footer.component.css' ]
8
+ } )
9
+ export class FooterComponent implements OnInit {
10
+
11
+ name ?: string
12
+
13
+ constructor ( private config : ConfigService ) { }
14
+
15
+ ngOnInit ( ) : void {
16
+ this . name = this . config . getHomeConfig ( ) ?. headline ;
17
+ }
18
+
19
+ }
Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ import {NavigationComponent} from './component/navigation/navigation.component';
37
37
import { PricingComponent } from './component/pricing/pricing.component' ;
38
38
import { BackendContainerComponent } from './component/backend-container/backend-container.component' ;
39
39
import { ImprintComponent } from './component/imprint/imprint.component' ;
40
+ import { FooterComponent } from './component/footer/footer.component' ;
40
41
41
42
@NgModule ( {
42
43
declarations : [
@@ -45,6 +46,7 @@ import {ImprintComponent} from './component/imprint/imprint.component';
45
46
BackendContainerComponent ,
46
47
EmptyComponent ,
47
48
FaqComponent ,
49
+ FooterComponent ,
48
50
HelpComponent ,
49
51
HomeComponent ,
50
52
ImprintComponent ,
@@ -86,6 +88,7 @@ import {ImprintComponent} from './component/imprint/imprint.component';
86
88
BackendContainerComponent ,
87
89
EmptyComponent ,
88
90
FaqComponent ,
91
+ FooterComponent ,
89
92
HelpComponent ,
90
93
HomeComponent ,
91
94
ImprintComponent ,
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ export * from './lib/component/account-container/account-container.component';
11
11
export * from './lib/component/backend-container/backend-container.component' ;
12
12
export * from './lib/component/empty/empty.component' ;
13
13
export * from './lib/component/faq/faq.component' ;
14
+ export * from './lib/component/footer/footer.component' ;
14
15
export * from './lib/component/help/help.component' ;
15
16
export * from './lib/component/home/home.component' ;
16
17
export * from './lib/component/imprint/imprint.component' ;
You can’t perform that action at this time.
0 commit comments