open side panel on click

This commit is contained in:
miloschwartz
2026-07-01 14:30:43 -04:00
parent 5a1d5cb66e
commit 0871a211ec
14 changed files with 343 additions and 28 deletions
@@ -6,11 +6,13 @@ import { LauncherResourceCard } from "./LauncherResourceCard";
type LauncherResourceGridProps = {
resources: LauncherResource[];
showLabels: boolean;
onResourceSelect: (resource: LauncherResource) => void;
};
export function LauncherResourceGrid({
resources,
showLabels
showLabels,
onResourceSelect
}: LauncherResourceGridProps) {
return (
<div className="grid w-full grid-cols-1 gap-2.5 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 [&>*]:min-w-0">
@@ -19,6 +21,7 @@ export function LauncherResourceGrid({
key={resource.launcherResourceKey}
resource={resource}
showLabels={showLabels}
onSelect={() => onResourceSelect(resource)}
/>
))}
</div>