Skip to content

Commit

Permalink
removed footer of tools-sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
Yehor Podporinov authored and Yehor Podporinov committed Sep 15, 2023
1 parent 970b9bc commit 1bb0412
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 35 deletions.
33 changes: 1 addition & 32 deletions components/ToolsSidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,6 @@
</li>
</ul>
</nav>

<div class="tools-sidebar__footer">
<app-button
v-for="(footerLink, index) in footerLinks"
:key="`${footerLink.text}-${index}`"
:text="footerLink.text"
:href="footerLink.href"
color="secondary"
modification="text"
/>
</div>
</aside>
</div>
</transition>
Expand All @@ -55,7 +44,6 @@ import { AppLogo, AppButton } from '#components'
import { bus, BUS_EVENTS } from '@/helpers'
import { useWindowSize } from '@vueuse/core'
import { WINDOW_BREAKPOINTS, ICON_NAMES } from '@/enums'
import { config } from '@/config'
import { ROUTE_PATH } from '@/constants'
import { i18n } from '~/plugins/localization'
Expand Down Expand Up @@ -90,17 +78,6 @@ const navLinks = computed(() => [
},
])
const footerLinks = [
{
text: t('tools-sidebar.company-link-text'),
href: config.COMPANY_URL,
},
{
text: t('tools-sidebar.github-link-text'),
href: config.GITHUB_URL,
},
]
const { width: windowWidth } = useWindowSize()
const sidebarElement = ref<HTMLElement | null>(null)
const isVisible = ref(false)
Expand Down Expand Up @@ -179,7 +156,7 @@ $aside-max-width: toRem(280);
.tools-sidebar__header {
display: flex;
justify-content: space-between;
margin-bottom: toRem(64);
margin-bottom: toRem(96);
}
.tools-sidebar__nav-links-list {
Expand All @@ -202,14 +179,6 @@ $aside-max-width: toRem(280);
}
}
.tools-sidebar__footer {
display: flex;
align-items: center;
justify-content: center;
margin-top: auto;
gap: toRem(12) toRem(24);
}
.tools-sidebar__transition-enter-active {
animation: fade-unroll-right 0.2s ease-in-out;
}
Expand Down
4 changes: 1 addition & 3 deletions plugins/localization/resources/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,7 @@
"hash-functions-title": "Hash functions",
"converter-title": "Converter",
"unix-epoch-title": "Unix epoch",
"address-predictor-title": "Address predictor",
"company-link-text": "Distributed Lab",
"github-link-text": "Github"
"address-predictor-title": "Address predictor"
},
"abi-page": {
"main-title": "ABI Encoder/Decoder",
Expand Down

0 comments on commit 1bb0412

Please sign in to comment.