diff --git a/custompage/assets/logo.png b/custompage/assets/logo.png new file mode 100644 index 0000000000000..3eb96630e3736 Binary files /dev/null and b/custompage/assets/logo.png differ diff --git a/custompage/frontpage.php b/custompage/frontpage.php new file mode 100644 index 0000000000000..71e19ec2d64fc --- /dev/null +++ b/custompage/frontpage.php @@ -0,0 +1,295 @@ +customfrontpageinclude in config.php +// +// This hides the default navigation and renders a clean +// landing page with a centered login button. + +defined('MOODLE_INTERNAL') || die(); + +$loginurl = get_login_url(); +$isloggedin = isloggedin() && !isguestuser(); + +// If the user is already logged in, skip the landing page entirely. +if ($isloggedin) { + return; +} +?> + + + +
+
+ + +
+ Simform LMS +
+ + +

+ Your Learning Journey
Starts Here +

+ + +
+ + + Access Courses + + + + Track Progress + + + + Grow Skills + +
+ + +

+ All powered by Simform's intelligent learning platform. +

+ + + + + + + +
+