diff --git a/app/layout/home/banner/component.tsx b/app/layout/home/banner/component.tsx index f1f2a9c279..ccbb02d81a 100644 --- a/app/layout/home/banner/component.tsx +++ b/app/layout/home/banner/component.tsx @@ -15,19 +15,19 @@ const claimLines = [{ id: '0', text: 'free and open' }, { id: '1', text: 'flexib export const HomeBanner: React.FC = () => { return ( -
+
-
Marxan software is
+
Marxan software is
-
+
{!!claimLines.length && claimLines.map((cl) => ( -

{cl.text}

+

{cl.text}

))}
@@ -35,7 +35,7 @@ export const HomeBanner: React.FC = () => {
theme('colors'), backgroundImage: { @@ -553,28 +553,34 @@ module.exports = { }, banner: { '0%': { - marginTop: '20px', + transform: 'translateY(0%)', }, - '15%': { - marginTop: '20px', + '11.11%': { + transform: 'translateY(0%)', }, - '30%': { - marginTop: '-90px', + '22.22%': { + transform: 'translateY(0%)', }, - '45%': { - marginTop: '-90px', + '33.33%': { + transform: 'translateY(-33.33%)', }, - '60%': { - marginTop: '-90px', + '44.44%': { + transform: 'translateY(-33.33%)', }, - '70%': { - marginTop: '-210px', + '55.55%': { + transform: 'translateY(-33.33%)', }, - '85%': { - marginTop: '-210px', + '66.66%': { + transform: 'translateY(-66.66%)', + }, + '77.77%': { + transform: 'translateY(-66.66%)', + }, + '88.88%': { + transform: 'translateY(-66.66%)', }, '100%': { - marginTop: '-10px', + transform: 'translateY(0%)', }, }, },