Skip to content

Commit

Permalink
Add Token terminal and fix formatting to tools hub
Browse files Browse the repository at this point in the history
Titles occasionally not showing.
Allow 3 cards wide
Add token terminal
  • Loading branch information
burns2854 committed Jul 25, 2023
1 parent 44e4ebd commit d0a96fd
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
5 changes: 2 additions & 3 deletions docs/.vuepress/components/DocsCardTools.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@
<div v-if="icon" class="card-icon-row">
<img :src="icon" />
</div>
<div v-if="!!title || $slots.header" :class="['header']">
<!-- eslint-disable-next-line vue/no-v-text-v-html-on-component -->
<component :is="titleTag" v-if="!!title" v-text="title" />
<div :class="['header']">
<component :is="titleTag" v-text="title" />
</div>
<div class="details">
{{ details }}
Expand Down
8 changes: 7 additions & 1 deletion docs/.vuepress/components/Tools.vue
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,12 @@ const analyticsSites = [
details: 'Protocol, pool and token metrics. Additionally, an in-depth financial dashboard and service-provider analytics board.',
link: 'https://balancer.defilytica.com/',
},
{
title: 'Token Terminal',
icon: '/images/toolshub/tokenterminal.jpg',
details: 'Tools to evaluate and track Balancer',
link: 'https://tokenterminal.com/terminal/projects/balancer',
},
{
title: 'Dune veBAL',
icon: '/images/toolshub/DuneLogoCircle.svg',
Expand Down Expand Up @@ -152,7 +158,7 @@ function _getLinkTarget(link) {

<style scoped>
.tools-container {
max-width: 800px;
max-width: 1200px;
margin: 0 auto;
}
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d0a96fd

Please sign in to comment.