mirror of
https://github.com/badges/shields.git
synced 2025-11-10 23:42:26 +03:00
More example urls and static examples [apm waffle] (#2478)
This commit is contained in:
@@ -10,6 +10,7 @@ module.exports = class CocoapodsPlatform extends LegacyService {
|
||||
static get route() {
|
||||
return {
|
||||
base: 'cocoapods/p',
|
||||
pattern: ':packageName',
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,7 +18,12 @@ module.exports = class CocoapodsPlatform extends LegacyService {
|
||||
return [
|
||||
{
|
||||
title: 'Cocoapods',
|
||||
previewUrl: 'AFNetworking',
|
||||
namedParams: { packageName: 'AFNetworking' },
|
||||
staticPreview: {
|
||||
label: 'platform',
|
||||
message: 'ios | osx | watchos | tvos',
|
||||
color: 'lightgrey',
|
||||
},
|
||||
},
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user