{"id":27734291,"url":"https://github.com/pixel-point/fontpie-examles","last_synced_at":"2025-04-28T13:05:26.201Z","repository":{"id":100606748,"uuid":"563444970","full_name":"pixel-point/fontpie-examles","owner":"pixel-point","description":null,"archived":false,"fork":false,"pushed_at":"2022-11-08T16:17:35.000Z","size":194,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-28T13:03:30.473Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/pixel-point.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-11-08T16:17:30.000Z","updated_at":"2022-11-08T16:17:40.000Z","dependencies_parsed_at":"2023-03-05T21:45:33.907Z","dependency_job_id":null,"html_url":"https://github.com/pixel-point/fontpie-examles","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"pixel-point/gatsby-tailwind-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixel-point%2Ffontpie-examles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixel-point%2Ffontpie-examles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixel-point%2Ffontpie-examles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pixel-point%2Ffontpie-examles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pixel-point","download_url":"https://codeload.github.com/pixel-point/fontpie-examles/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251319612,"owners_count":21570426,"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":"2025-04-28T13:03:25.725Z","updated_at":"2025-04-28T13:05:26.159Z","avatar_url":"https://github.com/pixel-point.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pixel Point Gatsby Tailwind Starter\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/gatsby-tailwind-starter.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%2Fpixel-point%2Ffontpie-examles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpixel-point%2Ffontpie-examles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpixel-point%2Ffontpie-examles/lists"}