Updated 23 November 2026
You can find any file in a Next.js template from this map and know whether to edit it.
Folders
app/has one folder per page, pluslayout.tsxandglobals.css. It also holdssitemap.tsandrobots.ts.components/holds the shared kit of components.components/custom/holds the sections written for your template.content/holds the words and settings of the site.public/images/holds every picture. All pictures are already downloaded into the project.lib/holds helper code.
Files in content/
content/site.tsholds the business name, tagline, description, navigation, contact details, theme and the words of each section. See Edit words and pictures.content/seo.tsholds the page title, meta description and business type for search engines. See SEO.content/owner.tsholds the logo, favicon,noindex,aiCrawlers, search engineverificationcodes,langandforms: { endpoint }.- Files ending in
.generated.tsor.generated.jsonhold the site's faces, facts and language strings. They are ordinary data files and you can edit them.
Files in app/
app/globals.cssholds the colour tokens and the type and spacing scale. See Colours, fonts and layout.app/sitemap.tsbuilds the sitemap.app/robots.tsbuilds the robots file.
Root files
next.config.tssetsoutput: "export", so the build is a static site inout/.AGENTS.md,DESIGN.md,CLAUDE.md,GEMINI.md,.cursor/rules/design.mdc,skills/<slug>-design/SKILL.mdandprompts/make up the AI kit. See AI agents.
Extra folders in feature templates
api/holds the routes, written with Hono.db/schema.tsdefines the site's tables.db/migrations/sqliteanddb/migrations/postgreshold the migrations for both databases.db/seed/holds sample records.server/holds server code.scripts/db.mjsruns the database commands..env.examplelists the settings you copy to.env.
