fix(frontend): fix various typo, capfirst, use a grid for home page
All checks were successful
Deploy Amap / deploy (push) Successful in 42s
All checks were successful
Deploy Amap / deploy (push) Successful in 42s
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user