The configuration of your application is centralized in the folder src/config
There, you find 4 files:
config.ts
auth.ts
pricing.constants.ts
lifetime.constants.ts
config.ts
It is where the main configuration variables of your product live.
By updating one of these variables, the value will be updated across all the application
src/config/config.ts
export const brandName = "My App";
export const landingPageTitle = "My App";
export const landingPageDescription = "Make money today with My App";
export const websiteUrl = "https://myapp.com";
export const supportEmail = "support@email.com";
// the users will be redirected to this page after sign in
export const signInCallbackUrl = "/dashboard";
// only needed if you have the "talk to us" button in the landing page
export const demoCalendlyLink = "https://calendly.com/myself/15min";
// used by MailChimp
export const emailFrom = "no-reply@email.com";
// social links
export const discordLink = "https://discordlink";
export const twitterLink = "https://x.com/johndoe";
export const youTubeLink = "https://youtube.com/johndoe";
export const affiliateProgramLink =
"https://yourstore.lemonsqueezy.com/affiliates";
auth.ts
This is where the authentication configuration lives.
Update it if you want to add new social authentication providers, or add new events.
The format of this configuration is from NextAut, check their documentation to learn more.
pricing.constants.ts
Where the pricing plans are defined, with all the details.
This configuration is used by the <Pricing /> component.