feat: Landing Page and Login/Register Modal 1.00

This commit is contained in:
OpenVelo Agent
2026-07-21 18:46:12 +00:00
parent 2c124929a6
commit 24059bdf0d
5 changed files with 75 additions and 357 deletions
@@ -1,12 +1,9 @@
import { Injectable } from '@angular/core';
import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
import { renderMarkdownToHtml } from './markdown.pure';
@Injectable({ providedIn: 'root' })
export class MarkdownService {
constructor(private readonly sanitizer: DomSanitizer) {}
render(md: string | null | undefined): SafeHtml {
return this.sanitizer.bypassSecurityTrustHtml(renderMarkdownToHtml(md));
render(md: string | null | undefined): string {
return renderMarkdownToHtml(md);
}
}
@@ -6,7 +6,7 @@
<h1 class="landing-title" data-testid="landing-title">{{ pageTitle() }}</h1>
</header>
<article class="landing-welcome" [innerHTML]="welcomeHtml" data-testid="landing-welcome"></article>
<article class="landing-welcome" [innerHTML]="welcomeHtml()" data-testid="landing-welcome"></article>
<button
type="button"