Skip to content

Commit

Permalink
feat: Move survey to the footer (#547)
Browse files Browse the repository at this point in the history
Co-authored-by: Michele F. <michele-franchi@users.noreply.github.com>
  • Loading branch information
janmichek and michele-franchi committed Oct 31, 2023
1 parent b6d1c1d commit 458c1ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 28 deletions.
2 changes: 2 additions & 0 deletions src/components/TheFooter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,14 @@ const links = {
{ label: 'Blog', url: 'https://blog.aeternity.com' },
{ label: 'Terms of Service', url: '/terms-of-service' },
{ label: 'Privacy Policy', url: '/privacy-policy' },
{ label: 'Feedback Survey', url: 'https://aeternity.com/aescan-feedback-survey' },
],
developers: [
{ label: 'Node API documentation', url: 'https://api-docs.aeternity.io' },
{ label: 'Middleware API documentation', url: `${MIDDLEWARE_URL}/swagger` },
{ label: 'Contribute on Github', url: 'https://github.com/aeternity/aescan' },
{ label: 'Join the Forum', url: 'https://forum.aeternity.com' },
],
}
</script>
Expand Down
28 changes: 0 additions & 28 deletions src/components/TheHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,6 @@
'header__network-select',
{ 'header__network-select--open': isNavigationOpen }]"/>
</div>
<div class="header__survey">
Help us improve aeScan.
<app-link
to="https://aeternity.com/aescan-feedback-survey"
class="header__survey-link">
Fill out the survey.
</app-link>
</div>
</header>
</template>

Expand Down Expand Up @@ -86,7 +78,6 @@ function closeNavigation() {
<style scoped>
.header {
background: var(--color-white);
flex: 0 0 auto;
&__container {
height: 100%;
Expand Down Expand Up @@ -153,24 +144,5 @@ function closeNavigation() {
&__icon {
margin-left: var(--space-1);
}
&__survey {
display: flex;
justify-content: center;
align-items: center;
height: 24px;
background: var(--color-midnight);
color: var(--color-white);
font-family: var(--font-monospaced);
font-size: 11px;
line-height: 16px;
letter-spacing: 0.0015em;
}
&__survey-link {
color: var(--color-white);
text-decoration: underline;
margin-left: var(--space-0);
}
}
</style>

0 comments on commit 458c1ce

Please sign in to comment.