This repository has been archived by the owner on Feb 5, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(footer-flash): remove footer from flash issue
Not a permanent fix, but removes footer from flash and keeps header involved. Also, clean up and refactor re #16
- Loading branch information
Showing
9 changed files
with
29 additions
and
37 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -520,6 +520,7 @@ export class AppOpportunities { | |
</div> | ||
)} | ||
</section> | ||
<app-footer /> | ||
</div> | ||
); | ||
} | ||
|
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,46 +1,26 @@ | ||
import '@stencil/router'; | ||
import { Component } from '@stencil/core'; | ||
import { polyfill } from 'smoothscroll-polyfill'; | ||
|
||
polyfill(); | ||
|
||
@Component({ | ||
tag: 'open-forge-app', | ||
styleUrl: 'open-forge-app.scss', | ||
}) | ||
export class OpenForgeApp { | ||
/** | ||
* Handle service worker updates correctly. | ||
* This code will show a toast letting the | ||
* user of the PWA know that there is a | ||
* new version available. When they click the | ||
* reload button it then reloads the page | ||
* so that the new service worker can take over | ||
* and serve the fresh content | ||
*/ | ||
|
||
render() { | ||
console.log('rendering open-forge-app'); | ||
return ( | ||
<div> | ||
<app-nav-header /> | ||
<stencil-router scrollTopOffset={0}> | ||
<stencil-route-switch> | ||
<stencil-route url="/" component="app-home" exact={true} /> | ||
<stencil-route | ||
url="/contact" | ||
component="app-contact" | ||
exact={true} | ||
/> | ||
<stencil-route | ||
url="/opportunities" | ||
component="app-opportunities" | ||
exact={true} | ||
/> | ||
<stencil-route url="/about" component="app-about" exact={true} /> | ||
</stencil-route-switch> | ||
</stencil-router> | ||
<app-footer /> | ||
</div> | ||
<stencil-router scrollTopOffset={0}> | ||
<stencil-route-switch> | ||
<stencil-route url="/" component="app-home" exact={true} /> | ||
<stencil-route url="/contact" component="app-contact" exact={true} /> | ||
<stencil-route | ||
url="/opportunities" | ||
component="app-opportunities" | ||
exact={true} | ||
/> | ||
<stencil-route url="/about" component="app-about" exact={true} /> | ||
</stencil-route-switch> | ||
</stencil-router> | ||
); | ||
} | ||
} |
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,4 +1,7 @@ | ||
@import 'node_modules/bootstrap/scss/bootstrap'; | ||
@import 'variables'; | ||
@import 'mixins'; | ||
|
||
// General | ||
|
||
h2 { | ||
|
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 |
---|---|---|
|
@@ -20,6 +20,7 @@ exports.config = { | |
} | ||
} | ||
], | ||
globalStyle: 'src/styles/main.scss', | ||
copy: [ | ||
{ src: 'robots.txt' } | ||
] | ||
|