Generally trying to improve performance.
This commit is contained in:
@ -27,7 +27,6 @@ import { PageBoundary } from '@components/page/Page';
|
||||
import { ImageSection } from '@components/section/Section';
|
||||
import FloatingContentBox from '@objects/content/box/FloatingContentBox';
|
||||
import { Title, Subtitle } from '@objects/typography/Typography';
|
||||
import ElementScrollFader from '@objects/animation/fade/ElementScrollFader';
|
||||
|
||||
|
||||
export default withLanguage(props => {
|
||||
@ -36,6 +35,7 @@ export default withLanguage(props => {
|
||||
return (
|
||||
<ImageSection
|
||||
className="p-home-page__banner"
|
||||
imageClassName="p-home-page__banner-image"
|
||||
src={ require('@assets/images/banners/about/glasses.svg') }
|
||||
alt="domsPlace"
|
||||
width="2400"
|
||||
@ -44,10 +44,8 @@ export default withLanguage(props => {
|
||||
>
|
||||
<PageBoundary full>
|
||||
<FloatingContentBox position="middle center" size="large" className="u-text-center">
|
||||
<ElementScrollFader from="bottom" >
|
||||
<Title>{ lang.pages.home.banner.title }</Title>
|
||||
<Subtitle className="u-responsive--small-up">{ lang.pages.home.banner.subtitle }</Subtitle>
|
||||
</ElementScrollFader>
|
||||
<Title>{ lang.pages.home.banner.title }</Title>
|
||||
<Subtitle>{ lang.pages.home.banner.subtitle }</Subtitle>
|
||||
</FloatingContentBox>
|
||||
</PageBoundary>
|
||||
</ImageSection>
|
||||
|
Reference in New Issue
Block a user