Implement app showcase on New Project view

- Add useAppSubmissions hook to query Nostr events (kind 31733)
- Create AppShowcaseCard component for displaying individual apps
- Add AppShowcase component with search, filtering, and categorization
- Include featured apps, Halloween hackathon apps, templates, and approved apps sections
- Add shuffleArray utility function for randomizing app display order
- Integrate showcase into Index page underneath the prompt text box
- Support moderation controls for authorized users
- Add responsive design with mobile-friendly tag filtering
- Include empty states with relay selector for no results
This commit is contained in:
shakespeare.diy committed 2025-10-12 18:45:59 -05:00
1 parent fe45508297
commit 13a197e80d
5 files changed
+1385

No files matched your search

+4
View File
@@ -23,6 +23,7 @@ import { FileAttachment } from '@/components/ui/file-attachment';
import { ArrowUp } from 'lucide-react';
import { useSeoMeta } from '@unhead/react';
import { ShakespeareLogo } from '@/components/ShakespeareLogo';
import { AppShowcase } from '@/components/AppShowcase';
export default function Index() {
const { t } = useTranslation();
@@ -375,6 +376,9 @@ export default function Index() {
</div>
</div>
</div>
{/* App Showcase */}
<AppShowcase />
</AppLayout>
{/* Onboarding Dialog */}