From dd34a3e006ceba1b0df27472e06c7392b957d8b7 Mon Sep 17 00:00:00 2001
From: Phan Huy Tran
Date: Wed, 12 Feb 2025 08:39:51 +0100
Subject: [PATCH 1/2] Create initial landing page and route
---
frontend/src/app/app.routes.ts | 5 ++++-
.../src/app/landing-page/landing-page.component.html | 1 +
.../src/app/landing-page/landing-page.component.ts | 11 +++++++++++
3 files changed, 16 insertions(+), 1 deletion(-)
create mode 100644 frontend/src/app/landing-page/landing-page.component.html
create mode 100644 frontend/src/app/landing-page/landing-page.component.ts
diff --git a/frontend/src/app/app.routes.ts b/frontend/src/app/app.routes.ts
index dc39edb..3a96b8f 100644
--- a/frontend/src/app/app.routes.ts
+++ b/frontend/src/app/app.routes.ts
@@ -1,3 +1,6 @@
import { Routes } from '@angular/router';
+import {LandingPageComponent} from "./landing-page/landing-page.component";
-export const routes: Routes = [];
+export const routes: Routes = [
+ { path: '', component: LandingPageComponent }
+];
diff --git a/frontend/src/app/landing-page/landing-page.component.html b/frontend/src/app/landing-page/landing-page.component.html
new file mode 100644
index 0000000..8d1873e
--- /dev/null
+++ b/frontend/src/app/landing-page/landing-page.component.html
@@ -0,0 +1 @@
+landing-page works!
diff --git a/frontend/src/app/landing-page/landing-page.component.ts b/frontend/src/app/landing-page/landing-page.component.ts
new file mode 100644
index 0000000..ed8aba1
--- /dev/null
+++ b/frontend/src/app/landing-page/landing-page.component.ts
@@ -0,0 +1,11 @@
+import { Component } from '@angular/core';
+
+@Component({
+ selector: 'app-landing-page',
+ standalone: true,
+ imports: [],
+ templateUrl: './landing-page.component.html',
+})
+export class LandingPageComponent {
+
+}
--
2.47.2
From 29bc52798016e1a502cd3bc3db44b517135712e6 Mon Sep 17 00:00:00 2001
From: Phan Huy Tran
Date: Wed, 12 Feb 2025 08:40:09 +0100
Subject: [PATCH 2/2] remove example text
---
frontend/src/app/landing-page/landing-page.component.html | 1 -
1 file changed, 1 deletion(-)
diff --git a/frontend/src/app/landing-page/landing-page.component.html b/frontend/src/app/landing-page/landing-page.component.html
index 8d1873e..e69de29 100644
--- a/frontend/src/app/landing-page/landing-page.component.html
+++ b/frontend/src/app/landing-page/landing-page.component.html
@@ -1 +0,0 @@
-landing-page works!
--
2.47.2