feat(community): add experimental warning to community gallery page

Add ExperimentalWarning component to community page to inform users
that the submission system is in experimentation phase and submissions
won't be reviewed. Includes feedback button for PostHog survey targeting.
This commit is contained in:
Thomas Camlong
2025-11-14 17:38:44 +01:00
parent d1def9c346
commit b8e77a46db

View File

@@ -1,5 +1,6 @@
import type { Metadata } from "next"
import { Suspense } from "react"
import { ExperimentalWarning } from "@/components/experimental-warning"
import { CommunityIconSearch } from "@/components/community-icon-search"
import { BASE_URL } from "@/constants"
import { getCommunitySubmissions } from "@/lib/community"
@@ -42,6 +43,7 @@ export default async function CommunityPage() {
const icons = await getCommunitySubmissions()
return (
<div className="isolate overflow-hidden p-2 mx-auto max-w-7xl">
<ExperimentalWarning message="The community icon submission system is currently in an experimentation phase. Submissions shown here will not be reviewed or processed at this time. We're gathering feedback to improve the experience." />
<div className="flex flex-col sm:flex-row sm:items-center justify-between gap-4">
<div>
<h1 className="text-3xl font-bold">Browse community icons</h1>