mirror of
https://github.com/LukeHagar/website.git
synced 2025-12-09 21:07:46 +00:00
update: streamline stats more.
This commit is contained in:
@@ -11,7 +11,13 @@ export const SOCIAL_STATS: SocialStats = {
|
|||||||
STAT: '48K',
|
STAT: '48K',
|
||||||
LINK: 'https://github.com/appwrite/appwrite',
|
LINK: 'https://github.com/appwrite/appwrite',
|
||||||
EXTRA: {
|
EXTRA: {
|
||||||
COMMITS: '24K+'
|
COMMITS: '24K+',
|
||||||
|
PULL_REQUESTS: '4.5K+',
|
||||||
|
ISSUES: '3K+',
|
||||||
|
OPEN_ISSUES: '500+',
|
||||||
|
CLOSED_ISSUES: '3.3K+',
|
||||||
|
FORKS: '4.3K+',
|
||||||
|
CONTRIBUTORS: '800+'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
DISCORD: {
|
DISCORD: {
|
||||||
|
|||||||
@@ -91,14 +91,14 @@
|
|||||||
];
|
];
|
||||||
|
|
||||||
const metrics = [
|
const metrics = [
|
||||||
{ metric: `${SOCIAL_STATS.GITHUB.STAT}+`, description: 'GitHub Stars' },
|
{ metric: SOCIAL_STATS.GITHUB.STAT, description: 'GitHub Stars' },
|
||||||
{ metric: '4.5K+', description: 'Pull Requests' },
|
{ metric: SOCIAL_STATS.GITHUB.EXTRA!.PULL_REQUESTS, description: 'Pull Requests' },
|
||||||
{ metric: `${SOCIAL_STATS.GITHUB.EXTRA?.COMMITS}`, description: 'Commits' },
|
{ metric: SOCIAL_STATS.GITHUB.EXTRA!.COMMITS, description: 'Commits' },
|
||||||
{ metric: '3K+', description: 'Issues' },
|
{ metric: SOCIAL_STATS.GITHUB.EXTRA!.ISSUES, description: 'Issues' },
|
||||||
{ metric: '500+', description: 'Open Issues' },
|
{ metric: SOCIAL_STATS.GITHUB.EXTRA!.OPEN_ISSUES, description: 'Open Issues' },
|
||||||
{ metric: '3.3K+', description: 'Closed Issues' },
|
{ metric: SOCIAL_STATS.GITHUB.EXTRA!.CLOSED_ISSUES, description: 'Closed Issues' },
|
||||||
{ metric: '4.3K+', description: 'Forks' },
|
{ metric: SOCIAL_STATS.GITHUB.EXTRA!.FORKS, description: 'Forks' },
|
||||||
{ metric: '800+', description: 'Contributors' }
|
{ metric: SOCIAL_STATS.GITHUB.EXTRA!.CONTRIBUTORS, description: 'Contributors' }
|
||||||
];
|
];
|
||||||
|
|
||||||
let name = $state('');
|
let name = $state('');
|
||||||
|
|||||||
Reference in New Issue
Block a user