mirror of
https://github.com/Mueller-Patrick/Betterzon.git
synced 2024-12-23 04:05:12 +00:00
wip: component created and added to the app.module.ts
This commit is contained in:
parent
c936ec97c0
commit
0ff4a2e3c2
|
@ -30,6 +30,7 @@ import {MatSidenavModule} from '@angular/material/sidenav';
|
|||
import {MatListModule} from "@angular/material/list";
|
||||
import {BottomBarComponent} from './components/bottom-bar/bottom-bar.component';
|
||||
import { HotDealsWidgetComponent } from './components/hot-deals-widget/hot-deals-widget.component';
|
||||
import { SliderForProductsComponent } from './components/slider-for-products/slider-for-products.component';
|
||||
|
||||
|
||||
// For cookie popup
|
||||
|
@ -87,7 +88,8 @@ const cookieConfig: NgcCookieConsentConfig = {
|
|||
PrivacyComponent,
|
||||
TopBarComponent,
|
||||
BottomBarComponent,
|
||||
HotDealsWidgetComponent
|
||||
HotDealsWidgetComponent,
|
||||
SliderForProductsComponent
|
||||
],
|
||||
imports: [
|
||||
BrowserModule,
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
<p>slider-for-products works!</p>
|
|
@ -0,0 +1,25 @@
|
|||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { SliderForProductsComponent } from './slider-for-products.component';
|
||||
|
||||
describe('SliderForProductsComponent', () => {
|
||||
let component: SliderForProductsComponent;
|
||||
let fixture: ComponentFixture<SliderForProductsComponent>;
|
||||
|
||||
beforeEach(async () => {
|
||||
await TestBed.configureTestingModule({
|
||||
declarations: [ SliderForProductsComponent ]
|
||||
})
|
||||
.compileComponents();
|
||||
});
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(SliderForProductsComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
|
@ -0,0 +1,15 @@
|
|||
import { Component, OnInit } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-slider-for-products',
|
||||
templateUrl: './slider-for-products.component.html',
|
||||
styleUrls: ['./slider-for-products.component.css']
|
||||
})
|
||||
export class SliderForProductsComponent implements OnInit {
|
||||
|
||||
constructor() { }
|
||||
|
||||
ngOnInit(): void {
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user