{"id":18202585,"url":"https://github.com/timhagn/g3bitest","last_synced_at":"2025-04-07T18:27:34.097Z","repository":{"id":66277315,"uuid":"347475140","full_name":"timhagn/g3bitest","owner":"timhagn","description":"An example adaptation of gbi to gatsby-plugin-image.","archived":false,"fork":false,"pushed_at":"2021-04-21T14:01:18.000Z","size":1139,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-13T20:18:32.162Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/timhagn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-03-13T20:45:48.000Z","updated_at":"2021-04-21T14:01:21.000Z","dependencies_parsed_at":"2023-03-08T11:45:17.674Z","dependency_job_id":null,"html_url":"https://github.com/timhagn/g3bitest","commit_stats":{"total_commits":6,"total_committers":1,"mean_commits":6.0,"dds":0.0,"last_synced_commit":"b11dc3bd50f800629a58ba14c33d3ef5f5be11b3"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timhagn%2Fg3bitest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timhagn%2Fg3bitest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timhagn%2Fg3bitest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timhagn%2Fg3bitest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/timhagn","download_url":"https://codeload.github.com/timhagn/g3bitest/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247706281,"owners_count":20982575,"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-11-03T10:04:29.647Z","updated_at":"2025-04-07T18:27:34.068Z","avatar_url":"https://github.com/timhagn.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# G3BI-Test\n\nA quick example repo for [`gatsby-background-image`](https://github.com/timhagn/gatsby-background-image) \nto demonstrate what it can do and it's similarities \u0026 differences to `gatsby-plugin-image`.\n\nStart it up and head to [localhost:8000/gpi](http://localhost:8000/gpi) \n\n**WORK IN PROGRESS**\n\n## Creation\n\n`gbitest` is based on [`gatsby-starter-default`](https://github.com/gatsbyjs/gatsby-starter-default)\nsprinkled with [`styled-components`](https://www.styled-components.com/) and the \nsmall but practical [`styled-media-query`](https://github.com/morajabi/styled-media-query).  \nAnd last but not least, of course `gatsby-background-image` is part of the crew ; ).\n\n## Getting Started\n\nSimple clone this repo and run `yarn` or `npm install` to install.\n`yarn develop` or `npm run develop` gives you a working [localhost server](http://localhost:8000/).\n\nOn the left side you see content wrapped by `\u003cBackgroundImage /\u003e` from `gatsby-background-image`,\non the right (for comparison) a pure `gatsby-image`. \n\nUnder /image-stack/ you see an example with Multiple Stacked Background Images.\n\nBrowsing to /art-direction/ shows an example with a `media` prop for \nArt Directed Background Images.\n\nFeel free to play around with the `BackgroundSection` in [src/components/BackgroundSection.js](src/components/BackgroundSection.js).\n\nThere are also included examples on how to target the pseudo-elements in \nthe mentioned file as well as at the end of the CSS-file [src/components/layout.css](src/components/layout.css).\n\n## Contributing to `gatsby-background-image` with this repository\n\nTo read a little more about Contributing to `gatsby-background-image`, see\nthe [CONTRIBUTING](https://github.com/timhagn/gatsby-background-image/blob/main/CONTRIBUTING.md) \nfile over there : )!\nIf that's TL;DR, just at least read though the passage on [Debugging](https://github.com/timhagn/gatsby-background-image/blob/main/CONTRIBUTING.md#debugging)!\n\n## Scripts\n\nAll runnable as `yarn \u003cSCRIPT_NAME\u003e` or `npm run \u003cSCRIPT_NAME\u003e`.\n\n|  Name   |  Function                                                                                                        |\n| ------- | ---------------------------------------------------------------------------------------------------------------- |\n| build   | Generates a production build.                                                                                    |\n| clean   | Removes `.cache` \u0026 `public` folders (should you have problems). `develop` script has to be restarted afterwards! |\n| develop | Generates a development build and starts its server (not meant for production!).                                 |\n| format  | Cleans up the code and formats it with [`prettier`](https://prettier.io/).                                       |\n| serve   | Serves the production build generated by `build` at port `9001`.                                                 |\n| start   | Alias for `develop`.                                                                                             |\n\nThere would be `test` as well - but alas, right now we don't have any for this \nrepo. Feel free to open a PR ; ).\n\n## Troubleshooting npm \"screaming\" about package vulnerabilities\n\nAs I'm quite eager to see to it that no vulnerabilities **ever** get published \nwith `gatsby-background-image` \u0026 `gatsby-background-image-es5`, but sometimes\nnpm still \"screamed\" at me about other packages having some when I bumped \ndependency versions of `gbitest`, I usually could fix them with a simple:\n\n```bash\nnpm audit --fix\n```\n\nSo have no fears ; ).\n\n## Versioning\n\nAs of `gbi(-es5)` `v0.9.7` this package will follow the versioning of `gbi(-es5)` \n(last version before was `0.5.2`).\n\n#### Hav Phun : )!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimhagn%2Fg3bitest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimhagn%2Fg3bitest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimhagn%2Fg3bitest/lists"}