-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 👌 (Alert) CapitalCamelCase on IconAlert * 👌 (docs) use docus syntax for nav title * 👌 (docs) use docus syntax for nav title * 👌 (examples) csb_link moved to ::code-sandbox component * 🚧 (team page) * ✨ (teams) add core and community md files * 🔧 (windi.config) add sky color * ✨ (teams) teams page * 🐛 (TeamMember) fix invalid key on v-for * 🐛 (teams) change title to name
- Loading branch information
1 parent
c8fd248
commit b9243a1
Showing
95 changed files
with
378 additions
and
241 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<template> | ||
<svg width="15" height="16" viewBox="0 0 15 16" fill="none" xmlns="http://www.w3.org/2000/svg"> | ||
<path | ||
fill-rule="evenodd" | ||
clip-rule="evenodd" | ||
d="M12.3202 13.0704H10.1858V9.72805C10.1858 8.93205 10.1722 7.90645 9.0762 7.90645C7.9642 7.90645 7.7954 8.77525 7.7954 9.67205V13.0704H5.661V6.19845H7.7082V7.13765H7.7378C8.0226 6.59765 8.7194 6.02805 9.7586 6.02805C11.921 6.02805 12.321 7.45045 12.321 9.30165V13.0704H12.3202ZM3.2538 5.26005C3.09118 5.26021 2.93011 5.22833 2.7798 5.16624C2.62949 5.10415 2.49288 5.01306 2.37777 4.89818C2.26266 4.78329 2.17131 4.64686 2.10893 4.49667C2.04655 4.34648 2.01436 4.18548 2.0142 4.02285C2.01405 3.86022 2.04592 3.69915 2.10801 3.54884C2.1701 3.39853 2.26119 3.26192 2.37608 3.14682C2.49096 3.03171 2.62739 2.94036 2.77758 2.87798C2.92777 2.81559 3.08878 2.78341 3.2514 2.78325C3.57985 2.78293 3.89497 2.9131 4.12744 3.14512C4.35991 3.37714 4.49069 3.692 4.491 4.02045C4.49132 4.34889 4.36115 4.66401 4.12913 4.89648C3.89711 5.12895 3.58225 5.25973 3.2538 5.26005ZM2.1842 13.0704H4.3218V6.19845H2.1834V13.0704H2.1842ZM13.3842 0.800049H1.1122C0.525805 0.800049 0.0498047 1.26485 0.0498047 1.83845V14.1608C0.0498047 14.7344 0.525805 15.2 1.1122 15.2H13.3842C13.9714 15.2 14.4498 14.7344 14.4498 14.1608V1.83845C14.4498 1.26485 13.9714 0.800049 13.3842 0.800049Z" | ||
fill="currentColor" | ||
/> | ||
</svg> | ||
</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,37 @@ | ||
<template> | ||
<div class="flex flex-col w-48 items-center pb-12"> | ||
<NuxtImg :src="member.avatarUrl" class="h-24 w-24 rounded-full" /> | ||
<span class="light:text-sky-darker dark:text-white font-semibold pt-4">{{ member.name }}</span> | ||
<span class="text-primary-green font-semibold">{{ member.role }}</span> | ||
<span class="text-gray-400">{{ member.location }}</span> | ||
<ul class="flex space-x-2"> | ||
<li v-for="(social, index) in member.socials" :key="index" class="text-gray-300 hover:text-sky-darker"> | ||
<div v-for="(href, value, i) in social" :key="i"> | ||
<ALink :href="href" :aria-label="value"> | ||
<Component :is="getSocialIcon(value)" class="h-5 w-5" /> | ||
</ALink> | ||
</div> | ||
</li> | ||
</ul> | ||
</div> | ||
</template> | ||
|
||
<script lang="ts"> | ||
import { defineComponent } from '@vue/composition-api' | ||
export default defineComponent({ | ||
props: { | ||
member: { | ||
type: Object, | ||
required: true | ||
} | ||
}, | ||
setup() { | ||
function getSocialIcon(social: String) { | ||
return `Icon${social.charAt(0).toUpperCase() + social.slice(1)}` | ||
} | ||
return { getSocialIcon } | ||
} | ||
}) | ||
</script> |
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,34 @@ | ||
<template> | ||
<div class="py-16 d-container-content"> | ||
<div v-for="team in teams" :key="team.slug"> | ||
<TeamTitle :slug="team.slug" :name="team.name" class="text-center pb-16" /> | ||
<div class="flex justify-center"> | ||
<div class="flex flex-wrap justify-center pb-16"> | ||
<div v-for="member in team.members" :key="member.name"> | ||
<TeamMember :member="member" /> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<script lang="ts"> | ||
import { defineComponent, ref, useContext, useFetch } from '@nuxtjs/composition-api' | ||
export default defineComponent({ | ||
setup() { | ||
const { $docus } = useContext() | ||
const teams = ref() | ||
useFetch(async () => { | ||
teams.value = await $docus | ||
.search('/teams', { deep: true }) | ||
.where({ slug: { $in: ['core', 'community'] } }) | ||
.sortBy('position', 'asc') | ||
.fetch() | ||
}) | ||
return { | ||
teams | ||
} | ||
} | ||
}) | ||
</script> |
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,22 @@ | ||
<template> | ||
<h2 class="text-display-4 font-serif"> | ||
<span class="italic capitalize text-primary-green">{{ slug }}</span> {{ name }} | ||
</h2> | ||
</template> | ||
|
||
<script lang="ts"> | ||
import { defineComponent } from '@vue/composition-api' | ||
export default defineComponent({ | ||
props: { | ||
slug: { | ||
type: String, | ||
required: true | ||
}, | ||
name: { | ||
type: String, | ||
required: true | ||
} | ||
} | ||
}) | ||
</script> |
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
4 changes: 1 addition & 3 deletions
4
nuxtjs.org/content/0.docs/4.directory-structure/13.nuxt-config.md
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
4 changes: 1 addition & 3 deletions
4
nuxtjs.org/content/0.docs/4.directory-structure/3.components.md
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
4 changes: 1 addition & 3 deletions
4
nuxtjs.org/content/0.docs/4.directory-structure/7.middleware.md
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
4 changes: 1 addition & 3 deletions
4
nuxtjs.org/content/0.docs/5.configuration-glossary/1.configuration-alias.md
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
4 changes: 1 addition & 3 deletions
4
....org/content/0.docs/5.configuration-glossary/10.configuration-extend-plugins.md
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
4 changes: 1 addition & 3 deletions
4
nuxtjs.org/content/0.docs/5.configuration-glossary/11.configuration-generate.md
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
4 changes: 1 addition & 3 deletions
4
nuxtjs.org/content/0.docs/5.configuration-glossary/12.configuration-global-name.md
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
4 changes: 1 addition & 3 deletions
4
nuxtjs.org/content/0.docs/5.configuration-glossary/13.configuration-head.md
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
4 changes: 1 addition & 3 deletions
4
nuxtjs.org/content/0.docs/5.configuration-glossary/14.configuration-hooks.md
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
4 changes: 1 addition & 3 deletions
4
nuxtjs.org/content/0.docs/5.configuration-glossary/15.configuration-ignore.md
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
4 changes: 1 addition & 3 deletions
4
nuxtjs.org/content/0.docs/5.configuration-glossary/16.configuration-loading.md
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
4 changes: 1 addition & 3 deletions
4
...g/content/0.docs/5.configuration-glossary/17.configuration-loading-indicator.md
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
4 changes: 1 addition & 3 deletions
4
nuxtjs.org/content/0.docs/5.configuration-glossary/18.configuration-mode.md
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
4 changes: 1 addition & 3 deletions
4
nuxtjs.org/content/0.docs/5.configuration-glossary/19.configuration-modern.md
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
4 changes: 1 addition & 3 deletions
4
nuxtjs.org/content/0.docs/5.configuration-glossary/2.configuration-build.md
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
Oops, something went wrong.