-
Notifications
You must be signed in to change notification settings - Fork 8
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(cxl-ui): cxl-featured-course-card v2 #340
Conversation
size-limit report 📦
|
99c325e
to
579afce
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.
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.
I tested it on WPS on https://github.com/conversionxl/cxl-wpstarter/pull/229 branch and found few glitches.
1. Short vs long content on slide
2. Long content looks bad on certain screen size
579afce
to
c7bcb88
Compare
5055a21
to
8eba16e
Compare
|
8eba16e
to
9ac2814
Compare
I think @heshfekry wanted to share that we're still iterating on the new look of this section (bigger cards) and didn't expect that gray background would make header section look bad. Please just make it look decent with minimal effort. Get inspired by the screenshot in the card, e.g. "Continue" part could be simply tweaked. |
Adjust tag card: - Featured-Course
+ Featured Course |
It more about the course title. I think we should think about how to handle such differences. |
@HenerHoop @heshfekry I know why it looks so ugly on mobile:
It will result in: |
@pawelkmpt @freudFlintstone |
9ac2814
to
8f75aac
Compare
@pawelkmpt Regarding the theme, one question to which you or Raphael might be able to answer. I also made some improvements to the header styles. |
It corresponded with initial design. |
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.
} | ||
|
||
@media #{mq.$medium} { | ||
@media #{mq.$large} { | ||
position: absolute; | ||
top: 0; | ||
right: var(--lumo-space-l); |
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.
right: var(--lumo-space-l); | |
right: var(--lumo-space-xl); |
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.
@pawelkmpt Should look better now. But there's still an issue with that first tag. It currently works when I use 'Featured courses' with a hyphen or something that doesn't include the word 'courses' separately.
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.
I fixed it by changing the 'Featured-course' tag to 'Featured'.
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.
Check base card code (and maybe changes history). I think it's handled there.
c2df872
to
c254689
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.
@heshfekry do you have any suggestions to colors of header section? |
Ye drop the borders (including the red, as that is hover state) and introduce shadows like here. Add white box around roadmap component. Make 2 CTAs white. with black text. Basically match this design, without the red border. |
c254689
to
6845a62
Compare
6845a62
to
639ab2d
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.
952b8d6
to
d7365b6
Compare
https://app.clickup.com/t/86aya2ta8