diff --git a/src/Controller/.gitignore b/src/Controller/.gitignore deleted file mode 100644 index e69de29..0000000 diff --git a/src/Controller/TestController.php b/src/Controller/TestController.php new file mode 100644 index 0000000..fc062b3 --- /dev/null +++ b/src/Controller/TestController.php @@ -0,0 +1,16 @@ +render('base.html.twig'); + } +} \ No newline at end of file diff --git a/templates/base.html.twig b/templates/base.html.twig index d4f83f7..aca8ed3 100644 --- a/templates/base.html.twig +++ b/templates/base.html.twig @@ -1,19 +1,50 @@ - - - {% block title %}Welcome!{% endblock %} - - {# Run `composer require symfony/webpack-encore-bundle` to start using Symfony UX #} - {% block stylesheets %} - {{ encore_entry_link_tags('app') }} - {% endblock %} + + + + {% block title %}Welcome!{% endblock %} + + {# Run `composer require symfony/webpack-encore-bundle` to start using Symfony UX #} + {% block stylesheets %} + + + {{ encore_entry_link_tags('app') }} + {% endblock %} + + + +
+ {% block body %} + {% endblock %} +
- {% block javascripts %} - {{ encore_entry_script_tags('app') }} - {% endblock %} - - - {% block body %}{% endblock %} - +{% block javascripts %} + + {{ encore_entry_script_tags('app') }} +{% endblock %} +