Skip to content
FREN
← All work

Integration and animationNo. 02

Elparo

Building a website’s mockups in Webstudio, with content in Hygraph and JavaScript animations managed with Vite

Mockup integration · Webstudio · Hygraph · GraphQL · JavaScript · Vite · Animations

01The context

The site’s mockups were designed by Chinaski. My role: build them in Webstudio, then animate the pages in JavaScript. The client also wanted a simple space to add new projects themselves

The challenge

Keep the freedom of code for the animations, in a site built with no-code. And handle several languages

02The approach

Webstudio for the structure. The animations needed code

  1. 01

    Understand

    the mockups and the intended animations

  2. 02

    Design

    the page breakdown and the content model

  3. 03

    Build

    the integration, the GraphQL queries and the animations

  4. 04

    Hand over

    a simple Hygraph space to publish new projects

Mockups of the Elparo website
The Elparo website on mobile

03The system

The page structure lives in Webstudio. The content sits in Hygraph, the CMS. The site fetches it with GraphQL, and that’s where the multilingual part gets handled: I had to adapt the queries to serve each language. The animations are written in JavaScript, in a project managed with Vite, which outputs the script the site loads

  1. 01

    The mockups

    the starting point

  2. 02

    Webstudio

    page structure

  3. 03

    Hygraph

    content and languages, via GraphQL

  4. 04

    Vite

    compiles the JavaScript

  5. 05

    The website

    animated pages, live

04The result

A live website, true to the mockups, with its JavaScript animations. The client publishes new projects themselves, from Hygraph

Let’s book 30 min

We’ll go over your project, no strings attached.

shall we talk?