Skip to content

Commit e59b665

Browse files
committed
minor #2097 [Site] Minor fixes (smnandre)
This PR was merged into the 2.x branch. Discussion ---------- [Site] Minor fixes * accessibility color (trying to get our PSI 100 back) * update documentation links -> webiste support/doc pages * add missing recent pages in sitemap Commits ------- d56e0f5 [Site] Various fixes
2 parents ebbc67d + d56e0f5 commit e59b665

File tree

4 files changed

+29
-27
lines changed

4 files changed

+29
-27
lines changed

ux.symfony.com/assets/styles/vendor/_highlight.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
}
3434

3535
.hl-comment {
36-
color: #6e738d;
36+
color: #a3af87;
3737
}
3838

3939
.hl-blur {

ux.symfony.com/src/Controller/SitemapController.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ private function getSitemapUrls(): iterable
4848
yield $this->generateAbsoluteUrl('app_packages');
4949
yield $this->generateAbsoluteUrl('app_icons');
5050
yield $this->generateAbsoluteUrl('app_demos');
51+
yield $this->generateAbsoluteUrl('app_cookbook');
52+
yield $this->generateAbsoluteUrl('app_documentation');
5153
yield $this->generateAbsoluteUrl('app_changelog');
5254
yield $this->generateAbsoluteUrl('app_support');
5355

ux.symfony.com/templates/_aside.html.twig

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,21 @@
55
<twig:DocsLink
66
title="Documentation"
77
text="Get going with the official Symfony UX doc."
8-
url="https://symfony.com/bundles/StimulusBundle/current/index.html"
9-
icon="symfony"
10-
/>
11-
<twig:DocsLink
12-
title="Screencasts"
13-
text="Watch UX screencasts on SymfonyCasts."
14-
url="https://symfonycasts.com/screencast/stimulus"
15-
icon="symfonycast"
8+
url="{{ path('app_documentation') }}"
9+
icon="mdi:book-open-variant-outline"
1610
/>
1711
<twig:DocsLink
1812
title="Community"
19-
text="Feedback · support · contributions."
13+
text="Feedback · ideas · contributions."
2014
url="https://github.com/symfony/ux"
2115
icon="github"
2216
/>
17+
<twig:DocsLink
18+
title="Support"
19+
text="Ask questions about Symfony UX."
20+
url="{{ path('app_support') }}"
21+
icon="raphael:help"
22+
/>
2323
{% endblock %}
2424
</div>
2525
</div>

ux.symfony.com/templates/ux_packages/_package_links.html.twig

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -14,27 +14,27 @@
1414
url="{{ package.screencastLink }}"
1515
icon="symfonycast"
1616
/>
17+
<twig:DocsLink
18+
title="Community"
19+
text="Feedback · support · contributions."
20+
url="https://github.com/symfony/ux"
21+
icon="github"
22+
/>
1723
{% else %}
1824
<twig:DocsLink
19-
title="Screencasts"
20-
text="Watch UX screencasts on SymfonyCasts."
21-
url="https://symfonycasts.com/screencast/stimulus"
22-
icon="symfonycast"
25+
title="Community"
26+
text="Feedback · support · contributions."
27+
url="https://github.com/symfony/ux"
28+
icon="github"
29+
/>
30+
<twig:DocsLink
31+
title="Support"
32+
text="Get help with Symfony UX {{ package.humanName }}"
33+
url="{{ url('app_support') }}"
34+
icon="symfony"
2335
/>
2436
{% endif %}
25-
{% if package.docsLink %}
26-
{# <twig:DocsLink #}
27-
{# url="{{ package.docsLink }}" #}
28-
{# title="Related Docs" #}
29-
{# text="{{ package.docsLinkText }}" #}
30-
{# /> #}
31-
{% endif %}
32-
<twig:DocsLink
33-
title="Community"
34-
text="Feedback · support · contributions."
35-
url="https://github.com/symfony/ux"
36-
icon="github"
37-
/>
37+
3838
</div>
3939
</div>
4040
</aside>

0 commit comments

Comments
 (0)