-
-
Notifications
You must be signed in to change notification settings - Fork 319
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use ux_package template for ux-icons page
- Loading branch information
Showing
5 changed files
with
54 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
{% extends 'ux_packages/package.html.twig' %} | ||
|
||
{% block javascripts %} | ||
{{ parent() }} | ||
<meta name="turbo-prefetch" content="false"> | ||
{% endblock %} | ||
|
||
{% block package_header %} | ||
{% component PackageHeader with { | ||
package: 'icons', | ||
eyebrowText: 'SVG icons made easy' | ||
} %} | ||
{% block title_header %} | ||
UX Icons | ||
{% endblock %} | ||
|
||
{% block sub_content %} | ||
Render SVG icons seamlessly from your Twig templates. | ||
<br/> | ||
Find the <code>perfect icon</code> among <code>200,000 choices</code> from the most popular <code>icon sets</code>. | ||
{% endblock %} | ||
{% endcomponent %} | ||
{% endblock %} | ||
|
||
{% block package_content %} | ||
<section class="container-fluid container-xxl px-4 px-md-5 py-3"> | ||
<twig:Icon:IconSearch/> | ||
</section> | ||
|
||
<section class="container-fluid container-xxl px-4 px-md-5 py-3"> | ||
<p class="eyebrows" style="margin: 4rem 0 0;">Iconic Packages</p> | ||
<div class="d-md-flex justify-content-md-between text-center align-items-center text-md-start"> | ||
<h2 class="ubuntu pt-2 component-headlines">Popular <em class="rainbow-emphasis">Icon Sets</em></h2> | ||
</div> | ||
<div class="mt-3 mt-md-5"> | ||
<div style="display:grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 2rem;"> | ||
{% for icon_set in iconSets %} | ||
<twig:Icon:IconSetCard | ||
iconSet="{{ icon_set }}" | ||
index="{{ loop.index0 }}" | ||
/> | ||
{% endfor %} | ||
</div> | ||
</div> | ||
</section> | ||
|
||
{% endblock %} | ||
|
||
{% block body %} | ||
{{ parent() }} | ||
<twig:Icon:IconModal/> | ||
{% endblock %} |