{"id":17345053,"url":"https://github.com/ahansson/hgrid-css-astro","last_synced_at":"2026-02-11T07:02:16.836Z","repository":{"id":38363760,"uuid":"387381818","full_name":"ahansson/hgrid-css-astro","owner":"ahansson","description":"Astro demo project with hgrid-css","archived":false,"fork":false,"pushed_at":"2023-03-06T06:22:25.000Z","size":2832,"stargazers_count":0,"open_issues_count":13,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-30T07:22:29.206Z","etag":null,"topics":["hgrid-css"],"latest_commit_sha":null,"homepage":"","language":"Astro","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/ahansson.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":"2021-07-19T07:47:25.000Z","updated_at":"2022-08-28T14:23:52.000Z","dependencies_parsed_at":"2025-02-12T17:49:11.029Z","dependency_job_id":"70897166-0dc1-4724-aeba-0c6bba3ee50a","html_url":"https://github.com/ahansson/hgrid-css-astro","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ahansson/hgrid-css-astro","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahansson%2Fhgrid-css-astro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahansson%2Fhgrid-css-astro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahansson%2Fhgrid-css-astro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahansson%2Fhgrid-css-astro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ahansson","download_url":"https://codeload.github.com/ahansson/hgrid-css-astro/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahansson%2Fhgrid-css-astro/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29329492,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T06:13:03.264Z","status":"ssl_error","status_checked_at":"2026-02-11T06:12:55.843Z","response_time":97,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["hgrid-css"],"created_at":"2024-10-15T16:29:06.437Z","updated_at":"2026-02-11T07:02:16.822Z","avatar_url":"https://github.com/ahansson.png","language":"Astro","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Integrating [hgrid-css](https://github.com/ahansson/hgrid-css) in an [Astro](https://astro.build) project\n\n\u003cp\u003e\n  \u003cimg src=\"/public/assets/screenshot.png\" alt=\"Screenshot\" title=\"Screenshot\"\u003e\n\u003c/p\u003e\n\n## 📄 Hgrid Documentation\n\n[https://hgrid.io/documentation/integrate/#astro](https://hgrid.io/documentation/integrate/#astro)\n\n## 🚀 Project Structure\n\nInside of your Astro project, you'll see the following folders and files:\n\n```\n/\n├── public/\n│   ├── robots.txt\n│   └── favicon.ico\n├── src/\n│   ├── components/\n│   │   └── Tour.astro\n│   └── pages/\n│       └── index.astro\n└── package.json\n```\n\nAstro looks for `.astro` or `.md` files in the `src/pages/` directory. Each page is exposed as a route based on its file name.\n\nInstall `hgrid-css` as a npm package with `npm i -D hgrid-css`. Change the file ending of `global.css` to `global.scss` and initialize hgrid at the top of the file: \u003cpre\u003e\u003ccode\u003e@use 'hgrid-css/sass/hgrid' with (\n            \u003cspan class=\"text-gray inline-block push30h\"\u003e// config (see https://hgrid.io/documentation/integrate for details)\u003c/span\u003e\n);\u003c/code\u003e\u003c/pre\u003e\n\nThere's nothing special about `src/components/`, but that's where we like to put any Astro/React/Vue/Svelte/Preact components.\n\nAny static assets, like images, can be placed in the `public/` directory.\n\n## 🧞 Commands\n\nAll commands are run from the root of the project, from a terminal:\n\n| Command         | Action                                      |\n|:----------------|:--------------------------------------------|\n| `npm install`   | Installs dependencies                       |\n| `npm run start` | Starts local dev server at `localhost:3000` |\n| `npm run build` | Build your production site to `./dist/`     |\n\n## 👀 Want to learn more?\n\nFeel free to check [our documentation](https://github.com/snowpackjs/astro) or jump into our [Discord server](https://astro.build/chat).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahansson%2Fhgrid-css-astro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fahansson%2Fhgrid-css-astro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahansson%2Fhgrid-css-astro/lists"}