diff --git a/apps/fabro-web/app/routes/settings-integrations.tsx b/apps/fabro-web/app/routes/settings-integrations.tsx index cd81a2852..64140f1ef 100644 --- a/apps/fabro-web/app/routes/settings-integrations.tsx +++ b/apps/fabro-web/app/routes/settings-integrations.tsx @@ -27,23 +27,33 @@ export default function SettingsIntegrations() { return (
- {settings ? : } + {settings ? ( + <> + + + + ) : ( + <> + + + + )}
); } -function IntegrationsPanel({ settings }: { settings: ServerSettings }) { - const { integrations } = settings.server; +function GithubPanel({ settings }: { settings: ServerSettings }) { + const { github } = settings.server.integrations; return ( - + @@ -52,6 +62,27 @@ function IntegrationsPanel({ settings }: { settings: ServerSettings }) { ); } +function SlackPanel({ settings }: { settings: ServerSettings }) { + const { slack } = settings.server.integrations; + return ( + + + + + + ); +} + function IntegrationValue({ enabled, detail,