Skip to content

[Site] Add links to UX icons documentation #2499

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

Merged
merged 1 commit into from
Jan 10, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions ux.symfony.com/templates/icons/index.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,11 @@
<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>
<a style="height: 100%;" class="btn btn-md btn-outline-primary my-3 my-md-0"
href="https://symfony.com/bundles/ux-icons/current/index.html" rel="external" target="_blank">
Read Documentation
<twig:ux:icon name="arrow-right" style="transform: rotate(-45deg);"/>
</a>
</div>
<div class="mt-3 mt-md-5">
<div style="display:grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 2rem;">
Expand All @@ -61,6 +66,41 @@
</div>
</section>

<section class="section">
<div class="container-fluid container-xxl px-4 px-md-5 py-3">

<div class="d-md-flex justify-content-md-between py-5 text-center align-items-center text-md-start">
<h2 class="ubuntu pt-2 component-headlines">Documentation</h2>
<a href="https://symfony.com/bundles/ux-icons/current/index.html" class="btn btn-md btn-outline-primary my-3 my-md-0"
rel="external" target="_blank">
Read Full Documentation
<twig:ux:icon name="arrow-right" style="transform: rotate(-45deg);"/>
</a>
</div>

<div class="row">
<div class="col-4">
<h3 class="ubuntu mb-4" style="font-weight: 400;" title="Install UX Icons">Installation</h3>
<twig:Terminal bottomPadding="20">
composer require {{ package.composerName }}
</twig:Terminal>
</div>
<div class="col-4">
<h3 class="ubuntu mb-4" style="font-weight: 400;" title="Search UX Icons">Search Icons</h3>
<twig:Terminal bottomPadding="20">
php bin/console ux:icons:search lucide
</twig:Terminal>
</div>
<div class="col-4">
<h3 class="ubuntu mb-4" style="font-weight: 400;" title="Symfony UX Bundle Configuration">Configuration</h3>
<twig:Terminal bottomPadding="20">
php bin/console debug:config ux_icons
</twig:Terminal>
</div>
</div>
</div>
</section>

{% endblock %}

{% block aside %}
Expand Down
Loading