-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use router to navigate collective tabs
- Loading branch information
Showing
9 changed files
with
107 additions
and
133 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<script setup lang="ts"> | ||
import { RouterLink, RouterView } from 'vue-router'; | ||
</script> | ||
|
||
<template> | ||
<nav> | ||
<router-link to="membres">Membres contributeurs</router-link> | ||
<router-link to="organisations">Organisations partenaires</router-link> | ||
</nav> | ||
<router-view/> | ||
</template> | ||
|
||
<style lang="scss" scoped> | ||
nav { | ||
background-color: var(--color-tertiary); | ||
display: flex; | ||
justify-content: center; | ||
flex-direction: column; | ||
padding: 3.5rem 0; | ||
gap: 2rem; | ||
> a { | ||
opacity: 0.5; | ||
text-align: center; | ||
color: white; | ||
font-size: 1.5rem; | ||
font-weight: 900; | ||
&.router-link-active { | ||
opacity: 1 !important; | ||
text-decoration: underline; | ||
text-underline-offset: 15px; | ||
} | ||
} | ||
@media screen and (min-width: 796px) { | ||
flex-direction: row; | ||
gap: 4rem; | ||
} | ||
@media screen and (min-width: 960px) { | ||
gap: 8rem; | ||
> a { | ||
font-size: 2rem; | ||
} | ||
} | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<script setup lang="ts"> | ||
import contributors from "@/assets/data/contributors.json"; | ||
import coreMembers from "@/assets/data/core-members.json"; | ||
import MemberList from "@/components/collective/MemberList.vue"; | ||
import AppSection from "@/components/Shared/AppSection.vue"; | ||
</script> | ||
|
||
<template> | ||
<AppSection title="Core team" sub-title="L'équipe qui pilote ecoCode"> | ||
<MemberList :members="coreMembers"/> | ||
Check failure on line 10 in src/views/Page/team/TeamMembers.vue GitHub Actions / build
|
||
</AppSection> | ||
|
||
<AppSection title="Contributrices et contributeurs" background-color="grey"> | ||
<MemberList :members="contributors"/> | ||
</AppSection> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<script setup lang="ts"> | ||
import PartnerOrganizationList from '@/components/collective/PartnerOrganizationList.vue'; | ||
import AppSection from '@/components/Shared/AppSection.vue'; | ||
</script> | ||
|
||
<template> | ||
<AppSection title="De nombreuses organisations s'impliquent sur ecoCode"> | ||
<PartnerOrganizationList :featured="false"/> | ||
</AppSection> | ||
</template> | ||
|
||
<style lang="scss" scoped> | ||
.section { | ||
margin-bottom: 50px; | ||
} | ||
</style> |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.