-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcreate.tsx
More file actions
36 lines (33 loc) · 1005 Bytes
/
create.tsx
File metadata and controls
36 lines (33 loc) · 1005 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import type { Route } from './+types/create';
import { ContactForm } from '@/features/contact';
import { metaObject } from '@/utils/helpers';
import { Card, CardContent, CardHeader, CardTitle } from '@datum-cloud/datum-ui/card';
import { Col, Row } from '@datum-cloud/datum-ui/grid';
import { t } from '@lingui/core/macro';
import { Trans } from '@lingui/react/macro';
export const meta: Route.MetaFunction = () => {
return metaObject(t`Contacts - Create`);
};
export const handle = {
breadcrumb: () => <Trans>Create</Trans>,
};
export default function Page() {
return (
<div className="m-4">
<Row className="mb-4">
<Col xs={24} md={{ span: 12, offset: 6 }}>
<Card>
<CardHeader>
<CardTitle>
<Trans>Contact Information</Trans>
</CardTitle>
</CardHeader>
<CardContent>
<ContactForm />
</CardContent>
</Card>
</Col>
</Row>
</div>
);
}