Overview
Latch uses TypeScript configuration files located in theconfig/ folder to manage all content and settings. This approach provides type safety, better IDE support, and easier maintenance compared to JSON or environment variables.
All configuration files are in TypeScript format (
.ts) and located in the config/ directoryQuick Start
1
Locate the config folder
Navigate to the
config/ directory in your project root2
Choose a config file
Find the file corresponding to what you want to change (see reference below)
3
Edit the configuration
Open the file and modify the exported configuration object
4
Save and test
Changes are applied automatically - refresh your browser to see updates
Configuration Categories
Brand & Identity
Branding
Company name, logo, colors, navigation, and footerFile:
config/branding.tsSEO & Meta
Site title, description, Open Graph, and meta tagsFile:
config/seo.tsCurrency
Currency symbol, code, and positionFile:
config/shared/currency.tsSale Banner
Promotional banner at the top of your siteFile:
config/promotions/sale-banner.tsContent Pages
Homepage
Hero section, features, and homepage contentFile:
config/home.tsAbout Page
Company information and missionFile:
config/pages/about.tsContact Page
Contact form and support informationFile:
config/pages/contact.tsJobs Page
Career opportunities and job listingsFile:
config/pages/jobs.tsHosting Products
VPS Hosting
VPS plans and specificationsFile:
config/hosting/vps.tsDedicated Servers
Dedicated server configurationsFile:
config/hosting/dedicated.tsWeb Hosting
Shared and managed hostingFile:
config/hosting/web-hosting.tsGame Server Hosting
Games Listing
All available game serversFile:
config/games/index.tsIndividual Games
Specific game configurationsFile:
config/games/[gamename].tsSupport & Information
Knowledgebase
Help articles and documentationFiles:
config/knowledgebase/FAQ
Frequently asked questionsFile:
config/faq.tsTestimonials
Customer reviews and feedbackFile:
config/testimonials.tsChangelogs
Version history and updatesFile:
config/changelogs.tsTechnical Specs
Hardware Specs
Server specifications and componentsFile:
config/hardware.tsPartners
Partner integrations and affiliatesFile:
config/pages/partners.tsLegal Pages
Privacy Policy
Privacy policy contentFile:
config/legal/privacy.tsTerms of Service
Terms and conditionsFile:
config/legal/terms.tsConfiguration File Structure
All configuration files follow a similar pattern:- TypeScript Benefits
- Best Practices
- Type Safety: Catch errors before runtime
- IntelliSense: Auto-completion in your IDE
- Documentation: Inline type hints
- Refactoring: Easy to update across files

