For developers

Questions developers have asked

From the THINQ Site developer guide, in the guide's own words. The same text ships with every site's core.

Every question Encore's developer, Barrett Cahalen, has asked while building the Encore Performing Arts site on THINQ Site (August to October 2026), with the answer as it stands today and where the guide covers it. They are the questions the next developer will ask too. Add new ones here as they come in, newest group first, and keep the answers current: when the platform changes, the answer changes.

What changed in the platform because of these questions is in CHANGELOG.md.


Building the site (2026-10-21)

Can I use my own fonts, from Google Fonts or elsewhere? Yes. Load them in your theme with next/font (next/font/google for Google Fonts, next/font/local for your own files) and set --font-display. The files are served from the site itself, so nothing needs adding to the server's security policy. A second font for headings gets its own token. → Themes §3.6

How do I make the logo an image of ours instead of the site name, in the admin or in code? In code: put the file in public/ and render it with SiteImage in your header (best for a designed logo). As a setting: SiteLogo shows site.header.logo when it is set; there is no admin field for it yet, so on staging or live, ask Bo. → Header §5.4

The sample site had # links that jumped to a point on the page. How do I mark where a link should land in my own block? Give the block an anchor field and put it on the section's id; add scroll-mt-* so the section clears a sticky header. Core's own blocks have fixed anchors only (#services, #about, …), which is why you couldn't set one. → Blocks §4.8

I want more in the footer: social icons and links, and maybe a form. Is that on your end or mine? Both are yours, in your footer component. Social links render from site.footer.social, which editors manage in Appearance → Footer (since 2026-10-22; it also feeds search engines' knowledge of the business). The same screen has an optional footer call to action (site.footer.cta); a form is any form from Admin → Forms, rendered with FormBlockClient and the form's id. Content an editor should change needs a setting or a footer built from blocks. → Footer §5.7–5.10

Scrolling on every page seems to lag. Can I adjust that? Yes: Settings → Smooth scrolling, per site: Soft (the original feel, the default), Medium, Light, or Off for the browser's own scrolling. Visitors whose device asks for reduced motion always get the browser's own. → Pages §6.7

Can I edit the pre-made blocks: move things, change colours? Not in place; they are shared by every site. Restyle them through the theme's tokens, or copy one into your feature as a new block and change anything. If a change would help every site, ask for it as an option on the core block. → Blocks §4.11

For the tour list I want a page per city, without a database, without a million pages cluttering the Pages list. Can pages go in a folder? Yes. Pages can live inside a section: type the address tour/dallas when creating a page, and it is served at /tour/dallas, listed in the sitemap, and folded under "/tour/…" in the Pages list. Build one city, then Clone it and Change URL for the next. If every city has the same layout, a list block on the Tour page plus one template route also works. → Pages §6.4

My admin edits disappear every time I save a file in VS Code. What's happening? A bug in local dev, fixed 2026-10-05: admin edits and uploads now live in .thinq/content, outside the rebuilt folder. → Getting started §1.4

How do I connect the menu in Appearance to my own header, including dropdowns? Build your header from SiteNav, which renders the admin's menu with dropdowns. Menus have sub-items (one level). → Header §5.2–5.3

When I register my own header through chrome, it overwrites the menu completely. Am I doing something wrong? You weren't: replacing the header used to mean rebuilding the menu by hand. Since 2026-10-06 a custom header is built from core's parts (SiteNav, SiteLogo, SiteHeaderActions) and keeps the menu. → Header §5.1

Does the footer work the same way, or does it need different code? The same way, with SiteFooterLinks and SiteLegalLinks. → Footer §5.7

Can I style each menu item on its own? Encore has a colour per section. Yes: every SiteNav class prop takes a function of the item, and every item carries a data-nav key for CSS. Keys come from the link, so renaming an item doesn't break styling. → Header §5.6

Where should logos and other images go? Images your code uses: the repo's public/ folder. Photos editors manage: the Media library on staging. Render both with SiteImage. → Pages §6.5

When I get Dancebug's iframes, where do they go? Do you need to install them? No install. Paste the snippet into an Embed / Code block, or render the iframe in your component. The registration widget returns to the address Dancebug has on file, so they need the new address at launch. → Embeds §7.3

The dev server fails with "Could not find the Next.js package (next/package.json)". The build folder is half-built. Stop the server, delete .thinq/build, restart. → Troubleshooting

Getting set up (2026-09-23 to 2026-09-28)

Is there a repo for me? Each site has its own repo, holding only that site's files, with core pinned inside it at core/. → How a site is put together

After a clean install I get "Parsing CSS source code failed" at a line in the thousands of a globals.css that only has about 350 lines. A core bug in local dev (Tailwind read Next's binary cache), fixed 2026-09-27. The line is in the generated CSS, not your file. → Troubleshooting

The docs mention src/app for routes. Am I supposed to create it? Only for a route that isn't a CMS page. Every page made in the admin is served by core. A custom route is a one-line re-export under src/app/, with the real component in your feature. → Pages §6.3

The admin and preview (2026-09-18 call and notes)

The Pricing block shows <p> tags in the description. Fixed (and in Stats and Event Tickets). The rule behind it: rich-text fields hold HTML and must be rendered with SafeHtml, which a test now checks on every block, yours included. → Blocks §4.3

Scrolling in the Add block menu is wonky. Fixed: the menu scrolls on its own and the admin has no smooth scrolling.

Menu links in preview go to the live site. Fixed: links stay in preview, drafts included. → Testing §8.2

Is there an overall preview button? Preview site in the sidebar and on the dashboard.

With the preview open I can't scroll to the bottom of the page. Fixed.

The homepage's anchor links don't go anywhere, and some are anchors instead of page links. The sample content's links were fixed to work from any page. For your own navigation, use page paths (/classes), and /page#section for a section on another page. → Blocks §4.7

A new form doesn't show up as an option in the Form block. Fixed: the Form block has a dropdown of the site's forms.

Idea: organise the admin like the JSON: pages → header / body / footer → each section. Held, to talk through once the build is further along. On the open list in CHANGELOG.

First look at the demo (2026-08-14 to 2026-08-26)

What language is it, and can I build the front end myself and just use the CMS for updates? TypeScript: Next.js and React on Node. Yes, and you don't need to split it into a separate "headless" front end to get full control: themes, your own blocks, your own header and footer, and your own routes are all your code. → Why not headless?

What database does it use, and is storage charged by size? No database. Content is JSON files validated against schemas on every read and write. Media is the only thing that grows. → How a site is put together §2.7

How would calls to outside APIs work, to bring data in from other places? Depends how fresh it must be: content editors maintain, a scheduled job that writes it into the site's content, or a live call from the browser or an API route. Plan anything with a secret key with Bo. → Embeds §7.6

Does it have SEO and traffic tracking? SEO controls are built in per page (titles, descriptions, canonical, robots, share cards, sitemap, AI-answer fields), with no "score" widget. Visit counting is built in (Admin → Analytics, cookieless, since 2026-10-20), and Google Tag Manager is a setting.

There's no way to publish a page from the editor. Fixed 2026-08-26: Save draft / Publish, and Unpublish.

A draft can't be previewed (404). Fixed: /preview/<slug> shows drafts to admins.

The brand colour setting does nothing. Fixed: it drives the site's accent colours. → Themes §3.5

Can we have a Google Maps block? Added for every site: Map, and Map — Branded.

The leftover pages, popups and forms were really housekeeping. How does a new system change that? Moving is an inventory: only what's kept is rebuilt, and there is no plugin ecosystem adding things nobody asked for. The admin's Pages list (search, status filter, sections) and THINQ Connect make finding stale content quick.

This text is maintained in thinq-site-core at docs/developers/faq.md (commit e72488e) and published here unchanged.