mirror of
https://github.com/Mueller-Patrick/Betterzon.git
synced 2024-11-12 17:43:57 +00:00
commit
38b20d28cb
|
@ -7,13 +7,15 @@ import {AppRouting} from './app.routing';
|
|||
import {ProductListComponent} from './product-list/product-list.component';
|
||||
import { LandingpageComponent } from './landingpage/landingpage.component';
|
||||
import { ProductDetailPageComponent } from './product-detail-page/product-detail-page.component';
|
||||
import { FooterComponent } from './footer/footer.component';
|
||||
|
||||
@NgModule({
|
||||
declarations: [
|
||||
AppComponent,
|
||||
ProductListComponent,
|
||||
LandingpageComponent,
|
||||
ProductDetailPageComponent
|
||||
ProductDetailPageComponent,
|
||||
FooterComponent
|
||||
],
|
||||
imports: [
|
||||
BrowserModule,
|
||||
|
|
3
Frontend/src/app/footer/footer.component.css
Normal file
3
Frontend/src/app/footer/footer.component.css
Normal file
|
@ -0,0 +1,3 @@
|
|||
.container{
|
||||
text-align: center;
|
||||
}
|
7
Frontend/src/app/footer/footer.component.html
Normal file
7
Frontend/src/app/footer/footer.component.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
<!--- footer --->
|
||||
|
||||
<footer class = "footer">
|
||||
<div class="container">
|
||||
.footer
|
||||
</div>
|
||||
</footer>
|
25
Frontend/src/app/footer/footer.component.spec.ts
Normal file
25
Frontend/src/app/footer/footer.component.spec.ts
Normal file
|
@ -0,0 +1,25 @@
|
|||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { FooterComponent } from './footer.component';
|
||||
|
||||
describe('FooterComponent', () => {
|
||||
let component: FooterComponent;
|
||||
let fixture: ComponentFixture<FooterComponent>;
|
||||
|
||||
beforeEach(async () => {
|
||||
await TestBed.configureTestingModule({
|
||||
declarations: [ FooterComponent ]
|
||||
})
|
||||
.compileComponents();
|
||||
});
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(FooterComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
15
Frontend/src/app/footer/footer.component.ts
Normal file
15
Frontend/src/app/footer/footer.component.ts
Normal file
|
@ -0,0 +1,15 @@
|
|||
import { Component, OnInit } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-footer',
|
||||
templateUrl: './footer.component.html',
|
||||
styleUrls: ['./footer.component.css']
|
||||
})
|
||||
export class FooterComponent implements OnInit {
|
||||
|
||||
constructor() { }
|
||||
|
||||
ngOnInit(): void {
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user