Commit
•
2e5e37b
1
Parent(s):
f9e9c71
make the selection more clear
Browse files
src/app/interface/generate/index.tsx
CHANGED
@@ -409,12 +409,17 @@ export function Generate() {
|
|
409 |
`space-y-2 md:space-y-3 lg:space-y-4 xl:space-y-6`,
|
410 |
`px-3 py-6 md:px-6 md:py-12 xl:px-8 xl:py-16`,
|
411 |
)}>
|
412 |
-
<div className="flex flex-
|
413 |
<h3 className={cn(
|
414 |
headingFont.className,
|
415 |
-
"text-
|
416 |
-
)}>{models.length ?
|
|
|
|
|
|
|
|
|
417 |
</div>
|
|
|
418 |
<div className="grid grid-cols-4 sm:grid-cols-6 md:grid-cols-8 lg:grid-cols-10 xl:grid-cols-12 gap-2">
|
419 |
{models.map(model =>
|
420 |
<div key={model.repo}>
|
|
|
409 |
`space-y-2 md:space-y-3 lg:space-y-4 xl:space-y-6`,
|
410 |
`px-3 py-6 md:px-6 md:py-12 xl:px-8 xl:py-16`,
|
411 |
)}>
|
412 |
+
<div className="flex flex-col text-center">
|
413 |
<h3 className={cn(
|
414 |
headingFont.className,
|
415 |
+
"text-3xl text-sky-600 mb-4"
|
416 |
+
)}>{models.length ? `You selected:` : ""}</h3>
|
417 |
+
<h3 className={cn(
|
418 |
+
headingFont.className,
|
419 |
+
"text-5xl text-sky-700 mb-4"
|
420 |
+
)}>{models.length ? `${(selectedModel?.title || "").replaceAll("-", " ")}` : "Loading styles.."}</h3>
|
421 |
</div>
|
422 |
+
|
423 |
<div className="grid grid-cols-4 sm:grid-cols-6 md:grid-cols-8 lg:grid-cols-10 xl:grid-cols-12 gap-2">
|
424 |
{models.map(model =>
|
425 |
<div key={model.repo}>
|