-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
26 changed files
with
201 additions
and
115 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "portfolio", | ||
"version": "1.01a", | ||
"version": "1.01b", | ||
"scripts": { | ||
"ng": "ng", | ||
"start": "ng serve", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
height: 100%; | ||
width: 100%; | ||
display: block; | ||
margin-top: 2em; | ||
} | ||
|
||
.footer-container { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,19 @@ | ||
import { Component } from '@angular/core'; | ||
import { Component, OnInit } from '@angular/core'; | ||
import { ViewControllerService } from 'src/app/services/view-controller.service'; | ||
|
||
@Component({ | ||
selector: 'jm-header', | ||
templateUrl: './header.component.html', | ||
styleUrls: ['./header.component.scss'], | ||
}) | ||
export class HeaderComponent { | ||
export class HeaderComponent implements OnInit { | ||
public get items() { | ||
return ViewControllerService.menuItems; | ||
} | ||
|
||
ngOnInit(): void { | ||
ViewControllerService.updateItems(); | ||
} | ||
|
||
constructor(public vcs: ViewControllerService) {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 35 additions & 1 deletion
36
src/app/modules/shared/page-not-found/page-not-found.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,46 @@ | ||
import { Location } from '@angular/common'; | ||
import { Component } from '@angular/core'; | ||
import { IImage } from 'src/app/interfaces/Image'; | ||
import { ExternalSitesService } from 'src/app/services/external-sites.service'; | ||
import { InitializerService } from 'src/app/services/initializer.service'; | ||
import { ViewControllerService } from 'src/app/services/view-controller.service'; | ||
|
||
interface PNFErrOpts { | ||
image: IImage; | ||
headerMessage: string; | ||
} | ||
|
||
@Component({ | ||
selector: 'jm-page-not-found', | ||
templateUrl: './page-not-found.component.html', | ||
styleUrls: ['./page-not-found.component.scss'], | ||
}) | ||
export class PageNotFoundComponent { | ||
constructor(public loc: Location, public exss: ExternalSitesService) {} | ||
public pnf: PNFErrOpts = { | ||
headerMessage: 'Page not found', | ||
image: { | ||
file: { | ||
address: '../../../../assets/images/page-not-found.jpg', | ||
}, | ||
alt_text: | ||
"I'm giving her all she's got, Captain, but that page can't be found!", | ||
}, | ||
}; | ||
|
||
public err: PNFErrOpts = { | ||
headerMessage: 'Page not found', | ||
image: { | ||
file: { | ||
address: '../../../../assets/images/error.png', | ||
}, | ||
alt_text: 'This is fine!!', | ||
}, | ||
}; | ||
|
||
constructor( | ||
public loc: Location, | ||
public exss: ExternalSitesService, | ||
public inits: InitializerService, | ||
public vcs: ViewControllerService, | ||
) {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.