Skip to content

Commit 60b9762

Browse files
authored
include affiliate to homepage
1 parent 470a5fb commit 60b9762

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

src/views/HomeView.vue

+14-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script setup>
22
import PrimaryButton from '@/components/PrimaryButton.vue'
33
import BubblesAnimation from '@/components/Layout/BubblesAnimation.vue'
4-
import { HomepageLinks, HomepageProjects } from '@/data/homepageLinks.js'
4+
import { HomepageLinks, HomepageProjects, AffiliateLinks } from '@/data/homepageLinks.js'
55
import FlexGridContainer from '@/components/Layout/FlexGridContainer.vue';
66
77
const lastGridItemClass = 'odd:last-of-type:text-center odd:last-of-type:col-span-full';
@@ -45,6 +45,19 @@ const lastGridItemClass = 'odd:last-of-type:text-center odd:last-of-type:col-spa
4545
</PrimaryButton>
4646
</FlexGridContainer>
4747
</div>
48+
49+
<div class="flex flex-col gap-1 py-4">
50+
<h2 class="font-serif flex flex-row gap-4 md:justify-center">
51+
<span>🔗</span> Recomendações e Afiliados
52+
</h2>
53+
54+
<FlexGridContainer>
55+
<PrimaryButton :class="lastGridItemClass" v-for="button in AffiliateLinks" :key="button.target"
56+
icon="hugeicons:briefcase-06" :target="button.target">
57+
{{ button.label }}
58+
</PrimaryButton>
59+
</FlexGridContainer>
60+
</div>
4861
</div>
4962

5063
<BubblesAnimation></BubblesAnimation>

0 commit comments

Comments
 (0)