{"id":19132773,"url":"https://github.com/parca-dev/landing-page","last_synced_at":"2025-05-06T18:12:26.057Z","repository":{"id":51686663,"uuid":"487790772","full_name":"parca-dev/landing-page","owner":"parca-dev","description":"parca.dev landing page","archived":false,"fork":false,"pushed_at":"2025-05-05T01:27:56.000Z","size":11958,"stargazers_count":2,"open_issues_count":3,"forks_count":2,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-05-05T02:28:08.055Z","etag":null,"topics":["static-website"],"latest_commit_sha":null,"homepage":"https://parca.dev","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/parca-dev.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,"zenodo":null}},"created_at":"2022-05-02T09:43:06.000Z","updated_at":"2025-05-05T01:28:00.000Z","dependencies_parsed_at":"2023-12-25T01:33:39.248Z","dependency_job_id":"58b3708d-5a89-45d6-ab5e-cc287ebc8a0e","html_url":"https://github.com/parca-dev/landing-page","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parca-dev%2Flanding-page","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parca-dev%2Flanding-page/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parca-dev%2Flanding-page/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parca-dev%2Flanding-page/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/parca-dev","download_url":"https://codeload.github.com/parca-dev/landing-page/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252741458,"owners_count":21797027,"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":["static-website"],"created_at":"2024-11-09T06:19:40.501Z","updated_at":"2025-05-06T18:12:26.032Z","avatar_url":"https://github.com/parca-dev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Parca Gatsby\n\n## Table of Contents\n\n- [Getting Started](#getting-started)\n- [Usage](#usage)\n  - [Run the website](#run-the-website)\n  - [Build the website](#build-the-website)\n  - [Run the built website](#run-the-built-website)\n  - [Clean Gatsby cache](#clean-gatsby-cache)\n- [Project Structure](#project-structure)\n- [Code Style](#code-style)\n  - [ESLint](#eslint)\n  - [Prettier](#prettier)\n  - [VS Code](#vs-code)\n\n## Getting Started\n\n1. Clone this repository or hit \"Use this template\" button\n\n```bash\ngit clone git@github.com:pixel-point/parca-gatsby.git\n```\n\n2. Install dependencies\n\n```bash\nnpm install\n```\n\n3. Fill environment variables\n\n```bash\ncp .env.example .env\n```\n\n## Usage\n\n### Run the website\n\n```bash\nnpm run start\n```\n\n### Build the website\n\n```bash\nnpm run build\n```\n\n### Run the built website\n\n```bash\nnpm run serve\n```\n\n### Clean Gatsby cache\n\n```bash\nnpm run clean\n```\n\n## Project Structure\n\n```text\n├── src\n│   ├── components\n│   │  ├── pages — React components that are being used specifically on a certain page\n│   │  └── shared — React components that are being used across the whole website\n│   ├── hooks\n│   ├── images\n│   ├── pages\n│   ├── styles\n│   ├── templates\n│   ├── utils\n│   └── html.jsx — HTML template for all generated pages. Read more about it here — gatsbyjs.org/docs/custom-html\n├── static\n│   └── fonts\n├── gatsby-browser.js — Usage of the Gatsby browser APIs. Read more about it [here](gatsbyjs.org/docs/browser-apis)\n├── gatsby-config.js — Main configuration file for a Gatsby site. Read more about it [here](gatsbyjs.org/docs/gatsby-config)\n├── gatsby-node.js — Usage of the Gatsby Node APIs. [Read more about it here](gatsbyjs.org/docs/node-apis)\n└── gatsby-ssr.js — Usage of the Gatsby server-side rendering APIs. [Read more about it here](gatsbyjs.org/docs/ssr-apis)\n```\n\n## Component Folder Structure\n\n### Each component includes\n\n1. Main JavaScript File\n2. Index File\n\n### Each component optionally may include\n\n1. Folder with images and icons\n2. Folder with data\n\nAlso, each component may include another component that follows all above listed rules.\n\n### Example structure\n\n```bash\ncomponent\n├── nested-component\n│  ├── data\n│  │  └── nested-component-lottie-data.json\n│  ├── images\n│  │  ├── nested-component-image.jpg\n│  │  ├── nested-component-inline-svg.inline.svg\n│  │  └── nested-component-url-svg.url.svg\n│  ├── nested-component.js\n│  └── index.js\n├── data\n│  └── component-lottie-data.json\n├── images\n│  ├── component-image.jpg\n│  ├── component-inline-svg.inline.svg\n│  └── component-url-svg.url.svg\n├── component.js\n└── index.js\n```\n\n## Code Style\n\n### ESLint\n\n[ESLint](https://eslint.org/) helps find and fix code style issues and force developers to follow same rules. Current configuration is based on [Airbnb style guide](https://github.com/airbnb/javascript).\n\nAdditional commands:\n\n```bash\nnpm run lint\n```\n\nRun it to check the current status of eslint issues across project.\n\n```bash\nnpm run lint:fix\n```\n\nRun it to fix all possible issues.\n\n### Prettier\n\n[Prettier](https://prettier.io/) helps to format code based on defined rules. [Difference between Prettier and ESLint](https://prettier.io/docs/en/comparison.html).\n\nAdditional commands:\n\n```bash\nnpm run format\n```\n\nRun it to format all files across the project.\n\n### VS Code\n\nFollowing extensions required to simplify the process of keeping the same code style across the project:\n\n- [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)\n- [Prettier](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode)\n\nAfter installation enable \"ESLint on save\" by adding to your VS Code settings.json the following line:\n\n```json\n\"editor.codeActionsOnSave\": {\n    \"source.fixAll.eslint\": true\n}\n```\n\nYou can navigate to settings.json by using Command Pallete (CMD+Shift+P) and then type \"Open settings.json\".\n\nTo enable Prettier go to Preferences -\u003e Settings -\u003e type \"Format\". Then check that you have esbenp.prettier-vscode as default formatter, and also enable \"Format On Save\".\n\nReload VS Code and auto-format will work for you.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparca-dev%2Flanding-page","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparca-dev%2Flanding-page","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparca-dev%2Flanding-page/lists"}