Skip to content

Commit

Permalink
Message de commit pour la branche dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Rutkarf committed Jul 9, 2024
1 parent ecc7037 commit 2c48e52
Show file tree
Hide file tree
Showing 56 changed files with 730 additions and 2,823 deletions.
11 changes: 0 additions & 11 deletions Dockerfile

This file was deleted.

38 changes: 25 additions & 13 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "potits-chats",
"name": "ravepayfazgod",
"version": "0.0.0",
"scripts": {
"ng": "ng",
Expand Down
39 changes: 4 additions & 35 deletions src/app/app-routing.module.ts
Original file line number Diff line number Diff line change
@@ -1,23 +1,15 @@
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';

import { ProfilComponent } from './components/profil/profil.component';
import { ConnexionComponent } from './components/connexion/connexion.component';
import { InscriptionComponent } from './components/inscription/inscription.component';
import { HomeComponent } from './components/home/home.component';
import { ContactComponent } from './components/contact/contact.component';
import { AnimauxListComponent } from './components/animaux/animaux-list/animaux-list.component';
import { AnimauxDetailsComponent } from './components/animaux/animaux-details/animaux-details.component';
import { DonsComponent } from './components/dons/dons.component';
import { AssociationsListComponent } from './components/associations/associations-list/associations-list.component';
import { AProposComponent } from './components/a-propos/a-propos.component';
import { CguComponent } from './components/cgu/cgu.component';
import { ErreurComponent } from './components/erreur/erreur.component';
import { AuthGuard } from '@auth0/auth0-angular';
import { TchatComponent } from './components/tchat/tchat.component';
import { AssociationsDetailsComponent } from './components/associations/associations-details/associations-details.component';
import { BugComponent } from './components/bug/bug.component';

import { TchatComponent } from './components/tchat/tchat.component';n
const routes: Routes = [
{
path: '',
Expand All @@ -41,29 +33,14 @@ const routes: Routes = [
path: 'contact',
component: ContactComponent,
},
{
path: 'animaux/:id',
component: AnimauxDetailsComponent,
},
{
path: 'animaux',
component: AnimauxListComponent,
data: { state: 'animaux' },
},

{
path: 'dons',
component: DonsComponent,
data: { state: 'dons' },
},
{
path: 'associations/:id',
component: AssociationsDetailsComponent,
},
{
path: 'associations',
component: AssociationsListComponent,
data: { state: 'associations' },
},


{
path: 'a-propos',
component: AProposComponent,
Expand All @@ -80,18 +57,10 @@ const routes: Routes = [
path : 'callback',
component : HomeComponent
},
{
path: 'bug',
component: BugComponent
},
{
path: '**',
redirectTo: 'erreur',
},
{
path: 'erreur',
component: ErreurComponent,
},
];

@NgModule({
Expand Down
21 changes: 4 additions & 17 deletions src/app/app.module.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';

import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { FormsModule } from '@angular/forms';
Expand All @@ -12,11 +11,8 @@ import { InscriptionComponent } from './components/inscription/inscription.compo
import { FooterComponent } from './components/footer/footer.component';
import { HomeComponent } from './components/home/home.component';
import { ContactComponent } from './components/contact/contact.component';
import { AnimauxListComponent } from './components/animaux/animaux-list/animaux-list.component';
import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
import { AnimauxDetailsComponent } from './components/animaux/animaux-details/animaux-details.component';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';

import { MatTabsModule } from '@angular/material/tabs';
import { MatToolbarModule } from '@angular/material/toolbar';
import { MatSidenavModule } from '@angular/material/sidenav';
Expand All @@ -30,24 +26,19 @@ import {
import { environment } from 'src/environments/environment';
import { EditorModule, TINYMCE_SCRIPT_SRC } from '@tinymce/tinymce-angular';
import { DonsComponent } from './components/dons/dons.component';
import { ErreurComponent } from './components/erreur/erreur.component';
import { AssociationsListComponent } from './components/associations/associations-list/associations-list.component';
import { AProposComponent } from './components/a-propos/a-propos.component';
import { CguComponent } from './components/cgu/cgu.component';
import { ToastrModule } from 'ngx-toastr';
import { LoaderComponent } from './components/loader/loader.component';
import { TchatComponent } from './components/tchat/tchat.component';
import { TchatIconComponent } from './components/tchat/tchat-icon/tchat-icon.component';
import { TchatMessageComponent } from './components/tchat/tchat-message/tchat-message.component';

import { FileUploadModule } from 'primeng/fileupload';
import { AccordionModule } from 'primeng/accordion';
import { ToastModule } from 'primeng/toast';
import { BugComponent } from './components/bug/bug.component';


import { AssociationsDetailsComponent } from './components/associations/associations-details/associations-details.component';
import { PaginatorModule } from 'primeng/paginator';
import { TotemphraseComponent } from './components/totemphrase/totemphrase.component';
import { EditProfilComponent } from './components/editprofil/editprofil.component';


@NgModule({
Expand All @@ -60,20 +51,16 @@ import { PaginatorModule } from 'primeng/paginator';
InscriptionComponent,
HomeComponent,
ContactComponent,
AnimauxListComponent,
AnimauxDetailsComponent,
NoHeaderFooterDirective,
DonsComponent,
ErreurComponent,
AssociationsListComponent,
AProposComponent,
CguComponent,
LoaderComponent,
TchatComponent,
TchatIconComponent,
TchatMessageComponent,
AssociationsDetailsComponent,
BugComponent,
TotemphraseComponent,
EditProfilComponent,
],
imports: [
BrowserModule,
Expand Down
1 change: 0 additions & 1 deletion src/app/components/accueil/accueil.component.html

This file was deleted.

Empty file.
21 changes: 0 additions & 21 deletions src/app/components/accueil/accueil.component.spec.ts

This file was deleted.

10 changes: 0 additions & 10 deletions src/app/components/accueil/accueil.component.ts

This file was deleted.

Loading

0 comments on commit 2c48e52

Please sign in to comment.