add prettier code formater

This commit is contained in:
2026-02-15 11:32:30 +01:00
parent 11b3a926d2
commit 627ddfc464
61 changed files with 7471 additions and 7312 deletions

View File

@@ -1,39 +1,30 @@
import { Badge, Box, Group, Paper, Text, Title } from "@mantine/core";
import { Link } from "react-router";
import type { Form } from "@/services/resources/forms";
export type FormCardProps = {
form: Form;
}
export function FormCard({form}: FormCardProps) {
return (
<Paper
shadow="xl"
p="xl"
miw={{base: "100vw", md: "25vw", lg:"20vw"}}
>
<Box
component={Link}
to={`/form/${form.id}`}
style={{textDecoration: "none", color: "black"}}
>
<Group justify="space-between" wrap="nowrap">
<Title
order={3}
textWrap="wrap"
lineClamp={1}
>
{form.name}
</Title>
<Badge>{form.season}</Badge>
</Group>
<Group justify="space-between">
<Text>{form.productor.name}</Text>
<Text>{form.referer.name}</Text>
</Group>
</Box>
</Paper>
);
}
import { Badge, Box, Group, Paper, Text, Title } from "@mantine/core";
import { Link } from "react-router";
import type { Form } from "@/services/resources/forms";
export type FormCardProps = {
form: Form;
};
export function FormCard({ form }: FormCardProps) {
return (
<Paper shadow="xl" p="xl" miw={{ base: "100vw", md: "25vw", lg: "20vw" }}>
<Box
component={Link}
to={`/form/${form.id}`}
style={{ textDecoration: "none", color: "black" }}
>
<Group justify="space-between" wrap="nowrap">
<Title order={3} textWrap="wrap" lineClamp={1}>
{form.name}
</Title>
<Badge>{form.season}</Badge>
</Group>
<Group justify="space-between">
<Text>{form.productor.name}</Text>
<Text>{form.referer.name}</Text>
</Group>
</Box>
</Paper>
);
}