diff --git a/uikit/src/button/index.tsx b/uikit/src/button/index.tsx index 943e2bc344..55be33f98b 100644 --- a/uikit/src/button/index.tsx +++ b/uikit/src/button/index.tsx @@ -14,6 +14,7 @@ const buttonVariants = cva('btn', { outline: 'btn-outline', secondary: 'btn-secondary', ghost: 'btn-ghost', + success: 'btn-success', }, size: { sm: 'btn-sm', diff --git a/uikit/src/button/styles.scss b/uikit/src/button/styles.scss index 69d8e522e4..b103987c9c 100644 --- a/uikit/src/button/styles.scss +++ b/uikit/src/button/styles.scss @@ -19,6 +19,10 @@ @apply bg-secondary text-secondary-foreground hover:bg-secondary/80; } + &-success { + @apply bg-green-500 text-white hover:bg-green-500/80; + } + &-ghost { @apply hover:bg-primary hover:text-primary-foreground; } diff --git a/web/public/images/hub-banner.png b/web/public/images/hub-banner.png new file mode 100644 index 0000000000..2734c20f5a Binary files /dev/null and b/web/public/images/hub-banner.png differ diff --git a/web/screens/ExploreModels/ExploreModelItem/index.tsx b/web/screens/ExploreModels/ExploreModelItem/index.tsx index b2c12f86da..5b0c1e4088 100644 --- a/web/screens/ExploreModels/ExploreModelItem/index.tsx +++ b/web/screens/ExploreModels/ExploreModelItem/index.tsx @@ -15,7 +15,7 @@ const ExploreModelItem = forwardRef(({ model }, ref) => { return (
diff --git a/web/screens/ExploreModels/ExploreModelItemHeader/index.tsx b/web/screens/ExploreModels/ExploreModelItemHeader/index.tsx index eb2cdee31f..6345d5f1ef 100644 --- a/web/screens/ExploreModels/ExploreModelItemHeader/index.tsx +++ b/web/screens/ExploreModels/ExploreModelItemHeader/index.tsx @@ -24,6 +24,7 @@ type Props = { } const ExploreModelItemHeader: React.FC = ({ model }) => { + console.log(model) const { downloadModel } = useDownloadModel() const { downloadedModels } = useGetDownloadedModels() const { modelDownloadStateAtom, downloadStates } = useDownloadState() @@ -57,6 +58,8 @@ const ExploreModelItemHeader: React.FC = ({ model }) => { if (isDownloaded) { downloadButton = (