no longer preloads
All checks were successful
publish.yml / publish (push) Successful in 59s

This commit is contained in:
2026-04-06 20:36:10 +02:00
parent 3a47b5fcbc
commit 4540f1895d
3 changed files with 14 additions and 47 deletions

View File

@@ -1,11 +1,14 @@
import { Routes } from '@angular/router'; import { Routes } from '@angular/router';
import { AboutComponent } from '../pages/about/about.component';
import { Contact } from '../pages/contact/contact';
import { Home } from '../pages/home/home';
export const routes: Routes = [ export const routes: Routes = [
{ path: '', redirectTo: 'home', pathMatch: 'full' }, { path: '', redirectTo: 'home', pathMatch: 'full' },
{ path: 'home', component: Home }, { path: 'home', loadComponent: () => import('../pages/home/home').then((x) => x.Home) },
{ path: 'about', component: AboutComponent }, {
{ path: 'contact', component: Contact }, path: 'about',
loadComponent: () => import('../pages/about/about').then((x) => x.About),
},
{
path: 'contact',
loadComponent: () => import('../pages/contact/contact').then((x) => x.Contact),
},
]; ];

View File

@@ -1,36 +0,0 @@
import { Component } from '@angular/core';
import { CardComponent } from '../../components/card/card';
export interface Pillar {
title: string;
description: string;
}
@Component({
selector: 'app-about',
imports: [CardComponent],
templateUrl: './about.html',
styleUrl: './about.css',
})
export class AboutComponent {
readonly pillars: Pillar[] = [
{
title: 'Angular UI',
description: 'Component-driven interfaces with a strong focus on clarity, speed, and accessibility.',
},
{
title: 'C# Backend',
description: 'Reliable APIs and services shaped with clean architecture and maintainable domain logic.',
},
{
title: 'Flutter Mobile',
description: 'Polished mobile apps with shared design systems and a smooth native feel.',
},
];
readonly values: string[] = [
'Ship practical features with a thoughtful product mindset.',
'Keep the codebase simple, testable, and easy to evolve.',
'Balance visual polish with performance and real-world usability.',
];
}

View File

@@ -1,17 +1,17 @@
import { ComponentFixture, TestBed } from '@angular/core/testing'; import { ComponentFixture, TestBed } from '@angular/core/testing';
import { AboutComponent } from './about.component'; import { About } from './about';
describe('About', () => { describe('About', () => {
let component: AboutComponent; let component: About;
let fixture: ComponentFixture<AboutComponent>; let fixture: ComponentFixture<About>;
beforeEach(async () => { beforeEach(async () => {
await TestBed.configureTestingModule({ await TestBed.configureTestingModule({
imports: [AboutComponent], imports: [About],
}).compileComponents(); }).compileComponents();
fixture = TestBed.createComponent(AboutComponent); fixture = TestBed.createComponent(About);
component = fixture.componentInstance; component = fixture.componentInstance;
await fixture.whenStable(); await fixture.whenStable();
fixture.detectChanges(); fixture.detectChanges();