Configuration
Learn how to configure your Founderflow Boilerplate with custom settings, pricing plans, and localization options.
Site Settings
Configure your site's basic information in lib/config/settings.ts
:
lib/config/settings.ts
export const SiteSettings: SiteSettingsType = {
name: "Your App Name",
logoUrlLight: "/static/images/light-logo.png",
logoUrlDark: "/static/images/dark-logo.png",
defaultTheme: "light",
domainName: "yourapp.com",
domainUrl: "https://yourapp.com"
};
💡 Pro Tip
Make sure to update both light and dark logo URLs for proper theme support.
⚠️ Important
Update the domain URLs to match your actual deployment domain.
Pricing Plans
Configure your subscription plans in lib/config/pricing.ts
:
lib/config/pricing.ts
export const PricingPlans: PricingPlanTypes[] = [
{
id: "free",
name: "Free Plan",
price: "0",
features: [...],
isFreeCredits: 3
},
{
id: "unlimited",
name: "Unlimited Plan",
price: "9.99",
features: [...],
popular: true
}
];
Plan Configuration Options:
id: Unique identifier for the plan
name: Display name for the plan
price: Monthly price (string format)
features: Array of feature objects
popular: Highlight as popular plan
isFreeCredits: Number of free credits
Supported Locales
Configure internationalization settings in lib/config/locales.ts
:
lib/config/locales.ts
export const locales = {
values: ["en", "si", "jp"],
default: "en",
dropdown: [
{ label: "English", value: "en" },
{ label: "සිංහල", value: "si" },
{ label: "日本語", value: "jp" }
]
};
Supported Languages:
English (en)
Default language
Sinhala (si)
සිංහල
Japanese (jp)
日本語
Next Steps
After configuring your basic settings, explore these areas: