Skip to content
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.

feat: update header and footer #21

Merged
merged 1 commit into from
Jun 15, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions app/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,10 @@ footer {
text-decoration: underline;
}

.footerContainer a:hover, .footerContainer a:hover * {
text-decoration: underline;
}

.intro {
max-width: 100%;
height: unset;
Expand Down
13 changes: 10 additions & 3 deletions app/ui/footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,23 @@ class Footer extends Component {
<footer>
<div class="footerContainer">
<div class="leftFooter">
© 2020 Open Government Products - A Division of GovTech
<a
href="${this.state.vaultFrontendUrl ||
window.DEFAULTS.LOGIN_URL ||
''}/about"
rel="noopener noreferrer"
>
© 2020 Open Government Products
</a>
</div>
<div class="rightFooter">
<a
href="${this.state.vaultFrontendUrl ||
window.DEFAULTS.LOGIN_URL ||
'/'}"
rel="noopener noreferrer"
>Return to Vault
<i class="bx bx-link-external"></i>
>
<i class="bx bx-arrow-back"></i> Return to Vault
</a>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/ui/header.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class Header extends Component {
'/'}"
>
<i class="bx bx-arrow-back"></i>
<div>Back</div>
<div>Return to Vault</div>
</a>
<a href="/vault-logout">
<i class="bx bx-exit"></i>
Expand Down