Contourbrief · React studio source kit
Build a React Studio Portfolio from Editable JSON
A creative studio portfolio needs more than a grid of images. Visitors should be able to open a project, understand its brief and approach, review the handoff and find the studio’s services and contact details. Contourbrief puts that content in one JSON file and builds a portable React site from it.
Review the supplied site before editing
Start on the Contourbrief product page to compare the free case-study excerpt with the full source kit. The free standalone HTML excerpt shows one finished case-study layout. The full editable React source kit is $19 USD one time, with any applicable tax handled separately at checkout. These are different deliverables; the free excerpt does not contain the complete source kit.
In the extracted full kit, open preview/index.html directly. The supplied fictional Hinter Studio runs without a build or network connection. Choose Work, open Night Orbit and read The brief, The approach and The handoff. Then open Studio to see the service descriptions and contact link.
The sample projects and their deliverables are fictional. Use them to understand the content structure, then replace them with work and credits you have permission to publish.
Install dependencies only when you need a new build
To edit and rebuild the source, use Node.js 20 or newer. From the extracted source folder, run:
npm ci
npm run build
The dependency download is required for a source build, while the shipped preview can already be opened as supplied. After building, reopen preview/index.html to review the generated site. Editing the JSON file alone does not change an existing compiled preview; rebuild before checking your edits.
Replace the studio information in one content file
Open content/site.json. Keep version set to 1, and edit the studio object:
namesupplies the studio name.positioningis the homepage’s main statement.introdescribes the studio, whilelocationprovides its location or working arrangement.emailmust be a plain email address. Replace the fictional address with your intended inbox; do not put amailto:URL or query string in this field.
Update the services array with a title and description for each service. The current validator accepts one to eight services. Use descriptions that help a prospective client understand the work you offer.
Turn each project into a complete case study
The projects array accepts one to eighteen projects. Give each a unique lowercase slug, using hyphens between words when needed. That slug identifies its case-study route. The included night-orbit project opens at index.html#/work/night-orbit.
Each project needs name, category, summary and credits, plus three narrative fields:
challengeappears under The brief: explain the problem and constraints.approachappears under The approach: describe the design decisions and how they answer the brief.resultappears under The handoff: state what was delivered. Keep any outcome claims tied to evidence you can support.
Choose orbit, fold or index for the cover value. These refer to the local vector drawings in src/main.jsx. The content field selects one of those drawings; it is not an image-upload control. A developer can customize the React artwork and the tokens and responsive layouts in src/site.css.
Build the alternate example without replacing your preview
The kit includes a second fictional studio, Estuary Assembly, with its Salt Trail case study. Run the documented alternate build into a separate directory:
npm run build -- samples/alternate-site.json example-output
Open example-output/index.html#/work/salt-trail. Confirm that the studio name, project text and credits belong to the alternate example. The default preview/ directory remains separate. This is a useful way to compare a content change without overwriting the preview you are already reviewing.
In the independently checked source-kit example, a fictional studio name was edited in JSON, saved and reread from disk. Two real builds from the saved and reopened JSON produced byte-identical HTML, JavaScript and CSS. Both finished outputs were opened in fresh browser pages and used through a case-study page. This workflow edits files and runs the build command; it does not depend on a visual editor or a browser export button.
Correct invalid content before rebuilding
The build validates the content before writing output files. Missing project text, duplicate slugs, an unsupported cover value or an email supplied as a URL is rejected. If a build reports an error, correct that field in the JSON and run the command again. Do not mistake a previously successful preview for the result of a failed build.
Keep a saved copy of your editable JSON together with the source kit. To check a change safely, build it to a separate output directory, open that actual output and follow its links. Comparing only the edited JSON misses problems in the finished presentation.
Hand the generated files to your own host
Publish the contents of the generated directory, keeping index.html, site.css and site.js together. Navigation uses hash routes such as #/work and #/studio, so this routing model does not require a server fallback for those links. Test on your intended host as well as from local files.
- Open the homepage, then navigate from Work to a case and back to the index.
- At a narrow width, open and close the compact menu. Use the keyboard to reach links and check that focus remains visible.
- Open a complete case, read all three story sections and verify the credits. Check a direct case link after reopening the page.
- Visit Studio and confirm the services and real contact destination. Remove fictional content before launch.
The delivered offline example has no tracking, accounts, form submission or external asset loading. Review any integrations you add separately. Contourbrief supplies the source and a reproducible static output; your hosting setup, final content and contact destination remain part of your own site handoff. Customer-use terms and dependency notices are included with the full kit.