diff --git a/use_cases/src/pages/HomePage.tsx b/use_cases/src/pages/HomePage.tsx index c8dcddc688..51fae74d0a 100644 --- a/use_cases/src/pages/HomePage.tsx +++ b/use_cases/src/pages/HomePage.tsx @@ -125,6 +125,7 @@ type QuickStartItem = { to: string; icon: LucideIcons; gradient: string; + hidden?: boolean; }; const quickStart: QuickStartItem[] = [ @@ -142,6 +143,14 @@ const quickStart: QuickStartItem[] = [ icon: LucideIcons.sparkles, gradient: 'linear-gradient(135deg, #f97316, #f59e0b)', }, + { + title: 'Shadcn UI', + desc: 'Popular React component library', + to: '/shadcn-showcase', + icon: LucideIcons.box, + gradient: 'linear-gradient(135deg, #8b5cf6, #ec4899)', + hidden: !import.meta.env.DEV, + } ]; export const HomePage: React.FC = () => { @@ -152,10 +161,10 @@ export const HomePage: React.FC = () => { style={{ background: item.gradient, borderRadius: '16px', - padding: '20px 16px', + padding: '14px 12px', cursor: 'pointer', flex: '1', - minWidth: '0', + minWidth: '130px', display: 'flex', flexDirection: 'column', gap: '10px', @@ -175,7 +184,7 @@ export const HomePage: React.FC = () => {
{ }}>Quick Start
- {quickStart.map((qs) => ( + {quickStart.filter((qs) => !qs.hidden).map((qs) => ( ))}
diff --git a/use_cases/src/pages/ShadcnShowcasePage.tsx b/use_cases/src/pages/ShadcnShowcasePage.tsx index fe50b64da9..acf32cd4a4 100644 --- a/use_cases/src/pages/ShadcnShowcasePage.tsx +++ b/use_cases/src/pages/ShadcnShowcasePage.tsx @@ -33,12 +33,12 @@ export const ShadcnShowcasePage: React.FC = () => {
- {/**/} + - {/**/} - {/**/} - {/**/} - {/**/} + + + +

Display Components

@@ -46,13 +46,13 @@ export const ShadcnShowcasePage: React.FC = () => { - {/**/} - {/**/} + +

Navigation & Layout

- {/**/} + @@ -60,7 +60,7 @@ export const ShadcnShowcasePage: React.FC = () => {

Data & Pickers

- {/**/} +
@@ -68,7 +68,7 @@ export const ShadcnShowcasePage: React.FC = () => {
- {/**/} +