From 30574612311ce0837333cf4cb9362b93e295bd6d Mon Sep 17 00:00:00 2001 From: Xander Vertegaal Date: Wed, 9 Oct 2024 16:51:03 +0200 Subject: [PATCH] Add MP homepage --- .../minimalist-parser.component.html | 1 + .../minimalist-parser.component.scss | 0 .../minimalist-parser.component.spec.ts | 23 +++++++++++++++++++ .../minimalist-parser.component.ts | 12 ++++++++++ frontend/src/app/routes.ts | 5 ++++ 5 files changed, 41 insertions(+) create mode 100644 frontend/src/app/minimalist-parser/minimalist-parser.component.html create mode 100644 frontend/src/app/minimalist-parser/minimalist-parser.component.scss create mode 100644 frontend/src/app/minimalist-parser/minimalist-parser.component.spec.ts create mode 100644 frontend/src/app/minimalist-parser/minimalist-parser.component.ts diff --git a/frontend/src/app/minimalist-parser/minimalist-parser.component.html b/frontend/src/app/minimalist-parser/minimalist-parser.component.html new file mode 100644 index 0000000..d1fc4a2 --- /dev/null +++ b/frontend/src/app/minimalist-parser/minimalist-parser.component.html @@ -0,0 +1 @@ +

minimalist-parser works!

diff --git a/frontend/src/app/minimalist-parser/minimalist-parser.component.scss b/frontend/src/app/minimalist-parser/minimalist-parser.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/frontend/src/app/minimalist-parser/minimalist-parser.component.spec.ts b/frontend/src/app/minimalist-parser/minimalist-parser.component.spec.ts new file mode 100644 index 0000000..39e5479 --- /dev/null +++ b/frontend/src/app/minimalist-parser/minimalist-parser.component.spec.ts @@ -0,0 +1,23 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { MinimalistParserComponent } from './minimalist-parser.component'; + +describe('MinimalistParserComponent', () => { + let component: MinimalistParserComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + imports: [MinimalistParserComponent] + }) + .compileComponents(); + + fixture = TestBed.createComponent(MinimalistParserComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/frontend/src/app/minimalist-parser/minimalist-parser.component.ts b/frontend/src/app/minimalist-parser/minimalist-parser.component.ts new file mode 100644 index 0000000..14c6b8a --- /dev/null +++ b/frontend/src/app/minimalist-parser/minimalist-parser.component.ts @@ -0,0 +1,12 @@ +import { Component } from '@angular/core'; + +@Component({ + selector: 'pp-minimalist-parser', + standalone: true, + imports: [], + templateUrl: './minimalist-parser.component.html', + styleUrl: './minimalist-parser.component.scss' +}) +export class MinimalistParserComponent { + +} diff --git a/frontend/src/app/routes.ts b/frontend/src/app/routes.ts index befc0d2..10ff8b5 100644 --- a/frontend/src/app/routes.ts +++ b/frontend/src/app/routes.ts @@ -7,6 +7,7 @@ import { SpindleAboutComponent } from './spindle/spindle-about/spindle-about.com import { SpindleNotationComponent } from './spindle/spindle-notation/spindle-notation.component'; import { ReferencesComponent } from './references/references.component'; import { SampleComponent } from './sample/sample.component'; +import { MinimalistParserComponent } from './minimalist-parser/minimalist-parser.component'; const routes: Routes = [ { @@ -43,6 +44,10 @@ const routes: Routes = [ } ] }, + { + path: 'minimalist-parser', + component: MinimalistParserComponent + }, { path: 'about', component: HomeComponent,