diff --git a/README.md b/README.md index 728d2642a..6037008a3 100644 --- a/README.md +++ b/README.md @@ -17,8 +17,6 @@ MIT - - All Contributors @@ -55,77 +53,6 @@ Be kind to each other and please read our [code of conduct](CODE_OF_CONDUCT.md).
-## Contributors - -Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)): - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Shai Reznik
Shai Reznik

πŸ’» ⚠️ πŸš‡ πŸ“– 🚧 πŸ‘€ πŸ€”
Gil Fink
Gil Fink

πŸš‡ ⚠️ πŸ’» πŸ“– πŸ€” πŸ‘€
Giorgio Boa
Giorgio Boa

πŸ’» ⚠️ πŸ“– πŸ€” πŸ‘€
John Reemar Dela Rosa
John Reemar Dela Rosa

🚧
Glenn Becker
Glenn Becker

πŸ’» ⚠️ πŸ“– πŸ€” πŸ‘€
MichaΕ‚ WΓ³jcik
MichaΕ‚ WΓ³jcik

πŸ’» πŸ“–
Shiroi Negai
Shiroi Negai

πŸ’» πŸ€” πŸ› ️️️️♿️
Fabio Biondi
Fabio Biondi

πŸ’» πŸ€”
Obvio
Obvio

πŸ’» πŸ€” πŸ“– πŸ› ️️️️♿️
Leonardo Montini
Leonardo Montini

πŸ’» πŸ›
Itai Mizlish
Itai Mizlish

πŸ’» πŸ“–
Luis Beqja
Luis Beqja

πŸ’»
Riccardo Vettore
Riccardo Vettore

πŸ’»
Ken aka Frosty
Ken aka Frosty

πŸ’» πŸ›
Alessandro Sebastiani
Alessandro Sebastiani

πŸ’» πŸ“– πŸ›
Wahyu Febrianto
Wahyu Febrianto

πŸ’» πŸ›
Dmitriy Stepanenko
Dmitriy Stepanenko

🚧
Yishay Hazan
Yishay Hazan

πŸ’»
Rossella Mascia
Rossella Mascia

πŸ’»
Sai Srikar Dumpeti
Sai Srikar Dumpeti

πŸ’»
Thomas LepΓ©rou
Thomas LepΓ©rou

πŸ“– πŸ’»
Patryk Godlewski
Patryk Godlewski

πŸ› πŸ’»
Pranit Yawalkar
Pranit Yawalkar

πŸ› πŸ’»
Greg Ederer
Greg Ederer

πŸ’»
Naor Peled
Naor Peled

⚠️ πŸ’»
Igal Klebanov
Igal Klebanov

⚠️ πŸ’»
Jack Shelton
Jack Shelton

πŸ’» πŸ“–
Vasu Singh
Vasu Singh

πŸ’»
Wout Mertens
Wout Mertens

πŸ’» πŸ”¬ πŸ€” ⚠️ πŸ“–
Zankel-Engineering
Zankel-Engineering

πŸ’» ⚠️ πŸ› ️️️️♿️
Adam
Adam

πŸ“– πŸ›
Georgi Parlakov
Georgi Parlakov

πŸ’» πŸ› 🚧
Noelia
Noelia

πŸ’» πŸ€” 🚧
Alex Tocar
Alex Tocar

πŸ’» πŸ€” 🚧
MaΓ―eul
MaΓ―eul

πŸ’» πŸ€” 🚧
TheMcnafaha
TheMcnafaha

πŸ’» πŸ€” 🚧
Matteo Pietro Dazzi
Matteo Pietro Dazzi

πŸ“– 🚧
Alen Ajam
Alen Ajam

πŸ“– 🚧
- - - - - - -This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome! - -
- ## Related Links - [Qwik UI Discord](https://discord.gg/PVWUUejrez) diff --git a/apps/website/src/_state/component-statuses.ts b/apps/website/src/_state/component-statuses.ts index 5894906dd..48e4a9a3a 100644 --- a/apps/website/src/_state/component-statuses.ts +++ b/apps/website/src/_state/component-statuses.ts @@ -11,43 +11,13 @@ export type ComponentKitsStatuses = { export const statusByComponent: ComponentKitsStatuses = { styled: { - Accordion: ComponentStatus.Beta, - Avatar: ComponentStatus.Draft, - Alert: ComponentStatus.Beta, - Badge: ComponentStatus.Beta, - Breadcrumb: ComponentStatus.Draft, - Button: ComponentStatus.Beta, - Card: ComponentStatus.Beta, Checkbox: ComponentStatus.Draft, - Combobox: ComponentStatus.Draft, Dropdown: ComponentStatus.Draft, - Input: ComponentStatus.Draft, - Label: ComponentStatus.Beta, - Modal: ComponentStatus.Draft, - Pagination: ComponentStatus.Draft, - Popover: ComponentStatus.Draft, - Progress: ComponentStatus.Draft, RadioGroup: ComponentStatus.Draft, - Select: ComponentStatus.Draft, - Separator: ComponentStatus.Beta, - Skeleton: ComponentStatus.Beta, - Tabs: ComponentStatus.Beta, - Toggle: ComponentStatus.Draft, - ToggleGroup: ComponentStatus.Draft, - Textarea: ComponentStatus.Draft, }, headless: { - Carousel: ComponentStatus.Beta, - Combobox: ComponentStatus.Beta, Checkbox: ComponentStatus.Draft, Dropdown: ComponentStatus.Draft, - Label: ComponentStatus.Beta, Pagination: ComponentStatus.Draft, - Progress: ComponentStatus.Beta, - Select: ComponentStatus.Beta, - Tabs: ComponentStatus.Beta, - Toggle: ComponentStatus.Beta, - 'Toggle Group': ComponentStatus.Beta, - Tooltip: ComponentStatus.Beta, }, }; diff --git a/apps/website/src/components/contributor/contributor.tsx b/apps/website/src/components/contributor/contributor.tsx new file mode 100644 index 000000000..5faed9893 --- /dev/null +++ b/apps/website/src/components/contributor/contributor.tsx @@ -0,0 +1,6 @@ +interface Contributor { + login: string; + avatar_url: string; + html_url: string; + contributions: number; +} diff --git a/apps/website/src/components/navigation-docs/navigation-docs.tsx b/apps/website/src/components/navigation-docs/navigation-docs.tsx index 9078277e1..b94ebda0a 100644 --- a/apps/website/src/components/navigation-docs/navigation-docs.tsx +++ b/apps/website/src/components/navigation-docs/navigation-docs.tsx @@ -29,6 +29,10 @@ const defaultLinksGroups: LinkGroup[] = [ name: 'Contributing', href: '/docs/contributing/', }, + { + name: 'Contributors', + href: '/docs/contributors/', + }, { name: 'Headless', href: '/docs/headless/introduction/', diff --git a/apps/website/src/routes/docs/contributors/index.tsx b/apps/website/src/routes/docs/contributors/index.tsx new file mode 100644 index 000000000..1af35c527 --- /dev/null +++ b/apps/website/src/routes/docs/contributors/index.tsx @@ -0,0 +1,93 @@ +import { component$ } from '@builder.io/qwik'; +import { RequestHandler, routeLoader$ } from '@builder.io/qwik-city'; +import { Badge } from '@qwik-ui/styled'; + +export const onGet: RequestHandler = async ({ cacheControl }) => { + cacheControl({ + staleWhileRevalidate: 60 * 60 * 24 * 7, + // Don't hit the Github API more than once every 10 minutes + maxAge: 10 * 60, + }); +}; + +export const useContributors = routeLoader$(async () => { + const response = await fetch( + 'https://api.github.com/repos/qwikifiers/qwik-ui/contributors', + ); + + if (!response.ok) { + console.error('Failed to fetch contributors', response); + return []; + } + + const contributors: Contributor[] = await response.json(); + + // @ts-expect-error m.type actually is valid + return contributors.filter((m) => m.type === 'User'); +}); + +export default component$(() => { + const contributors = useContributors(); + + return ( + <> +
+
+

+ Contributors +

+

+ Our project's success is driven by these incredible contributors. +

+
+
+ +
+
+ +
+
+ + {/* Call to Action */} +
+
+

Join Our Community

+

+ Ready to make an impact? Contribute to Qwik UI and be part of something great. +

+ + Get Involved + +
+
+ + ); +}); diff --git a/apps/website/src/routes/docs/headless/menu.md b/apps/website/src/routes/docs/headless/menu.md index 279802986..55474c23d 100644 --- a/apps/website/src/routes/docs/headless/menu.md +++ b/apps/website/src/routes/docs/headless/menu.md @@ -3,6 +3,7 @@ ## Qwik UI - [Contributing](/docs/contributing) +- [Contributors](/docs/contributors) - [Headless](/docs/headless/introduction) - [Styled](/docs/styled/introduction) diff --git a/apps/website/src/routes/docs/styled/menu.md b/apps/website/src/routes/docs/styled/menu.md index c813c7584..0945d72aa 100644 --- a/apps/website/src/routes/docs/styled/menu.md +++ b/apps/website/src/routes/docs/styled/menu.md @@ -3,6 +3,7 @@ ## Qwik UI - [Contributing](/docs/contributing) +- [Contributors](/docs/contributors) - [Headless](/docs/headless/introduction) - [Styled](/docs/styled/introduction) diff --git a/package.json b/package.json index 20c01c7f7..f7297181d 100644 --- a/package.json +++ b/package.json @@ -80,7 +80,6 @@ "@typescript-eslint/parser": "7.9.0", "@vitest/coverage-v8": "^1.6.0", "@vitest/ui": "^1.6.0", - "all-contributors-cli": "^6.26.1", "ansis": "3.2.0", "autoprefixer": "^10.4.19", "axe-core": "^4.9.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2176b178e..7ffc38817 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -119,9 +119,6 @@ importers: '@vitest/ui': specifier: ^1.6.0 version: 1.6.0(vitest@1.6.0) - all-contributors-cli: - specifier: ^6.26.1 - version: 6.26.1 ansis: specifier: 3.2.0 version: 3.2.0 @@ -2790,11 +2787,6 @@ packages: ajv@8.12.0: resolution: {integrity: sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==} - all-contributors-cli@6.26.1: - resolution: {integrity: sha512-Ymgo3FJACRBEd1eE653FD1J/+uD0kqpUNYfr9zNC1Qby0LgbhDBzB3EF6uvkAbYpycStkk41J+0oo37Lc02yEw==} - engines: {node: '>=4'} - hasBin: true - ansi-align@3.0.1: resolution: {integrity: sha512-IOfwwBF5iczOjp/WeY4YxyjqAFMQoZufdQWDd19SEExbVLNXqvpzSJ/M7Za4/sCPmQ0+GRquoA7bGcINcxew6w==} @@ -5335,10 +5327,6 @@ packages: json-buffer@3.0.1: resolution: {integrity: sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==} - json-fixer@1.6.15: - resolution: {integrity: sha512-TuDuZ5KrgyjoCIppdPXBMqiGfota55+odM+j2cQ5rt/XKyKmqGB3Whz1F8SN8+60yYGy/Nu5lbRZ+rx8kBIvBw==} - engines: {node: '>=10'} - json-parse-even-better-errors@2.3.1: resolution: {integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==} @@ -6366,11 +6354,6 @@ packages: pathval@1.1.1: resolution: {integrity: sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==} - pegjs@0.10.0: - resolution: {integrity: sha512-qI5+oFNEGi3L5HAxDwN2LA4Gg7irF70Zs25edhjld9QemOgp0CbvMtbFcMvFtEo1OityPrcCzkQFB8JP/hxgow==} - engines: {node: '>=0.10'} - hasBin: true - pend@1.2.0: resolution: {integrity: sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==} @@ -6406,10 +6389,6 @@ packages: resolution: {integrity: sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==} engines: {node: '>=6'} - pify@5.0.0: - resolution: {integrity: sha512-eW/gHNMlxdSP6dmG6uJip6FXN0EQBwm2clYYd8Wul42Cwu/DK8HEftzsapcNdYe2MfLiIwZqsDk2RDEsTE79hA==} - engines: {node: '>=10'} - pinkie-promise@2.0.1: resolution: {integrity: sha512-0Gni6D4UcLTbv9c57DfxDGdr41XfgUjqWZu492f0cIGr16zDU06BWP/RAEvOuo7CQ0CNjHaLlM59YJJFm3NWlw==} engines: {node: '>=0.10.0'} @@ -9894,12 +9873,6 @@ snapshots: '@nodelib/fs.scandir': 2.1.5 fastq: 1.17.1 - '@nrwl/devkit@19.1.1(nx@19.1.1(@swc-node/register@1.9.1(@swc/core@1.5.24(@swc/helpers@0.5.11))(@swc/types@0.1.7)(typescript@5.4.5))(@swc/core@1.5.24(@swc/helpers@0.5.11)))': - dependencies: - '@nx/devkit': 19.1.1(nx@19.1.1(@swc-node/register@1.9.1(@swc/core@1.5.24(@swc/helpers@0.5.11))(@swc/types@0.1.7)(typescript@5.4.5))(@swc/core@1.5.24(@swc/helpers@0.5.11))) - transitivePeerDependencies: - - nx - '@nrwl/devkit@19.1.1(nx@19.4.2(@swc-node/register@1.9.1(@swc/core@1.5.24(@swc/helpers@0.5.11))(@swc/types@0.1.7)(typescript@5.4.5))(@swc/core@1.5.24(@swc/helpers@0.5.11)))': dependencies: '@nx/devkit': 19.1.1(nx@19.4.2(@swc-node/register@1.9.1(@swc/core@1.5.24(@swc/helpers@0.5.11))(@swc/types@0.1.7)(typescript@5.4.5))(@swc/core@1.5.24(@swc/helpers@0.5.11))) @@ -10095,7 +10068,7 @@ snapshots: '@nx/devkit@19.1.1(nx@19.1.1(@swc-node/register@1.9.1(@swc/core@1.5.24(@swc/helpers@0.5.11))(@swc/types@0.1.7)(typescript@5.4.5))(@swc/core@1.5.24(@swc/helpers@0.5.11)))': dependencies: - '@nrwl/devkit': 19.1.1(nx@19.1.1(@swc-node/register@1.9.1(@swc/core@1.5.24(@swc/helpers@0.5.11))(@swc/types@0.1.7)(typescript@5.4.5))(@swc/core@1.5.24(@swc/helpers@0.5.11))) + '@nrwl/devkit': 19.1.1(nx@19.4.2(@swc-node/register@1.9.1(@swc/core@1.5.24(@swc/helpers@0.5.11))(@swc/types@0.1.7)(typescript@5.4.5))(@swc/core@1.5.24(@swc/helpers@0.5.11))) ejs: 3.1.10 enquirer: 2.3.6 ignore: 5.3.1 @@ -11538,23 +11511,6 @@ snapshots: require-from-string: 2.0.2 uri-js: 4.4.1 - all-contributors-cli@6.26.1: - dependencies: - '@babel/runtime': 7.24.6 - async: 3.2.5 - chalk: 4.1.2 - didyoumean: 1.2.2 - inquirer: 7.3.3 - json-fixer: 1.6.15 - lodash: 4.17.21 - node-fetch: 2.7.0 - pify: 5.0.0 - yargs: 15.4.1 - optionalDependencies: - prettier: 2.8.8 - transitivePeerDependencies: - - encoding - ansi-align@3.0.1: dependencies: string-width: 4.2.3 @@ -14639,12 +14595,6 @@ snapshots: json-buffer@3.0.1: {} - json-fixer@1.6.15: - dependencies: - '@babel/runtime': 7.24.6 - chalk: 4.1.2 - pegjs: 0.10.0 - json-parse-even-better-errors@2.3.1: {} json-parse-even-better-errors@3.0.2: {} @@ -15944,8 +15894,6 @@ snapshots: pathval@1.1.1: {} - pegjs@0.10.0: {} - pend@1.2.0: {} perfect-debounce@1.0.0: {} @@ -15970,8 +15918,6 @@ snapshots: pify@4.0.1: {} - pify@5.0.0: {} - pinkie-promise@2.0.1: dependencies: pinkie: 2.0.4