diff --git a/frontend/angular.json b/frontend/angular.json index feea49f..03dff4c 100644 --- a/frontend/angular.json +++ b/frontend/angular.json @@ -96,7 +96,10 @@ "ssl": true, "sslCert": ".certs/cert.pem", "sslKey": ".certs/key.pem", - "proxyConfig": "proxy.conf.json" + "proxyConfig": "proxy.conf.json", + "prebundle": { + "exclude": ["@postnord/web-components/loader"] + } }, "configurations": { "production": { diff --git a/frontend/public/favicon.ico b/frontend/public/favicon.ico index b9174db..d5420d0 100644 Binary files a/frontend/public/favicon.ico and b/frontend/public/favicon.ico differ diff --git a/frontend/src/app/app.component.html b/frontend/src/app/app.component.html index f32dbe2..293a5e1 100644 --- a/frontend/src/app/app.component.html +++ b/frontend/src/app/app.component.html @@ -4,6 +4,6 @@ diff --git a/frontend/src/app/app.component.ts b/frontend/src/app/app.component.ts index bfbccb8..034ec14 100644 --- a/frontend/src/app/app.component.ts +++ b/frontend/src/app/app.component.ts @@ -1,21 +1,13 @@ -import { Component, CUSTOM_ELEMENTS_SCHEMA, inject, signal } from '@angular/core'; +import { Component } from '@angular/core'; import { RouterOutlet } from '@angular/router'; -import { ConfettiService } from './confetti/confetti.service'; @Component({ selector: 'app-root', imports: [RouterOutlet], - schemas: [CUSTOM_ELEMENTS_SCHEMA], templateUrl: './app.component.html', styleUrl: './app.component.css' }) export class App { - private readonly confettiService = inject(ConfettiService); - - protected readonly title = signal('PostNordLotteriet'); + // protected readonly title = 'PostNordLotteriet'; protected readonly currentYear = new Date().getFullYear(); - - protected celebrate(): void { - this.confettiService.celebrate(); - } } diff --git a/frontend/src/app/app.routes.ts b/frontend/src/app/app.routes.ts index dc39edb..79984cd 100644 --- a/frontend/src/app/app.routes.ts +++ b/frontend/src/app/app.routes.ts @@ -1,3 +1,10 @@ import { Routes } from '@angular/router'; -export const routes: Routes = []; +import { DrawComponent } from './draw/draw.component'; + +export const routes: Routes = [ + { + path: '', + component: DrawComponent + } +]; diff --git a/frontend/src/app/draw/draw.component.css b/frontend/src/app/draw/draw.component.css new file mode 100644 index 0000000..e69de29 diff --git a/frontend/src/app/draw/draw.component.html b/frontend/src/app/draw/draw.component.html new file mode 100644 index 0000000..2bba3e0 --- /dev/null +++ b/frontend/src/app/draw/draw.component.html @@ -0,0 +1,23 @@ +
Kanske är det du som får post idag
+