update: streamline stats more.

This commit is contained in:
Darshan
2025-04-06 15:25:57 +05:30
parent 172db49284
commit 54c9145040
2 changed files with 15 additions and 9 deletions

View File

@@ -11,7 +11,13 @@ export const SOCIAL_STATS: SocialStats = {
STAT: '48K',
LINK: 'https://github.com/appwrite/appwrite',
EXTRA: {
COMMITS: '24K+'
COMMITS: '24K+',
PULL_REQUESTS: '4.5K+',
ISSUES: '3K+',
OPEN_ISSUES: '500+',
CLOSED_ISSUES: '3.3K+',
FORKS: '4.3K+',
CONTRIBUTORS: '800+'
}
},
DISCORD: {

View File

@@ -91,14 +91,14 @@
];
const metrics = [
{ metric: `${SOCIAL_STATS.GITHUB.STAT}+`, description: 'GitHub Stars' },
{ metric: '4.5K+', description: 'Pull Requests' },
{ metric: `${SOCIAL_STATS.GITHUB.EXTRA?.COMMITS}`, description: 'Commits' },
{ metric: '3K+', description: 'Issues' },
{ metric: '500+', description: 'Open Issues' },
{ metric: '3.3K+', description: 'Closed Issues' },
{ metric: '4.3K+', description: 'Forks' },
{ metric: '800+', description: 'Contributors' }
{ metric: SOCIAL_STATS.GITHUB.STAT, description: 'GitHub Stars' },
{ metric: SOCIAL_STATS.GITHUB.EXTRA!.PULL_REQUESTS, description: 'Pull Requests' },
{ metric: SOCIAL_STATS.GITHUB.EXTRA!.COMMITS, description: 'Commits' },
{ metric: SOCIAL_STATS.GITHUB.EXTRA!.ISSUES, description: 'Issues' },
{ metric: SOCIAL_STATS.GITHUB.EXTRA!.OPEN_ISSUES, description: 'Open Issues' },
{ metric: SOCIAL_STATS.GITHUB.EXTRA!.CLOSED_ISSUES, description: 'Closed Issues' },
{ metric: SOCIAL_STATS.GITHUB.EXTRA!.FORKS, description: 'Forks' },
{ metric: SOCIAL_STATS.GITHUB.EXTRA!.CONTRIBUTORS, description: 'Contributors' }
];
let name = $state('');