-
-
Notifications
You must be signed in to change notification settings - Fork 364
[ux.symfony.com] Fix rendering/color issues on Map page #2069
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
Conversation
6d93d1d
to
bd7a430
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.
Tested it locally and it work great 👍
{% component PackageHeader with { | ||
package: 'map', | ||
eyebrowText: 'Seamless Maps Integration', | ||
} %} | ||
{% block title_header %} | ||
Embed <em>interactive maps</em> in a breeze! | ||
{% endblock %} | ||
|
||
{% block sub_content %} | ||
Decouple your code from your map provider: <em>Google Maps</em>, <em>LeaftLet</em>. | ||
{% endblock %} | ||
{% endcomponent %} |
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.
Why not use the HTML syntax?
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.
It's not used elsewhere for now. I used it in the first version of this page with the new component but here it feels more coherent.
But all this will really soon change so i don't mind :)
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've just go for the fastest (all other packages use this syntax), hoping this PR could quickly be merged and deployed :)
{% endblock %} | ||
|
||
{% block sub_content %} | ||
Decouple your code from your map provider: <em>Google Maps</em>, <em>LeaftLet</em>. |
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 don't really understand this syntax what do you think about something like: Seamlessly connect with any map provider, like Google Maps or Leaflet.
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.
Seamless is used in the eyebrow, and decouple felt a good thing to expose as it is an important promise of the component, but i agree this sentence could be more catchy / efficient
bd7a430
to
c3a8806
Compare
Thanks Hugo. |
It looks like we have some visual issues in light mode on the Map page, we can't see the menu:

And we miss the
composer require ...
thing.I've Replaced the usage of the new component
Hero
(introduced in #2053) by the good oldPackageHeader
component.This is the quickest solution right now to correctly render UX Map page, and it gives us some times to improve this
Hero
component and re-use it in all UX package pages.EDIT: I've seen with @smnandre for some minor adjustements:

