captains-log/frontend/app/routes/task.new.tsx
Drew Galbraith b0916990fb Add task creation form. (#9)
Reviewed-on: #9
Co-authored-by: Drew Galbraith <drew@tiramisu.one>
Co-committed-by: Drew Galbraith <drew@tiramisu.one>
2025-09-23 05:00:48 +00:00

20 lines
467 B
TypeScript

import type { Route } from './+types/task.new'
import { Container, Box } from '@mui/material'
import { TaskForm } from '~/components/TaskForm'
export function meta(_: Route.MetaArgs) {
return [
{ title: "Captain's Log - New Task" },
{ name: 'description', content: 'Create a new task' },
]
}
export default function NewTask() {
return (
<Container maxWidth="md">
<Box sx={{ py: 4 }}>
<TaskForm />
</Box>
</Container>
)
}