From 4540191fbde56ad0b788ad0da42683d9275eb028 Mon Sep 17 00:00:00 2001 From: kj-sh604 Date: Thu, 8 Aug 2024 19:54:46 -0400 Subject: fix: broken on chromium-based browsers --- index.php | 75 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 39 insertions(+), 36 deletions(-) (limited to 'index.php') diff --git a/index.php b/index.php index d7efa91..2e95f24 100644 --- a/index.php +++ b/index.php @@ -1,22 +1,17 @@ +session_start(); ?> - + - - - - + + + + procrastiSlides: great for procratinators who need to get a presentation out, quick! 😆 + non-intruisive ads, no tracking, nothing but quick slides from plain text/markdown. 🏫 try copy and pasting your school notes! that might even work 😂"> @@ -26,11 +21,12 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_POST['compile'])) { include "includes/procrastislides-banner.php"; include "includes/main-info.php"; include "includes/nav-header.php"; - - if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_POST['compile'])) { ?> + ?> +

🎨 please select your presentation theme 🎭

-
+ @@ -45,26 +41,31 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_POST['compile'])) { '90sMakeUpCommercial', + 'chicagoOlives' => 'chicagoOlives', + 'cleanMetropolis' => 'cleanMetropolis', + 'earlyCupertino' => 'earlyCupertino', + 'ohioCustard' => 'ohioCustard', + 'raleighAroundMe' => 'raleighAroundMe', + 'defaultIsKing' => 'defaultIsKing', + 'cuppertinoIsh' => 'cuppertinoIsh', + 'lazyProfessor' => 'lazyProfessor', + 'redmond2003' => 'redmond2003', + 'strengthInNumbers' => 'strengthInNumbers', + 'thatMagazine' => 'thatMagazine', ]; - foreach ($themes as $theme) { ?> - - - - - + foreach ($themes as $key => $theme) { + echo " + + + "; + } + ?>
<?= $theme ?>
+ {$theme} + + +

- + +