Skip to content

Commit 59cba4f

Browse files
feat: remove team (#572)
* docs: “Removed the ‘team’ mention * refactor: remove team members import and update heading style in HomePage.vue
1 parent ddcbdb8 commit 59cba4f

File tree

7 files changed

+59
-42
lines changed

7 files changed

+59
-42
lines changed
+49-18
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,56 @@
11
<script setup lang="ts">
22
import { contributors } from '../contributors'
3+
import { AvatarFallback, AvatarImage, AvatarRoot, TooltipContent, TooltipProvider, TooltipRoot, TooltipTrigger } from '@oku-ui/primitives'
4+
5+
function getInitials(name: string) {
6+
return name.match(/\b[A-Z]/gi)?.join('') ?? name[0]
7+
}
38
</script>
49

510
<template>
6-
<div class="flex flex-wrap gap-2 justify-center">
7-
<a
8-
v-for="{ name, avatar } of contributors"
9-
:key="name"
10-
:href="`https://github.com/${name}`"
11-
class="m-0"
12-
rel="noopener noreferrer"
13-
:aria-label="`${name} on GitHub`"
14-
>
15-
<img
16-
loading="lazy"
17-
:src="avatar"
18-
width="50"
19-
height="50"
20-
class="rounded-full h-12 w-12"
21-
:alt="`${name}'s avatar`"
11+
<div class="flex flex-wrap gap-4 justify-center my-8 not-prose">
12+
<TooltipProvider>
13+
<TooltipRoot
14+
v-for="{ name, avatar } of contributors"
15+
:key="name"
16+
:delay-duration="0"
17+
:disable-hoverable-content="true"
2218
>
23-
</a>
19+
<TooltipTrigger as="template">
20+
<AvatarRoot as="template">
21+
<a
22+
:href="`https://github.com/${name}`"
23+
class="group relative inline-flex items-center justify-center"
24+
rel="noopener noreferrer"
25+
:aria-label="`${name} on GitHub`"
26+
target="_blank"
27+
>
28+
<div
29+
class="h-14 w-14 rounded-full overflow-hidden bg-gradient-to-br from-green-400 via-blue-500 to-purple-600 flex items-center justify-center shadow-lg transform transition-all group-hover:scale-110"
30+
>
31+
<AvatarImage
32+
:src="avatar"
33+
:alt="`${name}'s avatar`"
34+
class="h-full w-full object-cover"
35+
/>
36+
<AvatarFallback
37+
class="text-center uppercase text-sm font-semibold text-white"
38+
:delay-ms="1000"
39+
>
40+
{{ getInitials(name) }}
41+
</AvatarFallback>
42+
</div>
43+
</a>
44+
</AvatarRoot>
45+
</TooltipTrigger>
46+
47+
<TooltipContent
48+
class="text-xs font-semibold text-white px-3 py-1 rounded bg-gray-800 border border-gray-600 shadow-md transform transition-opacity duration-200"
49+
side="bottom"
50+
>
51+
{{ name }}
52+
</TooltipContent>
53+
</TooltipRoot>
54+
</TooltipProvider>
2455
</div>
25-
</template>
56+
</template>

.docs/.vitepress/components/HomePage.vue

+3-17
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
<script setup lang="ts">
2-
import { VPTeamMembers } from 'vitepress/theme-without-fonts'
3-
import { teamMembers } from '../contributors'
42
import Contributors from './Contributors.vue'
53
</script>
64

@@ -9,29 +7,17 @@ import Contributors from './Contributors.vue'
97
<div class="mx-auto w-full container max-w-[1152px]">
108
<main class="w-full">
119
<div class="vp-doc flex flex-col items-center mt-10">
12-
<h2
13-
id="meet-the-team"
14-
class="opacity-50 font-medium pt-10 pb-2"
15-
>
16-
Meet The Team
17-
</h2>
18-
<div class="w-full">
19-
<VPTeamMembers
20-
size="small"
21-
:members="teamMembers"
22-
/>
23-
</div>
2410
<h2
2511
id="the-team"
26-
class="op50 font-medium pt-5 pb-2"
12+
class="font-medium pt-5 pb-2"
2713
>
28-
Contributors
14+
Crafted with passion by Vue enthusiasts 💚
2915
</h2>
3016
<p class="text-lg max-w-200 text-center leading-7">
3117
<Contributors />
3218
<br>
3319
<a
34-
href="https://discord.gg/RCGzQQPtAh"
20+
href="https://chat.oku-ui.com"
3521
rel="noopener noreferrer"
3622
>Join the community</a> and get involved!
3723
</p>

.docs/.vitepress/meta.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export const ogImage = `${ogUrl}oku-og.png`
1919
export const github = 'https://github.com/oku-ui/primitives'
2020
export const releases = 'https://github.com/oku-ui/primitives/releases'
2121
export const contributing = 'https://github.com/oku-ui/primitives/blob/main/CONTRIBUTING.md'
22-
export const discord = 'https://discord.gg/RCGzQQPtAh'
22+
export const discord = 'https://chat.oku-ui.com'
2323
// export const mastodon = "https://elk.zone/m.webtoo.ls/@vitest";
2424
// export const twitter = "https://twitter.com/vitest_dev";
2525

.docs/content/overview/introduction.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ We compile all primitives into one package, so you just have to install once, an
6666

6767
To get involved with the Radix community, ask questions, and share tips, join our Discord.
6868

69-
[Join our Discord](https://discord.gg/RCGzQQPtAh)
69+
[Join our Discord](https://chat.oku-ui.com)
7070

7171
### Twitter
7272

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,5 +104,5 @@ pnpm oku # Run Oku CLI (packages/cli) // pnpm oku publish (publish packages)
104104
Oku is made possible by a passionate team and a strong community of developers. If you have any questions or would like to get more involved in the Oku community you can check out:
105105

106106
- [Github Issues](https://github.com/oku-ui/primitives/issues)
107-
- [Discord](https://discord.gg/RCGzQQPtAh)
107+
- [Discord](https://chat.oku-ui.com)
108108
- [Twitter](https://twitter.com/oku_ui)

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<a href="https://www.npmjs.com/package/@oku-ui/primitives"><img src="https://img.shields.io/npm/dm/@oku-ui/primitives.svg?style=flat&colorA=18181B&colorB=28CF8D" alt="Downloads"></a>
1010
<a href="https://github.com/oku-ui/primitives/tree/main/LICENSE"><img src="https://img.shields.io/github/license/nuxt/nuxt.svg?style=flat&colorA=18181B&colorB=28CF8D" alt="License"></a>
1111
<a href="https://primitives.oku-ui.com"><img src="https://img.shields.io/badge/Oku Primitives%20Docs-18181B?logo=nuxt.js" alt="Website"></a>
12-
<a href="https://discord.gg/RCGzQQPtAh"><img src="https://img.shields.io/badge/Oku%20Discord-18181B?logo=discord" alt="Discord"></a>
12+
<a href="https://chat.oku-ui.com"><img src="https://img.shields.io/badge/Oku%20Discord-18181B?logo=discord" alt="Discord"></a>
1313
</p>
1414

1515
# Oku Primitives
@@ -87,7 +87,7 @@ Enter the component you want most in the components, leave the emojis and follow
8787
| [VisuallyHidden](https://vue-primitives.netlify.app/?path=/story/utilities-visuallyhidden--basic) | ✅ Completed || | | |
8888
## Community
8989

90-
- [Discord](https://discord.gg/RCGzQQPtAh) - To get involved with the Oku community, ask questions and share tips.
90+
- [Discord](https://chat.oku-ui.com) - To get involved with the Oku community, ask questions and share tips.
9191
- [Twitter](https://twitter.com/oku_ui) - To receive updates, announcements, blog posts, and general Oku tips.
9292

9393
## Sponsors

packages/core/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<a href="https://www.npmjs.com/package/@oku-ui/primitives"><img src="https://img.shields.io/npm/dm/@oku-ui/primitives.svg?style=flat&colorA=18181B&colorB=28CF8D" alt="Downloads"></a>
1010
<a href="https://github.com/oku-ui/primitives/tree/main/LICENSE"><img src="https://img.shields.io/github/license/nuxt/nuxt.svg?style=flat&colorA=18181B&colorB=28CF8D" alt="License"></a>
1111
<a href="https://nuxt.com"><img src="https://img.shields.io/badge/Oku Primitives%20Docs-18181B?logo=nuxt.js" alt="Website"></a>
12-
<a href="https://discord.gg/RCGzQQPtAh"><img src="https://img.shields.io/badge/Oku%20Discord-18181B?logo=discord" alt="Discord"></a>
12+
<a href="https://chat.oku-ui.com"><img src="https://img.shields.io/badge/Oku%20Discord-18181B?logo=discord" alt="Discord"></a>
1313
</p>
1414

1515
# Oku Primitives
@@ -87,7 +87,7 @@ Enter the component you want most in the components, leave the emojis and follow
8787
| [VisuallyHidden](https://vue-primitives.netlify.app/?path=/story/utilities-visuallyhidden--basic) | ✅ Completed || | | |
8888
## Community
8989

90-
- [Discord](https://discord.gg/RCGzQQPtAh) - To get involved with the Oku community, ask questions and share tips.
90+
- [Discord](https://chat.oku-ui.com) - To get involved with the Oku community, ask questions and share tips.
9191
- [Twitter](https://twitter.com/oku_ui) - To receive updates, announcements, blog posts, and general Oku tips.
9292

9393
## Sponsors

0 commit comments

Comments
 (0)