-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
get privacy and imprint from firestore pages
- Loading branch information
Showing
16 changed files
with
87 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 13 additions & 9 deletions
22
src/app/components/hero-section/hero-section.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,14 @@ | ||
<div class="header" [style.backgroundImage]="'url(' + section.image + ')'"> | ||
@if (section.image) { | ||
<div class="header" [style.backgroundImage]="'url(' + section.image + ')'"> | ||
<h1>{{section.headline}}</h1> | ||
<section> | ||
<div class="subhead">{{section.subhead}}</div> | ||
<a mat-button role="button" [href]="section.call_to_action_link"> | ||
{{section.call_to_action}} | ||
</a> | ||
</section> | ||
<div class="img-info">{{section.image_info}}</div> | ||
</div> | ||
} @else { | ||
<h1>{{section.headline}}</h1> | ||
<section> | ||
<div class="subhead">{{section.subhead}}</div> | ||
<a mat-button role="button" [href]="section.call_to_action_link"> | ||
{{section.call_to_action}} | ||
</a> | ||
</section> | ||
<div class="img-info">{{section.image_info}}</div> | ||
</div> | ||
} |
This file was deleted.
Oops, something went wrong.
Empty file.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Empty file.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import { TestBed } from '@angular/core/testing'; | ||
|
||
import { PageService } from './page.service'; | ||
|
||
xdescribe('PageService', () => { | ||
let service: PageService; | ||
|
||
beforeEach(() => { | ||
TestBed.configureTestingModule({}); | ||
service = TestBed.inject(PageService); | ||
}); | ||
|
||
it('should be created', () => { | ||
expect(service).toBeTruthy(); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { Injectable } from '@angular/core'; | ||
import { FirestoreService } from './firestore.service'; | ||
|
||
@Injectable({ | ||
providedIn: 'root' | ||
}) | ||
export class PageService extends FirestoreService { | ||
|
||
constructor() { | ||
super('pages'); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,6 +27,10 @@ a { | |
} | ||
} | ||
|
||
h1 { | ||
letter-spacing: .1rem; | ||
} | ||
|
||
img.marked-image { | ||
max-width: 100%; | ||
height: auto; | ||
|