feat(core): new page "projects"
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
{
|
||||
"common": {
|
||||
"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."
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,11 @@
|
||||
{
|
||||
"common": {
|
||||
"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."
|
||||
}
|
||||
}
|
||||
@@ -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' },
|
||||
];
|
||||
|
||||
@@ -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>
|
||||
|
||||
1
src/app/pages/projects/projects.html
Normal file
1
src/app/pages/projects/projects.html
Normal file
@@ -0,0 +1 @@
|
||||
<p>projects works!</p>
|
||||
0
src/app/pages/projects/projects.scss
Normal file
0
src/app/pages/projects/projects.scss
Normal file
17
src/app/pages/projects/projects.ts
Normal file
17
src/app/pages/projects/projects.ts
Normal 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 {
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user