jamesvclements / sf-website

our studio website, open source.

Home Page:https://studiofreight.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Studio Freight Website

Setup

The usual process for Next.js based apps/websites:

  1. Install node modules:

    $ pnpm i

  2. Get the .env variables from Vercel (check .env.template), after installing Vercel CLI:

    $ vc link

    $ vc env pull

  3. run development environment:

    $ pnpm dev

Stack

Code Style & Linting

Third Party

Folder Structure

Alongside the usual Next.js folder structure (/public, /pages, etc.) We've added a few other folders to keep the code easier to read:

  • /assets: General Images/Videos and SVGs
  • /components: Reusable components with their respective Sass file
  • /contentful: Fragments/Queries/Renderers
  • /config: General settings (mostly Leva for now)
  • /hooks: Reusable Custom Hooks
  • /layouts: High level layout component
  • /lib: Reusable Scripts and State Store
  • /styles: Global styles and Sass partials

About

our studio website, open source.

https://studiofreight.com


Languages

Language:JavaScript 63.2%Language:SCSS 36.7%Language:Shell 0.1%