-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: adds split image component and add it to Employee site #926
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
||
return ( | ||
<article className={styles.imageSplit}> | ||
{showImageToLeft && ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could do this css only with order to avoid having image be fore the title in the actual DOM, but would require not to use grid and I used grid to more robustly get it as 50/50 size. 🤔 Might be lazy
f3a2f8e
to
a4da530
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good :)
Adds generic split image module that should work like this:
Can be used on several places, but adds this specific block to employee site.
Fixes #897
Todo later:
Screenshots: