refactor models component (#1535)

This commit is contained in:
Lily Delalande
2025-03-07 11:56:03 -08:00
committed by GitHub
parent 148737c1cf
commit 4f9c08a025
12 changed files with 113 additions and 90 deletions
@@ -247,23 +247,10 @@ export default function SettingsView({
{/* Content Area */}
<div className="flex-1 py-8 pt-[20px]">
<div className="space-y-8">
{/*Models Section*/}
<section id="models">
<div className="flex justify-between items-center mb-6 border-b border-borderSubtle px-8">
<h2 className="text-xl font-medium text-textStandard">Models</h2>
<button
onClick={() => {
setView('moreModels');
}}
className="text-indigo-500 hover:text-indigo-600 text-sm"
>
Browse
</button>
</div>
<div className="px-8">
<RecentModelsRadio />
</div>
<RecentModelsRadio setView={setView} />
</section>
<section id="extensions">
<div className="flex justify-between items-center mb-6 border-b border-borderSubtle px-8">
<h2 className="text-xl font-semibold text-textStandard">Extensions</h2>