diff --git a/11-page-menu.md b/11-page-menu.md index 5f8039d..c46782b 100644 --- a/11-page-menu.md +++ b/11-page-menu.md @@ -1,4 +1,4 @@ -[<< previous](10-dynamic-pages.md) +[<< previous](10-dynamic-pages.md) | [next >>](12-frontend.md) ### Page Menu @@ -205,7 +205,9 @@ class ArrayMenuReader implements MenuReader { public function readMenu() { - return [['href' => '/', 'text' => 'Homepage']]; + return [ + ['href' => '/', 'text' => 'Homepage'], + ]; } } ``` @@ -255,4 +257,4 @@ class FrontendTwigRenderer implements FrontendRenderer Everything still working? Awesome. Commit everything and move on to the next chapter. -[<< previous](10-dynamic-pages.md) \ No newline at end of file +[<< previous](10-dynamic-pages.md) | [next >>](12-frontend.md) \ No newline at end of file diff --git a/12-frontend.md b/12-frontend.md new file mode 100644 index 0000000..620d878 --- /dev/null +++ b/12-frontend.md @@ -0,0 +1,188 @@ +[<< previous](11-page-menu.md) | [next >>](to-be-continued.md) + + +### Frontend + +I don't know about you, but I don't like to work on a site that looks two decades old. So let's improve the look of our little application. + +This is not a frontend tutorial, so we'll just [pure](http://purecss.io/) and call it a day. + +First we need to change the `Layout.html` template. I don't want to waste your time with HTML and CSS, so I'll just provide the code for you to copy paste. + +```php + + +
+ +