mirror of
https://github.com/netbirdio/docs.git
synced 2026-04-24 19:36:36 +00:00
[API] add cloud and experimantal badges + new pages (#292)
This commit is contained in:
@@ -9,6 +9,10 @@ export function Badge({ status, text }) {
|
||||
case 'error':
|
||||
// Never tested colors
|
||||
return 'bg-red-300/30 text-red-400 dark:bg-red-400/10 dark:text-red-400';
|
||||
case 'cloud-only':
|
||||
return 'bg-orange-200/50 text-orange-400 dark:bg-orange-600/20 dark:text-orange-400';
|
||||
case 'experimental':
|
||||
return 'bg-teal-200/50 text-teal-400 dark:bg-teal-500/15 dark:text-teal-400';
|
||||
default:
|
||||
return 'bg-gray-500/30 text-gray-600 dark:bg-gray-400/10 dark:text-gray-400';
|
||||
}
|
||||
|
||||
@@ -25,6 +25,7 @@ export const apiNavigation = [
|
||||
{ title: 'Users', href: '/api/resources/users' },
|
||||
{ title: 'Tokens', href: '/api/resources/tokens' },
|
||||
{ title: 'Peers', href: '/api/resources/peers' },
|
||||
{ title: 'Ingress Ports', href: '/api/resources/ingress-ports' },
|
||||
{ title: 'Setup Keys', href: '/api/resources/setup-keys' },
|
||||
{ title: 'Groups', href: '/api/resources/groups' },
|
||||
{ title: 'Policies', href: '/api/resources/policies' },
|
||||
|
||||
Reference in New Issue
Block a user