diff --git a/package-lock.json b/package-lock.json index 3ccce4b..1b14cd0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,6 +17,7 @@ "@angular/platform-browser": "^16.2.0", "@angular/platform-browser-dynamic": "^16.2.0", "@angular/router": "^16.2.0", + "@emailjs/browser": "^3.11.0", "rxjs": "~7.8.0", "tslib": "^2.3.0", "zone.js": "~0.13.0" @@ -2336,6 +2337,14 @@ "node": ">=10.0.0" } }, + "node_modules/@emailjs/browser": { + "version": "3.11.0", + "resolved": "https://registry.npmjs.org/@emailjs/browser/-/browser-3.11.0.tgz", + "integrity": "sha512-RkY3FKZ3fPdK++OeF46mRTFpmmQWCHUVHZH209P3NE4D5sg2Atg7S2wa3gw5062Gl4clt4Wn5SyC4WhlVZC5pA==", + "engines": { + "node": ">=14.0.0" + } + }, "node_modules/@esbuild/android-arm": { "version": "0.18.17", "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.18.17.tgz", @@ -13799,6 +13808,11 @@ "integrity": "sha512-dBVuXR082gk3jsFp7Rd/JI4kytwGHecnCoTtXFb7DB6CNHp4rg5k1bhg0nWdLGLnOV71lmDzGQaLMy8iPLY0pw==", "dev": true }, + "@emailjs/browser": { + "version": "3.11.0", + "resolved": "https://registry.npmjs.org/@emailjs/browser/-/browser-3.11.0.tgz", + "integrity": "sha512-RkY3FKZ3fPdK++OeF46mRTFpmmQWCHUVHZH209P3NE4D5sg2Atg7S2wa3gw5062Gl4clt4Wn5SyC4WhlVZC5pA==" + }, "@esbuild/android-arm": { "version": "0.18.17", "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.18.17.tgz", diff --git a/package.json b/package.json index 6c3c7f8..38c695f 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,7 @@ "@angular/platform-browser": "^16.2.0", "@angular/platform-browser-dynamic": "^16.2.0", "@angular/router": "^16.2.0", + "@emailjs/browser": "^3.11.0", "rxjs": "~7.8.0", "tslib": "^2.3.0", "zone.js": "~0.13.0" diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index 41e2c27..91e0c64 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -4,13 +4,15 @@ import { EditorComponent } from './editor/editor.component'; import { LandingPageComponent } from './landing-page/landing-page.component'; import { OutputComponent } from './output/output.component'; import {DocumentationComponent} from "./documentation/documentation.component"; +import {FormComponent} from "./form/form.component"; // Toutes les routes de l'application sont définies ici const routes: Routes = [ { path: '', component: LandingPageComponent }, { path: 'editor', component: EditorComponent }, { path: 'output', component: OutputComponent }, - { path: 'documentation', component: DocumentationComponent} + { path: 'documentation', component: DocumentationComponent}, + { path: 'contact', component: FormComponent} ]; @NgModule({ diff --git a/src/app/app.component.ts b/src/app/app.component.ts index cb3f820..230837e 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -7,4 +7,4 @@ import { Component } from '@angular/core'; }) export class AppComponent { -} +} \ No newline at end of file diff --git a/src/app/app.module.ts b/src/app/app.module.ts index d4442f2..8fb6071 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -9,6 +9,8 @@ import { EditorComponent } from './editor/editor.component'; import { OutputComponent } from './output/output.component'; import { LandingPageComponent } from './landing-page/landing-page.component'; import { DocumentationComponent } from './documentation/documentation.component'; +import { FormComponent } from './form/form.component'; + @NgModule({ declarations: [ @@ -18,7 +20,8 @@ import { DocumentationComponent } from './documentation/documentation.component' EditorComponent, OutputComponent, LandingPageComponent, - DocumentationComponent + DocumentationComponent, + FormComponent ], imports: [ BrowserModule, diff --git a/src/app/form/form.component.css b/src/app/form/form.component.css new file mode 100644 index 0000000..e69de29 diff --git a/src/app/form/form.component.html b/src/app/form/form.component.html new file mode 100644 index 0000000..6197324 --- /dev/null +++ b/src/app/form/form.component.html @@ -0,0 +1,32 @@ +