* judges menu removed

* awardees reactored into awards, judges are now included on a per year basis
* lots of minor style adjustments to follow the design guideline
This commit is contained in:
Dávid Danyi
2018-05-08 18:10:38 +02:00
parent 4aeaae2520
commit b93616ab34
18 changed files with 121 additions and 45 deletions

View File

@@ -43,8 +43,8 @@ return function (Application $app, MiddlewareFactory $factory, ContainerInterfac
'the-prize.article'
);
$app->get('/judges', App\Handler\JudgesHandler::class, 'judges');
$app->get('/awardees', App\Handler\AwardeeRedirectHandler::class, 'awardees');
$app->get('/awardees/{year:\d+}', App\Handler\AwardeeHandler::class, 'awardees-by-year');
// $app->get('/judges', App\Handler\JudgesHandler::class, 'judges');
$app->get('/awards', App\Handler\AwardeeRedirectHandler::class, 'awardees');
$app->get('/awards/{year:\d+}', App\Handler\AwardeeHandler::class, 'awardees-by-year');
$app->get('/awardee/{slug}', App\Handler\ProfileHandler::class, 'awardee');
};