wip
This commit is contained in:
@ -28,7 +28,26 @@ class Home extends Controller {
|
||||
public function index() {
|
||||
self::$title = '{SITENAME}';
|
||||
self::$pageDescription = 'This is the homepage of your new Tempus Project Installation. Thank you for installing. find more info at https://thetempusproject.com';
|
||||
Views::view( 'index' );
|
||||
$optionValues = [
|
||||
(object) [ "option" => "Full-Stack Developer" ],
|
||||
(object) [ "option" => "DevOps Engineer" ],
|
||||
(object) [ "option" => "Web Developer" ],
|
||||
(object) [ "option" => "App Developer" ],
|
||||
(object) [ "option" => "Senior PHP Developer" ],
|
||||
(object) [ "option" => "Server/Waiter" ],
|
||||
(object) [ "option" => "Cook" ],
|
||||
(object) [ "option" => "Farm-Hand" ],
|
||||
(object) [ "option" => "Dish-Boy" ],
|
||||
(object) [ "option" => "Brother" ],
|
||||
(object) [ "option" => "Son" ],
|
||||
(object) [ "option" => "Friend" ],
|
||||
(object) [ "option" => "Student" ],
|
||||
(object) [ "option" => "Polymath" ],
|
||||
(object) [ "option" => "Geek" ],
|
||||
(object) [ "option" => "Nerd" ],
|
||||
];
|
||||
shuffle($optionValues);
|
||||
Views::view( 'test', $optionValues );
|
||||
}
|
||||
|
||||
public function login() {
|
||||
@ -98,4 +117,16 @@ class Home extends Controller {
|
||||
// this should look up comments and blog posts with the hashtag in them
|
||||
Views::view( 'hashtags' );
|
||||
}
|
||||
|
||||
public function about() {
|
||||
self::$title = 'About - {SITENAME}';
|
||||
self::$pageDescription = 'Just a bit more info on me.';
|
||||
Views::view( 'about' );
|
||||
}
|
||||
|
||||
public function hire() {
|
||||
self::$title = 'Consulting and Freelance - {SITENAME}';
|
||||
self::$pageDescription = 'More details on how to hire me for consulting or freelance work.';
|
||||
Views::view( 'hire' );
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user