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,6 +1,11 @@
{ {
"common": { "common": {
"home": "Startseite", "home": "Startseite",
"about": "Über mich" "about": "Über mich",
"projects": "Projekte"
},
"home": {
"header": "Hi, ich bin<br/>Nico HAIDER.",
"subheader": "Softwareentwickler für Webseiten, Web-Apps, Mobile-Apps, Desktop-Apps und vieles mehr."
} }
} }

View File

@@ -1,6 +1,11 @@
{ {
"common": { "common": {
"home": "Home", "home": "Home",
"about": "About" "about": "About",
"projects": "Projects"
},
"home": {
"header": "Hi, I'm<br/>Nico HAIDER.",
"subheader": "Software developer for websites, web apps, mobile apps, desktop apps and much more."
} }
} }

View File

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

View File

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