This commit is contained in:
Philipinho
2026-05-19 02:40:58 +01:00
parent cc691d1138
commit 55537cd090
@@ -9,13 +9,12 @@ import {
UnstyledButton, UnstyledButton,
Group, Group,
SegmentedControl, SegmentedControl,
Anchor,
} from "@mantine/core"; } from "@mantine/core";
import { useDebouncedValue } from "@mantine/hooks"; import { useDebouncedValue } from "@mantine/hooks";
import { import {
IconArrowRight,
IconSearch, IconSearch,
IconFileText, IconFileText,
IconExternalLink,
} from "@tabler/icons-react"; } from "@tabler/icons-react";
import { Link, useNavigate } from "react-router-dom"; import { Link, useNavigate } from "react-router-dom";
import { useTranslation } from "react-i18next"; import { useTranslation } from "react-i18next";
@@ -223,18 +222,17 @@ export default function TemplatePickerModal({
)} )}
</ScrollArea> </ScrollArea>
<Group justify="space-between" mt="md"> <Group justify="flex-end" mt="md">
<Anchor <Button
component={Link} component={Link}
to="/templates" to="/templates"
variant="subtle"
size="sm" size="sm"
rightSection={<IconArrowRight size={16} />}
onClick={handleClose} onClick={handleClose}
> >
<Group gap={4} wrap="nowrap"> {t("Browse all templates")}
{t("Browse all templates")} </Button>
<IconExternalLink size={14} />
</Group>
</Anchor>
</Group> </Group>
</Modal> </Modal>