RuleTemplate seed and create flow

This commit is contained in:
adilallo
2026-04-10 22:17:52 -06:00
parent cee81eda16
commit ec5afd1464
47 changed files with 1706 additions and 265 deletions
+17
View File
@@ -0,0 +1,17 @@
{
"intro": {
"title": "CommunityRule Template",
"description": "These templates can get you started with a proven approach to governance and decision-making. As useful as these templates are, they are not one size fit all solutions though. We recommend that you use them as a starting place for your community to adapt and customize according to your group's specific needs."
},
"footer": {
"useWithoutChanges": "Use without changes",
"customize": "Customize",
"customizeAriaHint": "Customize flow coming soon; for now this continues to the create flow entry."
},
"errors": {
"loadFailed": "We could not load this template. Try again or pick another template from the home page.",
"notFound": "This template was not found.",
"applyFailed": "Something went wrong. Please try again."
},
"loading": "Loading template…"
}
+4
View File
@@ -12,6 +12,7 @@ import quoteBlock from "./components/quoteBlock.json";
import ruleCard from "./components/ruleCard.json";
import ruleStack from "./components/ruleStack.json";
import home from "./pages/home.json";
import templates from "./pages/templates.json";
import learn from "./pages/learn.json";
import login from "./pages/login.json";
import profile from "./pages/profile.json";
@@ -21,6 +22,7 @@ import communication from "./create/communication.json";
import createTopNav from "./create/topNav.json";
import createDraftHydration from "./create/draftHydration.json";
import createPublish from "./create/publish.json";
import createTemplateReview from "./create/templateReview.json";
export default {
common,
@@ -38,6 +40,7 @@ export default {
ruleStack,
pages: {
home,
templates,
learn,
login,
profile,
@@ -47,6 +50,7 @@ export default {
topNav: createTopNav,
draftHydration: createDraftHydration,
publish: createPublish,
templateReview: createTemplateReview,
},
navigation,
metadata,
+5
View File
@@ -0,0 +1,5 @@
{
"_comment": "Full templates index — Figma 22142-898446",
"title": "Templates",
"subtitle": "These are popular patterns for making decisions in mutual aid and open source communities. You can use them as they are or as a starting place for customizing your own CommunityRule."
}