timhagn/gatsby-background-image
소개
지연 로딩을 지원하는 React 배경 이미지 컴포넌트입니다. 여러 배경 이미지를 사용할 수 있으며 blur-up 효과를 선택적으로 지원합니다.
웹 및 앱 개발측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Originalgatsby-background-image(-es5)
Speedy, optimized background-images without the work!
gatsby-background-image & gatsby-background-image-es5 are React components
which for background-images provide, what Gatsby's own gatsby-image does for
the rest of your images and even more:
Testing explained in its own section.
Art-Direction support built in.
It has all the advantages of gatsby-image,
including the "blur-up" technique or a "traced placeholder"
SVG to show a preview of the image while it loads,
plus being usable as a container (no more hacks with extra wrappers)
plus being able to work with multiple stacked background images
plus being able to style with Tailwind CSS and suchlike Frameworks
All the glamour (and speed) of gatsby-image for your Background Images!
Of course styleable with styled-components and the like!
Preamble
Since [email protected], this is a monorepo managed by
lerna, so have a look at the individual READMEs of
Example Repo
gatsby-background-image has an example repository to see its similarities
& differences to gatsby-image side by side.
It's located at: gbitest
To use it with gatsby-background-image-es5 change the dependency there.
Contributing
Everyone is more than welcome to contribute to this little package!
Docs, Reviews, Testing, Code - whatever you want to add, just go for it : ).
So have a look at our CONTRIBUTING file and give it a go.
Thanks in advance!
TODO
For anything you may think necessary tell me by opening an issue or a PR : )!
관련 프로젝트 살펴보기
불러오는 중…