mirror of
https://github.com/docmost/docmost.git
synced 2026-08-28 17:27:06 +08:00
27 lines
801 B
TypeScript
27 lines
801 B
TypeScript
import SettingsTitle from "@/components/settings/settings-title.tsx";
|
|
import { useTranslation } from "react-i18next";
|
|
import ShareList from "@/features/share/components/share-list.tsx";
|
|
import { Alert, Text } from "@mantine/core";
|
|
import { IconInfoCircle } from "@tabler/icons-react";
|
|
import React from "react";
|
|
import { DocumentTitle } from "@/components/ui/document-title.tsx";
|
|
|
|
export default function Shares() {
|
|
const { t } = useTranslation();
|
|
|
|
return (
|
|
<>
|
|
<DocumentTitle title={t("Public sharing")} />
|
|
<SettingsTitle title={t("Public sharing")} />
|
|
|
|
<Alert variant="light" color="blue" icon={<IconInfoCircle />}>
|
|
{t(
|
|
"Publicly shared pages from spaces you are a member of will appear here",
|
|
)}
|
|
</Alert>
|
|
|
|
<ShareList />
|
|
</>
|
|
);
|
|
}
|