-
-
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,15 +3,18 @@ | |
{% set package = 'map'|ux_package %} | ||
|
||
{% block package_header %} | ||
<twig:Hero | ||
eyebrows="Assert('Mapper')" | ||
title="UX Map" | ||
url="{{ url('app_map') }}" | ||
> | ||
Embed <code>interactive maps</code> in your Symfony application in a breeze! | ||
<br /> | ||
Decouple your code from your map provider: <code>Google Maps</code>, <code>LeaftLet</code>. | ||
</twig:Hero> | ||
{% 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 %} | ||
Comment on lines
+6
to
+17
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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 commentThe 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 commentThe 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 code_block_left %} | ||
|
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