Skip to content

Commit ed474d2

Browse files
committed
minor #2499 [Site] Add links to UX icons documentation (smnandre)
This PR was merged into the 2.x branch. Discussion ---------- [Site] Add links to UX icons documentation Commits ------- 0e88dad [Site] Add Icons documentation links
2 parents a471878 + 0e88dad commit ed474d2

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

ux.symfony.com/templates/icons/index.html.twig

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,11 @@
4848
<p class="eyebrows" style="margin: 4rem 0 0;">Iconic Packages</p>
4949
<div class="d-md-flex justify-content-md-between text-center align-items-center text-md-start">
5050
<h2 class="ubuntu pt-2 component-headlines">Popular <em class="rainbow-emphasis">Icon Sets</em></h2>
51+
<a style="height: 100%;" class="btn btn-md btn-outline-primary my-3 my-md-0"
52+
href="https://symfony.com/bundles/ux-icons/current/index.html" rel="external" target="_blank">
53+
Read Documentation
54+
<twig:ux:icon name="arrow-right" style="transform: rotate(-45deg);"/>
55+
</a>
5156
</div>
5257
<div class="mt-3 mt-md-5">
5358
<div style="display:grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 2rem;">
@@ -61,6 +66,41 @@
6166
</div>
6267
</section>
6368

69+
<section class="section">
70+
<div class="container-fluid container-xxl px-4 px-md-5 py-3">
71+
72+
<div class="d-md-flex justify-content-md-between py-5 text-center align-items-center text-md-start">
73+
<h2 class="ubuntu pt-2 component-headlines">Documentation</h2>
74+
<a href="https://symfony.com/bundles/ux-icons/current/index.html" class="btn btn-md btn-outline-primary my-3 my-md-0"
75+
rel="external" target="_blank">
76+
Read Full Documentation
77+
<twig:ux:icon name="arrow-right" style="transform: rotate(-45deg);"/>
78+
</a>
79+
</div>
80+
81+
<div class="row">
82+
<div class="col-4">
83+
<h3 class="ubuntu mb-4" style="font-weight: 400;" title="Install UX Icons">Installation</h3>
84+
<twig:Terminal bottomPadding="20">
85+
composer require {{ package.composerName }}
86+
</twig:Terminal>
87+
</div>
88+
<div class="col-4">
89+
<h3 class="ubuntu mb-4" style="font-weight: 400;" title="Search UX Icons">Search Icons</h3>
90+
<twig:Terminal bottomPadding="20">
91+
php bin/console ux:icons:search lucide
92+
</twig:Terminal>
93+
</div>
94+
<div class="col-4">
95+
<h3 class="ubuntu mb-4" style="font-weight: 400;" title="Symfony UX Bundle Configuration">Configuration</h3>
96+
<twig:Terminal bottomPadding="20">
97+
php bin/console debug:config ux_icons
98+
</twig:Terminal>
99+
</div>
100+
</div>
101+
</div>
102+
</section>
103+
64104
{% endblock %}
65105

66106
{% block aside %}

0 commit comments

Comments
 (0)