summaryrefslogtreecommitdiff
path: root/src/Controller/Home.php
diff options
context:
space:
mode:
authorJonathan Tschanter <jmtw@tutanota.de>2022-01-21 00:14:34 +0100
committerJonathan Tschanter <jmtw@tutanota.de>2022-01-21 00:14:34 +0100
commit2bde1b0660585e16116fbd12c86b53e886b6f3be (patch)
tree8c23fbad83e8b947c60a50b7af6be2c8b0d4867a /src/Controller/Home.php
parentc2b0ebcdbb23a38a31b4d8c9e39f2a2be4cc862b (diff)
Add first layout with simplecss
Diffstat (limited to 'src/Controller/Home.php')
-rw-r--r--src/Controller/Home.php11
1 files changed, 8 insertions, 3 deletions
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', []);
+ }
}