mirror of
https://github.com/Mueller-Patrick/Betterzon.git
synced 2024-11-22 14:23:57 +00:00
basic components adjusted.
This commit is contained in:
parent
709a41bcdb
commit
53fcb86295
|
@ -1 +1,9 @@
|
||||||
|
.wrapper_app {
|
||||||
|
padding-bottom: 2.5rem; /* Footer height */
|
||||||
|
}
|
||||||
|
.footer_app {
|
||||||
|
position: relative;
|
||||||
|
bottom: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 2.5rem; /* Footer height */
|
||||||
|
}
|
||||||
|
|
|
@ -1,13 +1,8 @@
|
||||||
<div class="container">
|
|
||||||
<div class="header">
|
|
||||||
<app-top-bar></app-top-bar>
|
|
||||||
</div>
|
|
||||||
<div class="page-content">
|
|
||||||
<router-outlet></router-outlet>
|
<router-outlet></router-outlet>
|
||||||
</div>
|
|
||||||
<div class="footer">
|
|
||||||
<app-bottom-bar></app-bottom-bar>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -32,10 +32,12 @@ import {BottomBarComponent} from './components/bottom-bar/bottom-bar.component';
|
||||||
import { HotDealsWidgetComponent } from './components/hot-deals-widget/hot-deals-widget.component';
|
import { HotDealsWidgetComponent } from './components/hot-deals-widget/hot-deals-widget.component';
|
||||||
import { SliderForProductsComponent } from './components/slider-for-products/slider-for-products.component';
|
import { SliderForProductsComponent } from './components/slider-for-products/slider-for-products.component';
|
||||||
import { RegistrationComponent } from './components/auth/registration/registration.component';
|
import { RegistrationComponent } from './components/auth/registration/registration.component';
|
||||||
import { SigninComponent } from './components/auth/signin/signin.component';
|
|
||||||
import { MatCardModule } from "@angular/material/card";
|
import { MatCardModule } from "@angular/material/card";
|
||||||
import {MatFormField} from "@angular/material/form-field";
|
import {SigninComponent} from "./components/auth/signin/signin.component";
|
||||||
|
import { CopyrightComponent } from './components/copyright/copyright.component';
|
||||||
|
import { GreetingInfoSliderComponent } from './components/greeting-info-slider/greeting-info-slider.component';
|
||||||
|
import { KundenComponent } from './components/kunden/kunden.component';
|
||||||
|
import { AboutUsComponent } from './components/about-us/about-us.component';
|
||||||
|
|
||||||
// For cookie popup
|
// For cookie popup
|
||||||
const cookieConfig: NgcCookieConsentConfig = {
|
const cookieConfig: NgcCookieConsentConfig = {
|
||||||
|
@ -96,6 +98,10 @@ const cookieConfig: NgcCookieConsentConfig = {
|
||||||
SliderForProductsComponent,
|
SliderForProductsComponent,
|
||||||
RegistrationComponent,
|
RegistrationComponent,
|
||||||
SigninComponent,
|
SigninComponent,
|
||||||
|
CopyrightComponent,
|
||||||
|
GreetingInfoSliderComponent,
|
||||||
|
KundenComponent,
|
||||||
|
AboutUsComponent,
|
||||||
],
|
],
|
||||||
imports: [
|
imports: [
|
||||||
BrowserModule,
|
BrowserModule,
|
||||||
|
@ -113,7 +119,6 @@ const cookieConfig: NgcCookieConsentConfig = {
|
||||||
MatListModule,
|
MatListModule,
|
||||||
MatButtonModule,
|
MatButtonModule,
|
||||||
MatIconModule,
|
MatIconModule,
|
||||||
MatFormField,
|
|
||||||
RouterModule.forRoot([
|
RouterModule.forRoot([
|
||||||
{path: '', component: LandingpageComponent},
|
{path: '', component: LandingpageComponent},
|
||||||
]),
|
]),
|
||||||
|
|
|
@ -9,6 +9,8 @@ import {ProductSearchPageComponent} from './pages/product-search-page/product-se
|
||||||
import {PageNotFoundPageComponent} from './pages/page-not-found-page/page-not-found-page.component';
|
import {PageNotFoundPageComponent} from './pages/page-not-found-page/page-not-found-page.component';
|
||||||
import {ImprintComponent} from './pages/imprint/imprint.component';
|
import {ImprintComponent} from './pages/imprint/imprint.component';
|
||||||
import {PrivacyComponent} from './pages/privacy/privacy.component';
|
import {PrivacyComponent} from './pages/privacy/privacy.component';
|
||||||
|
import {SigninComponent} from "./components/auth/signin/signin.component";
|
||||||
|
import {RegistrationComponent} from "./components/auth/registration/registration.component";
|
||||||
|
|
||||||
const routes: Routes = [
|
const routes: Routes = [
|
||||||
{path: '', component: LandingpageComponent, pathMatch: 'full'},
|
{path: '', component: LandingpageComponent, pathMatch: 'full'},
|
||||||
|
@ -16,6 +18,9 @@ const routes: Routes = [
|
||||||
{path: 'product/:id', component: ProductDetailPageComponent},
|
{path: 'product/:id', component: ProductDetailPageComponent},
|
||||||
{path: 'impressum', component: ImprintComponent},
|
{path: 'impressum', component: ImprintComponent},
|
||||||
{path: 'datenschutz', component: PrivacyComponent},
|
{path: 'datenschutz', component: PrivacyComponent},
|
||||||
|
{path: 'signin', component: SigninComponent},
|
||||||
|
{path: 'registration', component: RegistrationComponent},
|
||||||
|
{path: "product-detail", component: ProductDetailPageComponent},
|
||||||
{path: '**', component: PageNotFoundPageComponent}
|
{path: '**', component: PageNotFoundPageComponent}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user