fix(frontend): fix various typo, capfirst, use a grid for home page
All checks were successful
Deploy Amap / deploy (push) Successful in 42s

This commit is contained in:
Julien Aldon
2026-04-17 11:38:33 +02:00
parent 7e3cf6de9d
commit 4b57b29b34
6 changed files with 27 additions and 25 deletions

View File

@@ -12,12 +12,12 @@ export type FormCardProps = {
export function FormCard({ form }: FormCardProps) {
const contractBaseTemplate = useGetContractFileTemplate();
return (
<Paper shadow="xl" p="xl" miw={{ base: "100vw", md: "25vw", lg: "20vw" }}>
<Paper shadow="xl" p="xl">
<Group justify="start" mb="md">
<Tooltip label={t("download base template to print")}>
<Tooltip label={t("download base template to print", {capfirst: true})}>
<ActionIcon
variant={"outline"}
aria-label={t("download base template to print")}
aria-label={t("download base template to print", {capfirst: true})}
onClick={async () => {
await contractBaseTemplate.mutateAsync(form.id);
}}
@@ -25,10 +25,10 @@ export function FormCard({ form }: FormCardProps) {
<IconDownload />
</ActionIcon>
</Tooltip>
<Tooltip label={t("fill contract online")}>
<Tooltip label={t("fill contract online", {capfirst: true})}>
<ActionIcon
variant={"outline"}
aria-label={t("fill contract online")}
aria-label={t("fill contract online", {capfirst: true})}
component={Link}
to={`/form/${form.id}`}
target="_blank"