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

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

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

export default function RandomPage() {
  return (
    <AppPage>
      <RandomGenerator />
    </AppPage>
  );
}
