import { AppPage } from '@/components/layout/AppPage';
import { CronEditor } from '@/components/cron/CronEditor';
import { getToolByHref } from '@/lib/tools';
import { Metadata } from 'next';

const tool = getToolByHref('/cron')!;

export const metadata: Metadata = {
  title: tool.title,
  description: tool.summary,
};

export default function CronPage() {
  return (
    <AppPage>
      <CronEditor />
    </AppPage>
  );
}
