How The Theme Is Organized
This theme is made of five main parts. Use this map before you edit anything.
In the Sanity edition, your text and data are in the Studio instead of src/content/. See Editions.
The 5 Key Places
src/content/contains your text and data (Markdown or MDX).src/pages/decides which pages exist and which sections are used.src/layouts/components/sections/contains the visual sections.src/config/config.tomlcontrols global settings.src/styles/theme.csscontrols colors and the type scale.
Find What You Need
- If you want to change text, go to
src/content/. - If you want to change layout, go to
src/layouts/components/sections/. - If you want to change site-wide settings, go to
src/config/config.toml. - If you want to change colors or fonts, go to
src/styles/theme.cssandsrc/config/fonts.json.
Quick Example
You want to change the homepage hero text.
- Open
src/content/sections/<language>/banner-agency.md. Folex keeps the hero in a section file, because the homepage shows that section. - Edit the text in frontmatter.
- Save and refresh the dev server.
The other homepages use their own sections: banner-agency-dark.md, personal-portfolio-banner.md, and banner-agency-startup.md.