Skip to content

Commit

Permalink
Merge pull request #41 from fabricadesoftware-ifc/feature-40-footerStyle
Browse files Browse the repository at this point in the history
chore: add footer links
  • Loading branch information
Hiansdt authored Jun 1, 2024
2 parents 46ae555 + 23fea61 commit ef45777
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 14 deletions.
8 changes: 6 additions & 2 deletions src/components/FooterComp.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,12 @@ onMounted(async () => {
<h4>{{ itens.title }}</h4>
<ul>
<li v-for="i in itens.accessDetails" :key="i">
<a href=""> {{ i.link }} </a>
<span href=""> {{ i.desc }} </span>
<a :href="i.to" v-if="i.desc !== ''"> {{ i.link }} </a>
<a :href="i.to" target="_blank" v-else>
<box-icon style="margin: 0 8px" color="var(--white)" size="2em" type="logo"
:name="i.link"></box-icon>
</a>
<span v-if="i.desc!==''"> {{ i.desc }} </span>
</li>
</ul>
</div>
Expand Down
33 changes: 21 additions & 12 deletions src/data/mock/footer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,37 +13,46 @@ const footer: Array<IFooter> = [
title: 'LINKS RÁPIDOS',
accessDetails: [
{
link: 'Lorem ipsum'
link: 'Notícias',
to: '/#news',
},
{
link: 'Lorem ipsum'
link: 'Projetos',
to: '/#projects',
},
{
link: 'Lorem ipsum'
link: 'Membros',
to: '/#members',
},
{
link: 'Lorem ipsum'
link: 'Publicações',
to: '/#publications',
},
]
},
{
title: 'BLA',
title: 'Redes Sociais',
accessDetails: [
{
link: 'Lorem ipsum'
link: 'github',
to: 'https://github.com/fabricadesoftware-ifc',
desc: ''
},
{
link: 'Lorem ipsum'
link: 'instagram',
to: 'https://www.instagram.com/f_softwareifc/',
desc: ''
},
{
link: 'Lorem ipsum'
link: 'twitter',
to: 'https://x.com/FabSoftwareIFC',
desc: ''
},
{
link: 'Lorem ipsum'
link: 'linkedin-square',
to: 'https://br.linkedin.com/company/nodes-fabrica-de-software',
desc: ''
},
{
link: 'Lorem ipsum'
}
]
},
{
Expand Down

0 comments on commit ef45777

Please sign in to comment.