Files
metabuilder/packages/forum_forge/seed/components.json

352 lines
10 KiB
JSON

[
{
"id": "forum_forge_root",
"type": "Stack",
"props": {
"className": "flex flex-col gap-6"
},
"children": [
{
"id": "forum_forge_hero",
"type": "Card",
"props": {
"className": "p-6"
},
"children": [
{
"id": "forum_forge_title",
"type": "Heading",
"props": {
"children": "Forum Forge",
"level": "2",
"className": "text-2xl font-bold"
},
"children": []
},
{
"id": "forum_forge_subtitle",
"type": "Text",
"props": {
"children": "A modern discussion hub with curated categories, rapid replies, and moderator-ready queues."
},
"children": []
},
{
"id": "forum_forge_actions",
"type": "Flex",
"props": {
"className": "flex gap-2"
},
"children": [
{
"id": "forum_forge_action_thread",
"type": "Button",
"props": {
"children": "Start new thread",
"variant": "default"
},
"children": []
},
{
"id": "forum_forge_action_categories",
"type": "Button",
"props": {
"children": "Browse categories",
"variant": "outline"
},
"children": []
}
]
}
]
},
{
"id": "forum_forge_stats",
"type": "Grid",
"props": {
"className": "grid grid-cols-3 gap-4"
},
"children": [
{
"id": "forum_forge_stat_threads",
"type": "Card",
"props": {
"className": "p-4"
},
"children": [
{
"id": "forum_forge_stat_threads_label",
"type": "Text",
"props": {
"children": "Active threads",
"className": "text-sm text-muted-foreground"
},
"children": []
},
{
"id": "forum_forge_stat_threads_value",
"type": "Heading",
"props": {
"children": "246",
"level": "3",
"className": "text-xl font-semibold"
},
"children": []
}
]
},
{
"id": "forum_forge_stat_replies",
"type": "Card",
"props": {
"className": "p-4"
},
"children": [
{
"id": "forum_forge_stat_replies_label",
"type": "Text",
"props": {
"children": "Replies today",
"className": "text-sm text-muted-foreground"
},
"children": []
},
{
"id": "forum_forge_stat_replies_value",
"type": "Heading",
"props": {
"children": "1,092",
"level": "3",
"className": "text-xl font-semibold"
},
"children": []
}
]
},
{
"id": "forum_forge_stat_flags",
"type": "Card",
"props": {
"className": "p-4"
},
"children": [
{
"id": "forum_forge_stat_flags_label",
"type": "Text",
"props": {
"children": "Queued flags",
"className": "text-sm text-muted-foreground"
},
"children": []
},
{
"id": "forum_forge_stat_flags_value",
"type": "Heading",
"props": {
"children": "8",
"level": "3",
"className": "text-xl font-semibold"
},
"children": []
}
]
}
]
},
{
"id": "forum_forge_categories",
"type": "Card",
"props": {
"className": "p-6"
},
"children": [
{
"id": "forum_forge_categories_title",
"type": "Heading",
"props": {
"children": "Featured categories",
"level": "3",
"className": "text-xl font-semibold"
},
"children": []
},
{
"id": "forum_forge_categories_stack",
"type": "Stack",
"props": {
"className": "flex flex-col gap-3"
},
"children": [
{
"id": "forum_forge_category_1",
"type": "Card",
"props": {
"className": "p-4"
},
"children": [
{
"id": "forum_forge_category_1_title",
"type": "Heading",
"props": {
"children": "Launch Radar",
"level": "4",
"className": "text-lg font-semibold"
},
"children": []
},
{
"id": "forum_forge_category_1_text",
"type": "Text",
"props": {
"children": "Share product launches, traction stories, and founder notes."
},
"children": []
}
]
},
{
"id": "forum_forge_category_2",
"type": "Card",
"props": {
"className": "p-4"
},
"children": [
{
"id": "forum_forge_category_2_title",
"type": "Heading",
"props": {
"children": "Growth Ops",
"level": "4",
"className": "text-lg font-semibold"
},
"children": []
},
{
"id": "forum_forge_category_2_text",
"type": "Text",
"props": {
"children": "Tactics for onboarding, retention, and community rituals."
},
"children": []
}
]
},
{
"id": "forum_forge_category_3",
"type": "Card",
"props": {
"className": "p-4"
},
"children": [
{
"id": "forum_forge_category_3_title",
"type": "Heading",
"props": {
"children": "Dev Lounge",
"level": "4",
"className": "text-lg font-semibold"
},
"children": []
},
{
"id": "forum_forge_category_3_text",
"type": "Text",
"props": {
"children": "Deep dives on tooling, architecture, and deployment patterns."
},
"children": []
}
]
}
]
}
]
},
{
"id": "forum_forge_threads",
"type": "Card",
"props": {
"className": "p-6"
},
"children": [
{
"id": "forum_forge_threads_title",
"type": "Heading",
"props": {
"children": "Trending threads",
"level": "3",
"className": "text-xl font-semibold"
},
"children": []
},
{
"id": "forum_forge_threads_stack",
"type": "Stack",
"props": {
"className": "flex flex-col gap-3"
},
"children": [
{
"id": "forum_forge_thread_1",
"type": "Card",
"props": {
"className": "p-4"
},
"children": [
{
"id": "forum_forge_thread_1_title",
"type": "Heading",
"props": {
"children": "What does your onboarding checklist look like in 2025?",
"level": "4",
"className": "text-lg font-semibold"
},
"children": []
},
{
"id": "forum_forge_thread_1_meta",
"type": "Text",
"props": {
"children": "128 replies · Updated 2h ago",
"className": "text-sm text-muted-foreground"
},
"children": []
}
]
},
{
"id": "forum_forge_thread_2",
"type": "Card",
"props": {
"className": "p-4"
},
"children": [
{
"id": "forum_forge_thread_2_title",
"type": "Heading",
"props": {
"children": "Best practices for AI-assisted moderation?",
"level": "4",
"className": "text-lg font-semibold"
},
"children": []
},
{
"id": "forum_forge_thread_2_meta",
"type": "Text",
"props": {
"children": "64 replies · Updated 30m ago",
"className": "text-sm text-muted-foreground"
},
"children": []
}
]
}
]
}
]
}
]
}
]