diff --git a/apps/dashboard/src/components/app-store-entry.tsx b/apps/dashboard/src/components/app-store-entry.tsx index 6d31e615e..f773f68f6 100644 --- a/apps/dashboard/src/components/app-store-entry.tsx +++ b/apps/dashboard/src/components/app-store-entry.tsx @@ -79,190 +79,190 @@ export function AppStoreEntry({
{/* Hero Section */}
-
-
- {/* App Icon */} -
- -
- - {/* App Info */} -
-
- - {app.displayName} - - {app.stage !== "stable" && ( - - {app.stage === "alpha" ? "Alpha" : "Beta"} - - )} +
+
+ {/* App Icon */} +
+
-

- {app.subtitle} -

+ {/* App Info */} +
+
+ + {app.displayName} + + {app.stage !== "stable" && ( + + {app.stage === "alpha" ? "Alpha" : "Beta"} + + )} +
- {/* Tags */} -
- {(app.tags as Array).map((tag) => ( -
+ {app.subtitle} +

+ + {/* Tags */} +
+ {(app.tags as Array).map((tag) => ( +
- {ALL_APP_TAGS[tag].displayName} -
- ))} -
+ > + {ALL_APP_TAGS[tag].displayName} +
+ ))} +
- {/* Features Grid */} -
- {features.map((feature, index) => ( -
- - - {feature.label} - -
- ))} -
+ {/* Features Grid */} +
+ {features.map((feature, index) => ( +
+ + + {feature.label} + +
+ ))} +
- {/* CTA Button */} -
- {isEnabled ? ( - <> + {/* CTA Button */} +
+ {isEnabled ? ( + <> + + {onDisable && ( + + )} + + ) : ( - {onDisable && ( - - )} - - ) : ( - - )} + )} +
-
- {/* Stage Warning */} - {app.stage !== "stable" && ( -
-
+
-

+

- {app.stage === "alpha" && ( - <> - Alpha Release: This app is in early development and may have bugs or unexpected behavior. Use with caution in production environments. - - )} - {app.stage === "beta" && ( - <> - Beta Release: This app is being actively tested. You may encounter some issues, but it is generally stable for production use. - - )} -

+ > + {app.stage === "alpha" && ( + <> + Alpha Release: This app is in early development and may have bugs or unexpected behavior. Use with caution in production environments. + + )} + {app.stage === "beta" && ( + <> + Beta Release: This app is being actively tested. You may encounter some issues, but it is generally stable for production use. + + )} +

+
-
- )} -
+ )} +
- {/* Screenshots Section */} - {appFrontend.screenshots.length > 0 && ( -
-
-

- Preview -

-
- {/* Left scroll button */} - + {/* Screenshots Section */} + {appFrontend.screenshots.length > 0 && ( +
+
+

+ Preview +

+
+ {/* Left scroll button */} + - {/* Right scroll button */} - + {/* Right scroll button */} + -
- {appFrontend.screenshots.map((screenshot: string, index: number) => ( - - ))} +
+ {appFrontend.screenshots.map((screenshot: string, index: number) => ( + + ))} +
-
- )} + )} {/* Description Section */}
@@ -274,68 +274,68 @@ export function AppStoreEntry({
- {/* Screenshot Preview Modal */} - !open && setPreviewIndex(null)}> - - - {previewIndex !== null - ? `${app.displayName} screenshot ${previewIndex + 1} of ${appFrontend.screenshots.length}` - : 'Screenshot preview'} - -
- {previewIndex !== null && ( - <> - {/* Close button */} - - - {/* Image counter */} -
- {previewIndex + 1} / {appFrontend.screenshots.length} -
- - {/* Previous button */} - {previewIndex > 0 && ( + {/* Screenshot Preview Modal */} + !open && setPreviewIndex(null)}> + + + {previewIndex !== null + ? `${app.displayName} screenshot ${previewIndex + 1} of ${appFrontend.screenshots.length}` + : 'Screenshot preview'} + +
+ {previewIndex !== null && ( + <> + {/* Close button */} - )} - {/* Next button */} - {previewIndex < appFrontend.screenshots.length - 1 && ( - - )} + {/* Image counter */} +
+ {previewIndex + 1} / {appFrontend.screenshots.length} +
- {/* Image */} -
- {`${app.displayName} -
- - )} -
-
-
+ {/* Previous button */} + {previewIndex > 0 && ( + + )} + + {/* Next button */} + {previewIndex < appFrontend.screenshots.length - 1 && ( + + )} + + {/* Image */} +
+ {`${app.displayName} +
+ + )} +
+
+
);