mirror of
https://github.com/docmost/docmost.git
synced 2026-08-28 17:27:06 +08:00
* feat: favorites and templates(ee) * rename migrations * fix sidebar * cleanup tabs * fix * turn off templates * cleanup * uuid validation
33 lines
785 B
TypeScript
33 lines
785 B
TypeScript
import { Container, Space } from "@mantine/core";
|
|
import HomeTabs from "@/features/home/components/home-tabs";
|
|
import HomeAiPrompt from "@/features/home/components/home-ai-prompt";
|
|
import SpaceCarousel from "@/features/space/components/space-carousel.tsx";
|
|
import { getAppName } from "@/lib/config.ts";
|
|
import { Helmet } from "react-helmet-async";
|
|
import { useTranslation } from "react-i18next";
|
|
|
|
export default function Home() {
|
|
const { t } = useTranslation();
|
|
|
|
return (
|
|
<>
|
|
<Helmet>
|
|
<title>
|
|
{t("Home")} - {getAppName()}
|
|
</title>
|
|
</Helmet>
|
|
<Container size={"900"} pt="xl">
|
|
<HomeAiPrompt />
|
|
|
|
<Space h="xl" />
|
|
|
|
<SpaceCarousel />
|
|
|
|
<Space h="xl" />
|
|
|
|
<HomeTabs />
|
|
</Container>
|
|
</>
|
|
);
|
|
}
|