Skip to content

Commit

Permalink
feat: core-172 links in place, needs spacing and finesse
Browse files Browse the repository at this point in the history
  • Loading branch information
BoulderBrains committed Nov 9, 2021
1 parent 93a8e55 commit b94579c
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
36 changes: 36 additions & 0 deletions src/components/BorrowerProfile/AnchorLinks.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<template>
<div class="tw-text-primary">
<hr class="tw-bg-secondary tw-gray-300">
<span>
<kv-material-icon
class="tw-my-3"
:icon="mdiAccount"
/>
<a class="tw-text-primary">Borrower story</a>
</span>
<span>
<kv-material-icon
class="tw-my-3"
:icon="mdiFormatListBulleted"
/>
<a class="tw-text-primary">Loan details</a>
</span>
</div>
</template>

<script>
import { mdiAccount, mdiFormatListBulleted } from '@mdi/js';
import KvMaterialIcon from '~/@kiva/kv-components/vue/KvMaterialIcon';
export default {
components: {
KvMaterialIcon,
},
data() {
return {
mdiAccount,
mdiFormatListBulleted,
};
},
};
</script>
5 changes: 5 additions & 0 deletions src/components/BorrowerProfile/LendCta.vue
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,9 @@
>
All shares reserved
</p>

<!-- Adding anchor icons and links here -->
<anchor-links />
</div>
</kv-grid>

Expand Down Expand Up @@ -257,6 +260,7 @@ import gql from 'graphql-tag';
import { setLendAmount } from '@/util/basketUtils';
import { buildPriceArray } from '@/util/loanUtils';
import { createIntersectionObserver } from '@/util/observerUtils';
import AnchorLinks from '@/components/BorrowerProfile/AnchorLinks';
import KvUiSelect from '~/@kiva/kv-components/vue/KvSelect';
import KvMaterialIcon from '~/@kiva/kv-components/vue/KvMaterialIcon';
import KvUiButton from '~/@kiva/kv-components/vue/KvButton';
Expand All @@ -275,6 +279,7 @@ export default {
KvMaterialIcon,
KvUiButton,
KvUiSelect,
AnchorLinks,
},
data() {
return {
Expand Down

0 comments on commit b94579c

Please sign in to comment.