Skip to content
Dashboard

Containing multi-site management within a single codebase

Sr. Content Engineer

Learn how Wunderman Thompson's enterprise workflow controls all data from one source of truth.

Compose a modern solution

Learn how to future-proof your team's digital transformation.

Grab the Guide

Link to headingChoose a component-based framework like Next.js or SvelteKit

So what are the tradeoffs?

Basement.studio recently navigated a large-scale migration to Next.js. Here's where they landed.

Learn More

Link to headingApply Atomic Design principles

Atomic Design is one of many possible ways to organize your codebase. We're showcasing its success here, since Wunderman Thompson uses it to streamline multiple sites into one component-based workflow.

Link to headingIdentify your atoms

Button.js
export default function Button({ children, onClick }) {
return (
<button onClick={onClick}>{children}</button>
)
}

Button.js atom.

Link to headingForm molecules

SearchBar.js
import InputField from "../atoms/InputField";
import InputLabel from "../atoms/InputLabel";
import Button from "../atoms/Button";
import { useState } from "react";
export default function SearchBar({ onSearch }) {
const [searchText, setSearchText] = useState("");
const handleSearch = () => {
onSearch(searchText);
};
const handleChange = (event) => {
setSearchText(event.target.value);
};
return (
<div>
<InputLabel htmlFor="search">Search</InputLabel>
<InputField
id="search"
type="text"
value={searchText}
onChange={handleChange}
/>
<Button onClick={handleSearch}>Search</Button>
</div>
);
}

An example molecule, SearchBar.js, which combines the atoms of `InputField`, `InputLabel`, and `Button`.

Link to headingBuild organisms

Header.js
import SearchBar from "../molecules/SearchBar";
import Menu from "../molecules/Menu";
import SiteTitle from "../molecules/SiteTitle";
import Flex from "../atoms/Flex";
import Title from "../atoms/Title";
import Logo from "../atoms/Logo";
export default function Header({ onSearch, menuOptions }) {
return (
<header>
<Flex justify="between">
<SiteTitle logo={Logo} title={Title} />
<SearchBar onSearch={onSearch} />
<Menu menuOptions={menuOptions} />
</Flex>
</header>
);
}

An organism that imports various molecules and atoms to construct a complex, reusable component.

Link to headingDevelop templates and populate pages

Link to headingStreamline data with a headless CMS

Monolithic architecture often requires repetition of labor, but the flexibility of composable allows for data templating that works for all clients.Monolithic architecture often requires repetition of labor, but the flexibility of composable allows for data templating that works for all clients.
Monolithic architecture often requires repetition of labor, but the flexibility of composable allows for data templating that works for all clients.

Link to headingAdopt a monorepo workflow

Link to headingMake it Turbo

Need some space to experiment?

Check out this Next.js and Turborepo starter template to ease your way into monorepo development.

Deploy

Link to headingLet Vercel manage the infrastructure

Native integrations

Vercel operates under principles of Framework-defined infrastructure (FDI), natively integrating with Next.js (or SvelteKit), DatoCMS, and Turborepo. FDI creates a seamless development and deployment experience.

For instance, DatoCMS users can trigger Vercel deployments directly from Dato, removing the need to handle deployments separately.

Next.js analytics, on the other hand, automatically populate in your Vercel Analytics dashboard, removing the hassle of setting up your own monitoring.

Wunderman Thompson utilizes these native integrations to efficiently manage their international, multi-domain portfolio of sites.

Preview deployments

Vercel's Preview Deployments allow customers to experience live previews of their sites quickly, facilitating rapid prototyping. With a preview deployment for every commit on every Git branch, your company remains agile and capable of experimentation and iteration.

These live preview deployments accurately represent the final site, complete with the global edge network, showcasing the site's performance.

Clients can interactively engage with the site, and with Vercel's Figma-like comments feature, they can provide feedback directly on Preview Deployments. This eliminates the need for screenshots or lengthy descriptions, enabling quicker design iterations from a single source of truth.

Serverless for scale

Before adopting Vercel, Wunderman Thompson had to manage a separate server for each client, upgrading server capabilities as traffic increased and incurring costs when traffic was low. Vercel's serverless platform eliminates these concerns, allowing the design system and portfolio of sites to scale seamlessly based on demand.

With Vercel, Wunderman Thompson enjoys peace of mind, knowing their infrastructure can handle traffic fluctuations without crashing or breaking.

A global Edge Network

Vercel's global Edge Network, including Edge Middleware and Functions, enables truly localized digital experiences. Internationalization and localization are built-in from the start, simplifying the management of multi-language websites.

Wunderman Thompson incorporates localized versions of their websites within their CMS. To add another language, they adjust an environmental variable in the Vercel deployment.

Link to headingImprove your customer story

Talk with a migration expert

We can help you find the best workflow for your team's unique needs.

Send a Message