Skip to content

Commit

Permalink
feat: better layout (#135)
Browse files Browse the repository at this point in the history
  • Loading branch information
COil committed Dec 18, 2024
1 parent 63e7eee commit e788001
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion config/services.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
$parameters->set('brand_emoji', '🎶️');
$parameters->set('website', 'https://github.com/strangebuzz/MicroSymfony');
$parameters->set('version', '1.0.0');
$sfVersion = substr(Kernel::VERSION, 0, 3); // minor version
$sfVersion = substr(Kernel::VERSION, 0, 3); // minor Symfony version

$description = <<<DESCRIPTION
A Symfony <b>$sfVersion</b> application template on steroids, ready to use.
Expand Down
17 changes: 10 additions & 7 deletions templates/base.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@
Menu
</summary>
<ul role="group-menu">
<li><a href="{{ path(ctrl_fqcn('HomeAction')) }}">Home (README.md)</a></li>
<li><a href="{{ path(ctrl_fqcn('HelloWorldAction')) }}">Hello world!</a></li>
<li><a href="{{ path('App\\Controller\\StimulusAction') }}">JavaScript with stimulus</a></li>
<li><a href="{{ path(ctrl_fqcn('ComposerAction')) }}">The composer.json file</a></li>
<li><a href="{{ path(ctrl_fqcn('FormAction')) }}">Form example</a></li>
<li><a href="{{ app.environment == 'dev' ? '/_error/404.html' : '/404' }}">Custom error page</a></li>
<li><a href="https://picocss.com/docs" target="_blank" >PicoCSS documentation</a></li>
<li><a href="{{ path(ctrl_fqcn('HomeAction')) }}">📒 README</a></li>
<li><a href="{{ path(ctrl_fqcn('HelloWorldAction')) }}">Hello world! 👻</a></li>
<li><a href="{{ path('App\\Controller\\StimulusAction') }}"><b>J</b>ava<b>S</b>cript with Stimulus</a></li>
<li><a href="{{ path(ctrl_fqcn('ComposerAction')) }}">The <code>composer.json</code> file</a></li>
<li><a href="{{ path(ctrl_fqcn('FormAction')) }}">📝 Form example</a></li>
<li><a href="{{ app.environment == 'dev' ? '/_error/404.html' : '/404' }}">Custom error page</a></li>
<li><a href="https://picocss.com/docs" target="_blank" >✨ Pico CSS documentation</a></li>
</ul>
</details>
</li>
Expand All @@ -64,6 +64,9 @@
</ul>
</details>
</li>
<li>
<a data-tooltip="{{ website }}" href="{{ website }}" target="_blank"><img alt="GitHub" class="github-icon" src="{{ asset('icons/github.svg') }}" width="24" height="24"></a>
</li>
</ul>
</nav>
</div>
Expand Down

0 comments on commit e788001

Please sign in to comment.