{"id":13629883,"url":"https://github.com/darkroomengineering/sf-website","last_synced_at":"2025-04-05T12:03:45.901Z","repository":{"id":173503661,"uuid":"644589470","full_name":"darkroomengineering/sf-website","owner":"darkroomengineering","description":"Our website, open source.","archived":false,"fork":false,"pushed_at":"2024-10-11T13:57:37.000Z","size":56988,"stargazers_count":120,"open_issues_count":2,"forks_count":13,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-29T11:05:55.200Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://studiofreight.com","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/darkroomengineering.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-23T20:54:01.000Z","updated_at":"2025-03-17T23:03:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"6896dde8-e35c-4456-8efb-bcffe81a7060","html_url":"https://github.com/darkroomengineering/sf-website","commit_stats":null,"previous_names":["studio-freight/sf-website","darkroomengineering/sf-website"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkroomengineering%2Fsf-website","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkroomengineering%2Fsf-website/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkroomengineering%2Fsf-website/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkroomengineering%2Fsf-website/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/darkroomengineering","download_url":"https://codeload.github.com/darkroomengineering/sf-website/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247332560,"owners_count":20921853,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T22:01:22.874Z","updated_at":"2025-04-05T12:03:45.884Z","avatar_url":"https://github.com/darkroomengineering.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Studio Freight Website\n\n## Setup\n\nThe usual process for Next.js based apps/websites:\n\n1. Install node modules:\n\n   `$ pnpm i`\n\n2. Get the .env variables from Vercel (check `.env.template`), after [installing Vercel CLI](https://vercel.com/docs/cli):\n\n   `$ vc link`\n\n   `$ vc env pull`\n\n3. run development environment:\n\n   `$ pnpm dev`\n\n## Stack\n\n- [Lenis](https://github.com/studio-freight/lenis)\n- [Hamo](https://github.com/studio-freight/hamo)\n- [PNPM](https://pnpm.io/)\n- [Next.js](https://nextjs.org/)\n- Sass (Modules)\n- [Zustand](https://github.com/pmndrs/zustand)\n- [React Hook Form](https://react-hook-form.com/)\n- GraphQL (CMS API)\n- [Next-Sitemap](https://github.com/iamvishnusankar/next-sitemap) (postbuild script)\n- [@svgr/webpack](https://github.com/gregberge/svgr/tree/main) (SVG Imports in `next.config.js`)\n\n## Code Style \u0026 Linting\n\n- Eslint ([Next](https://nextjs.org/docs/basic-features/eslint#eslint-config) and [Prettier](https://github.com/prettier/eslint-config-prettier) plugins)\n- [Prettier](https://prettier.io/) with the following settings available in `.pretierrc`:\n  ```json\n  {\n    \"endOfLine\": \"auto\",\n    \"semi\": false,\n    \"singleQuote\": true\n  }\n  ```\n- [Husky + lint-staged precommit hooks](https://github.com/okonet/lint-staged)\n\n## Third Party\n\n- [Contentful Headless CMS (GraphQL API)](https://contentful.com/)\n- [Hubspot CRM](https://hubspot.com/)\n- [Vercel (Hosting \u0026 Continuous Deployment)](https://vercel.com/home)\n- [GitHub Versioning](https://github.com/)\n\n## Folder Structure\n\nAlongside the usual Next.js folder structure (`/public`, `/pages`, etc.) We've added a few other folders to keep the code easier to read:\n\n- **/assets:** General Images/Videos and SVGs\n- **/components:** Reusable components with their respective Sass file\n- **/contentful:** Fragments/Queries/Renderers\n- **/config:** General settings (mostly Leva for now)\n- **/hooks:** Reusable Custom Hooks\n- **/layouts:** High level layout component\n- **/lib:** Reusable Scripts and State Store\n- **/styles:** Global styles and Sass partials\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarkroomengineering%2Fsf-website","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdarkroomengineering%2Fsf-website","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarkroomengineering%2Fsf-website/lists"}