Skip to content

Commit

Permalink
v1.4.47
Browse files Browse the repository at this point in the history
  • Loading branch information
DiogoSoaress committed Sep 18, 2024
1 parent 8d89ccd commit 1ccc92f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "safe-homepage",
"homepage": "https://github.com/safe-global/safe-homepage",
"version": "1.4.46",
"version": "1.4.47",
"scripts": {
"build": "next build && next export",
"lint": "next lint",
Expand Down
16 changes: 8 additions & 8 deletions src/components/Core/ParallaxBuild/ParallaxBuildElement.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@ import BracketsImage from '@/public/images/Core/Parallaxes/Build/brackets.png'
import FrameImage from '@/public/images/Core/Parallaxes/Build/background.svg'
import ParallaxWrapper from '@/components/common/ParallaxWrapper'
import type { BaseBlock } from '@/components/Home/types'
import css from './styles.module.css'
import LinkButton from '@/components/common/LinkButton'
import ArrowIcon from '@/public/images/arrow-out-square-corner.svg'
import css from './styles.module.css'

const blockClassNames = ['stepZero', 'stepOne', 'stepTwo']
const depths = [0, 1] as const
Expand All @@ -21,13 +20,14 @@ const ParallaxBuildElement = ({ items }: { items: BaseBlock['items'] }) => {

return (
<ParallaxWrapper translateX={0} translateY={0} depth={depth} direction={-1} key={index}>
<div className={`${css.movingElement} ${css[className]}`}>
<div className={css.title}>
{link ? <LinkButton href={link.href} fullSize underline={false} /> : undefined}
{title}
<ArrowIcon className={css.arrow} />
<a href={link?.href} target="_blank" rel="noreferrer">
<div className={`${css.movingElement} ${css[className]}`}>
<div className={css.title}>
{title}
<ArrowIcon className={css.arrow} />
</div>
</div>
</div>
</a>
</ParallaxWrapper>
)
})}
Expand Down

0 comments on commit 1ccc92f

Please sign in to comment.