Change the big banner at the top of the home page.
The hero is the first large section on the home page (title, short description, main button and background image).
You only need to edit:
config/hero.ts — images and button link"Hero" inside config/messages/en.json and config/messages/es.json — textsconfig/hero.ts.backgroundImage: "/hero_bg.png",
ctaButtonHref: "/",
gamesImages: {
left: { src: "/games/hytale.png", alt: "Hytale" },
center: { src: "/games/minecraft.png", alt: "Minecraft" },
right: { src: "/games/arkse.png", alt: "ARK: Survival Evolved" }
},public folder.backgroundImage and gamesImages.*.src paths with your own files.alt values to describe the new images.ctaButtonHref to the page where the main button should go (for example "/contact").config/messages/en.json."Hero" section:"Hero": {
"title": "Best Premium Gaming Server Hosting",
"description": "Lag-free, high-performance servers...",
"ctaButtonLabel": "Get Started"
}title, description and ctaButtonLabel to your own English text.config/messages/es.json."Hero" section, change the same keys to your Spanish text.Always keep the keys (
"title","description","ctaButtonLabel") identical in both files.
Only the sentences on the right side should be different for each language.