30 lines
1.1 KiB
TypeScript
30 lines
1.1 KiB
TypeScript
import ProvidersSection from './components/ProvidersSection';
|
|
import UsageHistorySection from './components/UsageHistorySection';
|
|
import { useModelsCopy } from './copy';
|
|
|
|
export default function ModelsPage() {
|
|
const t = useModelsCopy();
|
|
|
|
return (
|
|
<section className="h-full w-full min-h-0">
|
|
<div className="flex h-full w-full min-h-0 flex-col rounded-2xl bg-white p-5 dark:bg-[#1b1b1d]">
|
|
<div className="mb-5 flex items-end justify-between gap-4 border-b border-[#E5E8EE] pb-5 dark:border-[#2a2a2d]">
|
|
<div className="flex min-w-0 items-end gap-2">
|
|
<span className="text-[24px] font-medium leading-8 text-[#171717] dark:text-gray-100">
|
|
{t('models.page.title')}
|
|
</span>
|
|
<span className="pb-0.75 text-[12px] leading-4 text-[#99A0AE] dark:text-gray-500">
|
|
{t('models.page.subtitle')}
|
|
</span>
|
|
</div>
|
|
</div>
|
|
|
|
<div className="min-h-0 flex-1 space-y-12 overflow-y-auto pb-10 pr-2">
|
|
<ProvidersSection />
|
|
<UsageHistorySection />
|
|
</div>
|
|
</div>
|
|
</section>
|
|
);
|
|
}
|