From 2bde1b0660585e16116fbd12c86b53e886b6f3be Mon Sep 17 00:00:00 2001 From: Jonathan Tschanter Date: Fri, 21 Jan 2022 00:14:34 +0100 Subject: Add first layout with simplecss --- src/Controller/Home.php | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'src/Controller/Home.php') diff --git a/src/Controller/Home.php b/src/Controller/Home.php index 1c1500c..7eda5ee 100644 --- a/src/Controller/Home.php +++ b/src/Controller/Home.php @@ -21,11 +21,16 @@ class Home return Template::render('home.twig', [ 'fields' => [ - 'name' => 'meta[name]', - 'converted mana cost' => 'meta[cmc]', - 'is uno reverse' => 'meta[is_uno_reverse]', + 'name' => 'meta[name]', + 'converted mana cost' => 'meta[cmc]', + 'is uno reverse' => 'meta[is_uno_reverse]', ], ]); } + + public static function dashboard() + { + return Template::render('dashboard.twig', []); + } } -- cgit v1.2.3