mirror of
https://github.com/kremalicious/portfolio.git
synced 2024-12-22 09:13:19 +01:00
add offset to lazyload
This commit is contained in:
parent
a7376f23fd
commit
52943311e8
@ -11,7 +11,7 @@ class Home extends Component {
|
||||
|
||||
<div className="projects">
|
||||
{projects.map(project => (
|
||||
<LazyLoad key={project.slug} height={700} once>
|
||||
<LazyLoad key={project.slug} height={700} offset={200} once>
|
||||
<FadeIn>
|
||||
<article className="project" key={project.slug}>
|
||||
<h1 className="project__title">{project.name}</h1>
|
||||
|
Loading…
Reference in New Issue
Block a user