Skip to content

Commit a7053c0

Browse files
committed
add footer
1 parent f43bb32 commit a7053c0

File tree

5 files changed

+27
-0
lines changed

5 files changed

+27
-0
lines changed

projects/fusio-sdk/src/lib/component/footer/footer.component.css

Whitespace-only changes.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
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>
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
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+
}

projects/fusio-sdk/src/lib/fusio-sdk.module.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ import {NavigationComponent} from './component/navigation/navigation.component';
3737
import {PricingComponent} from './component/pricing/pricing.component';
3838
import {BackendContainerComponent} from './component/backend-container/backend-container.component';
3939
import {ImprintComponent} from './component/imprint/imprint.component';
40+
import {FooterComponent} from './component/footer/footer.component';
4041

4142
@NgModule({
4243
declarations: [
@@ -45,6 +46,7 @@ import {ImprintComponent} from './component/imprint/imprint.component';
4546
BackendContainerComponent,
4647
EmptyComponent,
4748
FaqComponent,
49+
FooterComponent,
4850
HelpComponent,
4951
HomeComponent,
5052
ImprintComponent,
@@ -86,6 +88,7 @@ import {ImprintComponent} from './component/imprint/imprint.component';
8688
BackendContainerComponent,
8789
EmptyComponent,
8890
FaqComponent,
91+
FooterComponent,
8992
HelpComponent,
9093
HomeComponent,
9194
ImprintComponent,

projects/fusio-sdk/src/public-api.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ export * from './lib/component/account-container/account-container.component';
1111
export * from './lib/component/backend-container/backend-container.component';
1212
export * from './lib/component/empty/empty.component';
1313
export * from './lib/component/faq/faq.component';
14+
export * from './lib/component/footer/footer.component';
1415
export * from './lib/component/help/help.component';
1516
export * from './lib/component/home/home.component';
1617
export * from './lib/component/imprint/imprint.component';

0 commit comments

Comments
 (0)