CV

Ceviant Marketing Portal.

Public marketing site of a treasury management and trade finance platform. It presents the products, articles, events, open positions and an LEI application, and the client's team edits the content in Prismic.

Finance

Year
2023
Built for a client
My part
Team member
Core stack
13 technologies
Formik, Google Analytics, Google Maps, Next.js
Website
ceviant.co

My role

I was a front-end developer on the Ceviant product and, once the senior developers left, its most senior one. I led 4 developers there, one of them an intern I mentored.

Frontend

Capabilities

Content

  • Prismic content model with 10 content types and 8 slices, rendered by a separate switch per page type
  • Static pages with draft previews and a slice simulator page
  • Product list in the header, footer and product pages, with the escrow product left out on the second domain
  • 25+ pages: home, about, products, developers, resources, events, legal and regulatory

Visitors

  • Resources hub with tabs from Prismic, full-text search and deep links to a tab
  • Events list with date ranges, upcoming events block, newsletter box and a meeting-request form
  • Open positions with filters by department, work model and location, and an apply form with CV upload
  • LEI information page with an application form

Forms and shell

  • Five contact endpoints, each with its own DTO and Yup schema, a shared validation pipe and one mailer
  • Expiring header notices that visitors can close, with the dismissed ids stored in the browser
  • Cookie banner, route-change progress bar, back-to-top button and Google Analytics
  • Component kit of 31 component folders and 50 component files, with Plop generators

Patterns and decisions

  • The site is a Next.js pages-router app with React and TypeScript, styled with Styled Components. It has 25+ pages and 8 API routes.
  • Content lives in Prismic: 10 content types and 8 slices. Editors change pages without a release.
  • Content pages are static. The four detail pages (events, open positions, products, resources) generate paths with a fallback, so a new document opens without a rebuild.
  • Each page type renders slices with its own switch on the slice type. There is no generic slice zone.
  • The contact and newsletter forms each have a DTO type and a Yup schema, and a shared validation pipe checks the body. The CV upload is a plain multipart handler. One mailer sends all the mail.
  • Formik with Yup drives the LEI, events, contact and application forms. A small reducer holds the open-positions filters. There is no global store.
  • The kit has 31 component folders. Plop generators kept each new component in the same three files: component, styles and interfaces.
  • Google Analytics loads lazily. Dates use date-fns, and the contacts page has a Google Maps view of the offices.

Cases

Marketing pages edited by non-developers. Product, article, event and job pages change often and had to ship without a release. The client's team edits them in Prismic. I rendered the slices on the front end. Each page type picks its own slices, so the product page renders only product slices and the article page only article slices. Some slices get context from their neighbours: the product page tells a text block whether an accordion follows. Editors also see an unpublished page on the real route, and a slice simulator page previews a single slice from the Prismic editor from the Prismic editor.

Typed contact forms with validated mail routes. Five forms (general, sales, support, LEI and event meeting request) had to reach different inboxes with validated input. Each form has one DTO type and one Yup schema. The handlers use next-api-decorators with a shared validation pipe that turns schema errors into a bad-request response. Sales requests and general enquiries go to different addresses. All of them send through one mail helper on Nodemailer.

Resources hub with tabs, search and deep links. Articles and use cases needed category browsing, full-text search and links that open a given tab. Tabs are data: Prismic documents tagged as resource tabs, ordered by first publication date, plus fixed "View all" and "Use Cases" tabs. The "Use Cases" tab queries two categories with a Prismic predicate. Items load on demand and stay cached in state. Search runs a full-text query on titles. A query parameter scrolls to the tabs and selects one.

Core stack

APIs & back end

Design & collaboration

Email & SMS

Frameworks, routing & apps

Infrastructure & observability

Languages & markup

Quality & tooling

State, forms & data fetching

UI kits & styling

Screenshots