Skip to content

Commit 0933778

Browse files
committed
minor #3224 [Site] Hide Toolkit menu (Kocal)
This PR was merged into the 2.x branch. Discussion ---------- [Site] Hide Toolkit menu | Q | A | -------------- | --- | Bug fix? | no | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Deprecations? | no <!-- if yes, also update UPGRADE-*.md and src/**/CHANGELOG.md --> | Documentation? | no <!-- required for new features, or documentation updates --> | Issues | Fix #... <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead --> | License | MIT So we can release the website with #3220 & #2848, without releasing the Toolkit page. I didn't have 404 Not Found for `toolkit/*` URLs, I believe hiding the link from the main menu is enough. We have nothing super-important to hide, just the access Commits ------- bf53cdc [Site] Hide Toolkit menu
2 parents 3b24fce + bf53cdc commit 0933778

File tree

2 files changed

+3
-11
lines changed

2 files changed

+3
-11
lines changed

ux.symfony.com/composer.json

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -140,14 +140,5 @@
140140
"importmap:install": "symfony-cmd",
141141
"tailwind:build": "symfony-cmd"
142142
}
143-
},
144-
"repositories": {
145-
"symfony-ux-toolkit": {
146-
"type": "path",
147-
"url": "../src/Toolkit",
148-
"options": {
149-
"symlink": true
150-
}
151-
}
152143
}
153144
}

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,11 @@
4646
</div>
4747

4848
<div class="AppNav_menu">
49-
<a href="{{ path('app_toolkit') }}" class="AppNav_item AppNav_item--cs">
49+
{# TODO: To uncomment when UX Toolkit is released #}
50+
{# <a href="{{ path('app_toolkit') }}" class="AppNav_item AppNav_item--cs">
5051
<span class="AppNav_badge" data-content="New"></span>
5152
Toolkit
52-
</a>
53+
</a> #}
5354
<a href="{{ path('app_turbo') }}" class="AppNav_item">Turbo</a>
5455
<a href="{{ path('app_live_component') }}" class="AppNav_item">Live <span>Components</span></a>
5556
<a href="{{ path('app_icons') }}" class="AppNav_item">Icons</a>

0 commit comments

Comments
 (0)