Skip to content

Commit

Permalink
set banner to forward slash for home page link (#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
thescientist13 authored Jul 17, 2020
1 parent c495e11 commit 0930b51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/header/header.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class HeaderComponent extends LitElement {
render() {
return html`
<div class="header">
<a href="https://www.thegreenhouse.io/">
<a href="/" title="Return to the the home page">
<header></header>
<h2 class="caption">A DREAMER BY DESIGN</h2>
</a>
Expand Down
2 changes: 1 addition & 1 deletion src/components/header/header.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ describe('Header Component', () => {
it('should have a link to the project website', () => {
const link = header.shadowRoot.querySelectorAll('.header a')[0];

expect(link.href).toBe('https://www.thegreenhouse.io/');
expect(link.href.replace('http://localhost:9876', '')).toBe('/');
});
});

Expand Down

0 comments on commit 0930b51

Please sign in to comment.