Add functionality for dynamic header movement, design tweaks

This commit is contained in:
Moris Zen
2018-08-30 09:57:48 +02:00
parent 10e200fbd6
commit 7b76680ec4
14 changed files with 258 additions and 144 deletions

View File

@@ -26,8 +26,10 @@ const IntroDefault = ({ ...props }) => (
)}
{props.text && (
<p
className={`${props.light ? headlineDark : ''}
font-light text-black-light text-lg leading-normal`}
className={`${props.light ? headlineDark : ''} ${
props.header ? 'saburly-text-intro' : 'text-black-light'
}
font-light text-lg leading-normal`}
>
{props.text}
</p>