import type { Metadata } from 'next';
import { FileConverter } from '@/components/media/FileConverter';
import { AppPage } from '@/components/layout/AppPage';
import { getToolByHref } from '@/lib/tools';

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

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

export default function MediaPage() {
  return (
    <AppPage
      title={tool.title}
      description={tool.description}
    >
      <FileConverter />
    </AppPage>
  );
}
