diff --git a/.vscode/extensions.json b/.vscode/extensions.json
deleted file mode 100644
index 77b3745..0000000
--- a/.vscode/extensions.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- // For more information, visit: https://go.microsoft.com/fwlink/?linkid=827846
- "recommendations": ["angular.ng-template"]
-}
diff --git a/.vscode/launch.json b/.vscode/launch.json
deleted file mode 100644
index 925af83..0000000
--- a/.vscode/launch.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
- "version": "0.2.0",
- "configurations": [
- {
- "name": "ng serve",
- "type": "chrome",
- "request": "launch",
- "preLaunchTask": "npm: start",
- "url": "http://localhost:4200/"
- },
- {
- "name": "ng test",
- "type": "chrome",
- "request": "launch",
- "preLaunchTask": "npm: test",
- "url": "http://localhost:9876/debug.html"
- }
- ]
-}
diff --git a/.vscode/tasks.json b/.vscode/tasks.json
deleted file mode 100644
index a298b5b..0000000
--- a/.vscode/tasks.json
+++ /dev/null
@@ -1,42 +0,0 @@
-{
- // For more information, visit: https://go.microsoft.com/fwlink/?LinkId=733558
- "version": "2.0.0",
- "tasks": [
- {
- "type": "npm",
- "script": "start",
- "isBackground": true,
- "problemMatcher": {
- "owner": "typescript",
- "pattern": "$tsc",
- "background": {
- "activeOnStart": true,
- "beginsPattern": {
- "regexp": "(.*?)"
- },
- "endsPattern": {
- "regexp": "bundle generation complete"
- }
- }
- }
- },
- {
- "type": "npm",
- "script": "test",
- "isBackground": true,
- "problemMatcher": {
- "owner": "typescript",
- "pattern": "$tsc",
- "background": {
- "activeOnStart": true,
- "beginsPattern": {
- "regexp": "(.*?)"
- },
- "endsPattern": {
- "regexp": "bundle generation complete"
- }
- }
- }
- }
- ]
-}
diff --git a/src/app/app.component.html b/src/app/app.component.html
index a18f398..5734199 100644
--- a/src/app/app.component.html
+++ b/src/app/app.component.html
@@ -1 +1,3 @@
Tiramisu
+
+
\ No newline at end of file
diff --git a/src/app/app.component.ts b/src/app/app.component.ts
index 1a7d3e4..86c087d 100644
--- a/src/app/app.component.ts
+++ b/src/app/app.component.ts
@@ -1,10 +1,10 @@
import { Component } from '@angular/core';
-import { RouterOutlet } from '@angular/router';
+import { RouterOutlet, RouterLink, RouterLinkActive } from '@angular/router';
@Component({
selector: 'app-root',
standalone: true,
- imports: [RouterOutlet],
+ imports: [RouterOutlet, RouterLink, RouterLinkActive],
templateUrl: './app.component.html',
styleUrl: './app.component.css',
})
diff --git a/src/app/app.routes.ts b/src/app/app.routes.ts
index dc39edb..6632ce5 100644
--- a/src/app/app.routes.ts
+++ b/src/app/app.routes.ts
@@ -1,3 +1,10 @@
import { Routes } from '@angular/router';
+import {RecipesComponent} from './recipes/recipes.component'
+import {RecipeComponent} from './recipe/recipe.component'
+import {RecipeAddComponent} from './recipe-add/recipe-add.component'
-export const routes: Routes = [];
+export const routes: Routes = [
+ { path: 'recipes', component: RecipesComponent},
+ { path: 'recipe/add', component: RecipeAddComponent},
+ { path: 'recipe/:id', component: RecipeComponent}
+];
diff --git a/src/app/recipe-add/recipe-add.component.html b/src/app/recipe-add/recipe-add.component.html
new file mode 100644
index 0000000..c7e1b36
--- /dev/null
+++ b/src/app/recipe-add/recipe-add.component.html
@@ -0,0 +1 @@
+
recipe-add works!
diff --git a/src/app/recipe-add/recipe-add.component.spec.ts b/src/app/recipe-add/recipe-add.component.spec.ts
new file mode 100644
index 0000000..fdc48f0
--- /dev/null
+++ b/src/app/recipe-add/recipe-add.component.spec.ts
@@ -0,0 +1,23 @@
+import { ComponentFixture, TestBed } from '@angular/core/testing';
+
+import { RecipeAddComponent } from './recipe-add.component';
+
+describe('RecipeAddComponent', () => {
+ let component: RecipeAddComponent;
+ let fixture: ComponentFixture;
+
+ beforeEach(async () => {
+ await TestBed.configureTestingModule({
+ imports: [RecipeAddComponent]
+ })
+ .compileComponents();
+
+ fixture = TestBed.createComponent(RecipeAddComponent);
+ component = fixture.componentInstance;
+ fixture.detectChanges();
+ });
+
+ it('should create', () => {
+ expect(component).toBeTruthy();
+ });
+});
diff --git a/src/app/recipe-add/recipe-add.component.ts b/src/app/recipe-add/recipe-add.component.ts
new file mode 100644
index 0000000..a68ebba
--- /dev/null
+++ b/src/app/recipe-add/recipe-add.component.ts
@@ -0,0 +1,11 @@
+import { Component } from '@angular/core';
+
+@Component({
+ selector: 'app-recipe-add',
+ standalone: true,
+ imports: [],
+ templateUrl: './recipe-add.component.html',
+})
+export class RecipeAddComponent {
+
+}
diff --git a/src/app/recipe/recipe.component.html b/src/app/recipe/recipe.component.html
new file mode 100644
index 0000000..8cab4a7
--- /dev/null
+++ b/src/app/recipe/recipe.component.html
@@ -0,0 +1 @@
+recipe works!
diff --git a/src/app/recipe/recipe.component.spec.ts b/src/app/recipe/recipe.component.spec.ts
new file mode 100644
index 0000000..92bf4db
--- /dev/null
+++ b/src/app/recipe/recipe.component.spec.ts
@@ -0,0 +1,23 @@
+import { ComponentFixture, TestBed } from '@angular/core/testing';
+
+import { RecipeComponent } from './recipe.component';
+
+describe('RecipeComponent', () => {
+ let component: RecipeComponent;
+ let fixture: ComponentFixture;
+
+ beforeEach(async () => {
+ await TestBed.configureTestingModule({
+ imports: [RecipeComponent]
+ })
+ .compileComponents();
+
+ fixture = TestBed.createComponent(RecipeComponent);
+ component = fixture.componentInstance;
+ fixture.detectChanges();
+ });
+
+ it('should create', () => {
+ expect(component).toBeTruthy();
+ });
+});
diff --git a/src/app/recipe/recipe.component.ts b/src/app/recipe/recipe.component.ts
new file mode 100644
index 0000000..d3b1822
--- /dev/null
+++ b/src/app/recipe/recipe.component.ts
@@ -0,0 +1,17 @@
+import { Component, Input } from '@angular/core';
+
+@Component({
+ selector: 'app-recipe',
+ standalone: true,
+ imports: [],
+ templateUrl: './recipe.component.html',
+})
+export class RecipeComponent {
+
+ @Input()
+ set id(id: string) {
+
+ }
+
+
+}
diff --git a/src/app/recipes/recipes.component.html b/src/app/recipes/recipes.component.html
new file mode 100644
index 0000000..029d6ef
--- /dev/null
+++ b/src/app/recipes/recipes.component.html
@@ -0,0 +1 @@
+recipes works!
diff --git a/src/app/recipes/recipes.component.spec.ts b/src/app/recipes/recipes.component.spec.ts
new file mode 100644
index 0000000..1d081f6
--- /dev/null
+++ b/src/app/recipes/recipes.component.spec.ts
@@ -0,0 +1,23 @@
+import { ComponentFixture, TestBed } from '@angular/core/testing';
+
+import { RecipesComponent } from './recipes.component';
+
+describe('RecipesComponent', () => {
+ let component: RecipesComponent;
+ let fixture: ComponentFixture;
+
+ beforeEach(async () => {
+ await TestBed.configureTestingModule({
+ imports: [RecipesComponent]
+ })
+ .compileComponents();
+
+ fixture = TestBed.createComponent(RecipesComponent);
+ component = fixture.componentInstance;
+ fixture.detectChanges();
+ });
+
+ it('should create', () => {
+ expect(component).toBeTruthy();
+ });
+});
diff --git a/src/app/recipes/recipes.component.ts b/src/app/recipes/recipes.component.ts
new file mode 100644
index 0000000..ff4f2ac
--- /dev/null
+++ b/src/app/recipes/recipes.component.ts
@@ -0,0 +1,11 @@
+import { Component } from '@angular/core';
+
+@Component({
+ selector: 'app-recipes',
+ standalone: true,
+ imports: [],
+ templateUrl: './recipes.component.html',
+})
+export class RecipesComponent {
+
+}