Skip to main content
← All disciplines

02 / Frontend architecture

One frontend, many branded sites.

Open a profile on a branded site

V1 · Shared views: Open a profile on a branded siteBrand selects the appearance at build time. Screen width selects a layout, not a different brand.. Account session → Platform API: fetch. Returns profile. Account session → Profile details: cached user. Profile route → Profile details: imports. Profile details → Account details: renders. Brand config → Account details: icons + colours. Account details → Desktop view: desktop. Account details → Mobile view: mobile.fetch / profilecached userimportsrendersicons + coloursdesktopmobilePlatform APILIVE BACKENDAccount sessionLOADS USER AT SIGN-INProfile routeNEXT.JSProfile detailsSHARED PAGEBrand configBUILD TIMEAccount detailsSHARED COMPONENTDesktop viewBROWSERMobile viewBROWSER

━ Selected flow ┄ Other connections

The same frontend runs in the browser and the WebView wrapper. It calls the Platform API; each brand supplies its own colours and artwork.

What we run · V1 · Shared views

What stays shared
The profile details route points to the same implementation across brands. Desktop and mobile layouts reuse the personal information and address components.
Why change it?
Changing an icon is easy. Giving just one brand a different profile screen is a different problem: the next frontend makes that an explicit choice.
Inside the Platform API →

Open roles

No open role in this discipline right now.

See all open roles →