Merge branch 'paul' into dev

This commit is contained in:
Your Name 2022-01-20 12:18:00 +01:00
commit e45c940f30
36 changed files with 179 additions and 10 deletions

View file

@ -1,3 +1,7 @@
<div *ngFor="let category of listCategories">
<app-card-category [categoryData]="category"></app-card-category>
<h2 class="titre ">Catégories :</h2>
<div class="separation"></div>
<div class="parent d-flex justify-content-center align-items-center flex-wrap flex-row ">
<div *ngFor="let category of listCategories">
<app-card-category [categoryData]="category"></app-card-category>
</div>
</div>

View file

@ -0,0 +1,20 @@
.parent{
width: auto;
margin: 3em 10em 0 10em ;
}
.separation{
display: flex;
justify-content: flex-start;
border-bottom: 2px solid #CE0000;
max-width: 83%;
}
.titre{
display: flex;
justify-content: flex-start;
margin: 0 0 0.5em 8.2em;
color: #CE0000;
}

View file

@ -0,0 +1 @@
<p>page-not-found works!</p>

View file

@ -0,0 +1,25 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { PageNotFoundComponent } from './page-not-found.component';
describe('PageNotFoundComponent', () => {
let component: PageNotFoundComponent;
let fixture: ComponentFixture<PageNotFoundComponent>;
beforeEach(async () => {
await TestBed.configureTestingModule({
declarations: [ PageNotFoundComponent ]
})
.compileComponents();
});
beforeEach(() => {
fixture = TestBed.createComponent(PageNotFoundComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});

View file

@ -0,0 +1,15 @@
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-page-not-found',
templateUrl: './page-not-found.component.html',
styleUrls: ['./page-not-found.component.scss']
})
export class PageNotFoundComponent implements OnInit {
constructor() { }
ngOnInit(): void {
}
}

View file

@ -0,0 +1,3 @@
<h2 class="titre ">Catégories :</h2>
<div class="separation"></div>

View file

@ -0,0 +1,15 @@
.separation{
display: flex;
justify-content: flex-start;
border-bottom: 2px solid #CE0000;
max-width: 83%;
}
.titre{
display: flex;
justify-content: flex-start;
margin: 0 0 0.5em 8.2em;
color: #CE0000;
}

View file

@ -0,0 +1,25 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { RestoPageComponent } from './resto-page.component';
describe('RestoPageComponent', () => {
let component: RestoPageComponent;
let fixture: ComponentFixture<RestoPageComponent>;
beforeEach(async () => {
await TestBed.configureTestingModule({
declarations: [ RestoPageComponent ]
})
.compileComponents();
});
beforeEach(() => {
fixture = TestBed.createComponent(RestoPageComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});

View file

@ -0,0 +1,15 @@
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-resto-page',
templateUrl: './resto-page.component.html',
styleUrls: ['./resto-page.component.scss']
})
export class RestoPageComponent implements OnInit {
constructor() { }
ngOnInit(): void {
}
}