Removing a Page
To remove an entire page from your website:1
Delete the page folder
Find the page folder in
app/ and delete it:2
Remove navigation links
Search your codebase for links to the removed page and remove them.Common places to check:Replace
components/layout/Footer.tsx- Footer linkscomponents/layout/Header.tsx- Navigation menuconfig/pages/*.ts- Page configuration files
Ctrl + Shift + F and search for:jobs with the page you removed.Removing a Component
To remove a component from a page (like Sale Banner, Discord Banner, etc.):1
Find the page file
Open the pageβs
page.tsx file. For homepage:2
Remove the component
Find the component and delete both:
- The import statement at the top
- The component tag in the JSX
Adding External Images
When you add an image from an external URL, you may see this error:How to Fix
1
Open next.config.ts
Find the file at the root of your project.
2
Add the image domain
Find the
remotePatterns array and add your domain:3
Restart the dev server
Stop the server (
Ctrl + C) and restart:Full Example
If your image URL is:next.config.ts:
Common Image Domains
Using Local Images
For images you control, store them locally:1
Add image to public folder
2
Reference in code
- No need to configure
next.config.ts - Faster loading (served from your domain)
- Wonβt break if external host goes down
- Better for SEO
Translating Your Site
Latch does not ship with a built-in i18n system. Instead, all display text lives inside theconfig/ directory as TypeScript files. To translate the site into any language, edit the values in those files.
1
Locate the config file for the page you want to translate
Every page in
app/ has a matching config file:2
Edit the string values
Open the config file and replace the English text with your translation. Only change the values β leave the property keys (left side) unchanged:
3
Translate UI text inside components (if needed)
Some labels, button text, and helper strings are hardcoded inside component files under
components/. If you cannot find a piece of text in config/, search for it globally:- Press
Ctrl + Shift + F(Windows) orCmd + Shift + F(Mac) - Type the exact text you see on the page
- Open the file that contains it and update the string
4
Translate SEO metadata
Page titles and meta descriptions are separately controlled in
config/seo.ts. Make sure to translate those too so search engines index your site in the correct language.Quick Find & Replace
Use VS Codeβs global search to find and replace across all files: Keyboard shortcut:Ctrl + Shift + H (Windows/Linux) or Cmd + Shift + H (Mac)
Common replacements when setting up:
Adding Purchase Links to Hosting Plans
All hosting plans (VPS, Web Hosting, Dedicated) support clickable purchase links via theorderUrl field.
1
Open your hosting config file
Navigate to the config file for the hosting type you want to edit:
- VPS:
config/hosting/vps.ts - Web Hosting:
config/hosting/web-hosting.ts - Dedicated:
config/hosting/dedicated.ts
2
Add orderUrl to each plan
Find the
plans array and add orderUrl to each plan object:3
Customize the Contact Sales section
Each hosting page also has a customizable βContact Salesβ section at the bottom:
Related Guides
FAQ
Common questions answered
Examples
Code examples and snippets
Sale Banner
Configure promotional banners
Configuration Basics
All configuration options

