File tree Expand file tree Collapse file tree 1 file changed +26
-1
lines changed
Expand file tree Collapse file tree 1 file changed +26
-1
lines changed Original file line number Diff line number Diff line change 11import { Link } from '@/components/link/link' ;
2+ import { BadgeMeta , BadgeRanking , BadgeType } from '@/types/badge.types' ;
3+
4+ import BadgeExample from '../badge/gallery/components/badge-example' ;
25
36export const BadgeSection = ( ) => {
47 return (
@@ -8,8 +11,30 @@ export const BadgeSection = () => {
811 Show off your coding achievements with a dynamic GitHub badge. Let the world see exactly where you stand among
912 millions of developers.
1013 </ div >
14+ < div className = "flex gap-3" >
15+ < BadgeExample label = "Stars Rank" />
16+ < BadgeExample
17+ label = "Contribution Score"
18+ ranking = { BadgeRanking . c }
19+ type = { BadgeType . Score }
20+ valueBgColor = "#1e3a8a"
21+ />
22+ < BadgeExample
23+ label = "Contributor Rank"
24+ ranking = { BadgeRanking . c }
25+ type = { BadgeType . Percentile }
26+ valueBgColor = "#7f5539"
27+ />
28+ < BadgeExample label = "Stars Rank" meta = { BadgeMeta . MonthlyChange } />
29+ < BadgeExample
30+ label = "Total Followers"
31+ ranking = { BadgeRanking . f }
32+ meta = { BadgeMeta . Percentile }
33+ valueBgColor = "#1e3a8a"
34+ />
35+ </ div >
1136 < div >
12- < Link href = "/badge/gallery" > Create a badge </ Link >
37+ < Link href = "/badge/gallery" > View Badge Gallery </ Link >
1338 </ div >
1439 </ div >
1540 ) ;
You can’t perform that action at this time.
0 commit comments