feat(core): new page "projects"

This commit is contained in:
nico.hdr8
2025-10-06 14:57:50 +02:00
parent 9a855f8543
commit 505f505176
7 changed files with 35 additions and 2 deletions

View File

@@ -1,9 +1,11 @@
import { Routes } from '@angular/router';
import { Home } from './pages/home/home';
import { About } from './pages/about/about';
import { Projects } from './pages/projects/projects';
export const routes: Routes = [
{ path: '', component: Home },
{ path: 'about', component: About },
{ path: 'projects', component: Projects },
{ path: '**', redirectTo: '', pathMatch: 'full' },
];

View File

@@ -13,6 +13,9 @@
<a routerLink="/about" routerLinkActive="active">
{{ 'common.about' | translate }}
</a>
<a routerLink="/projects" routerLinkActive="active">
{{ 'common.projects' | translate }}
</a>
</li>
</ul>
</div>

View File

@@ -0,0 +1 @@
<p>projects works!</p>

View File

View File

@@ -0,0 +1,17 @@
import { Component } from '@angular/core';
import { TranslatePipe } from '@ngx-translate/core';
import { ChipModule } from 'primeng/chip';
import { FontAwesomeModule } from "@fortawesome/angular-fontawesome";
import { ButtonModule } from 'primeng/button';
@Component({
selector: 'app-home',
imports: [],
templateUrl: './projects.html',
styleUrl: './projects.scss'
})
export class Projects {
}