mirror of
https://github.com/outline/outline.git
synced 2025-12-20 10:09:43 -06:00
* update useSettings * Integration page skeleton * add descriptions * update design * Integration page style update * clean up * update integration card Co-authored-by: Tom Moor <tom.moor@gmail.com> * Update integration icon size Co-authored-by: Tom Moor <tom.moor@gmail.com> * Update all integrations menu item * update IntegrationCard to use the `Text` component * update card status * fix: Google analytics never shows as installed fix: Styling tweaks Move webhooks out of integrations * Add breadcrumbs * Add filtering * refactor * Add hover state, tweak descriptions --------- Co-authored-by: Tess99854 <tesnimesb@gmail.com> Co-authored-by: Mahmoud Mohammed Ali <ibn.el4ai5@gmail.com> Co-authored-by: Mahmoud Ali <mahmoud.ali.khallaf@gmail.com>
34 lines
752 B
TypeScript
34 lines
752 B
TypeScript
import { SettingsIcon } from "outline-icons";
|
|
import * as React from "react";
|
|
import { useTranslation } from "react-i18next";
|
|
import Breadcrumb from "~/components/Breadcrumb";
|
|
import Scene from "~/components/Scene";
|
|
import { settingsPath } from "~/utils/routeHelpers";
|
|
|
|
export function IntegrationScene({
|
|
children,
|
|
...rest
|
|
}: React.ComponentProps<typeof Scene>) {
|
|
const { t } = useTranslation();
|
|
|
|
return (
|
|
<Scene
|
|
left={
|
|
<Breadcrumb
|
|
items={[
|
|
{
|
|
type: "route",
|
|
title: t("Integrations"),
|
|
icon: <SettingsIcon />,
|
|
to: settingsPath("integrations"),
|
|
},
|
|
]}
|
|
/>
|
|
}
|
|
{...rest}
|
|
>
|
|
{children}
|
|
</Scene>
|
|
);
|
|
}
|