aboutsummaryrefslogtreecommitdiffstats
path: root/includes/download-logic.php
diff options
context:
space:
mode:
authorkj-sh6042025-04-09 15:18:30 -0400
committerkj-sh6042025-04-09 15:18:30 -0400
commit094bf4e342307fdfa3608bad2110c28d39fd8ff7 (patch)
treedf1a0198c06b90e150faa717f2a817008ae1481e /includes/download-logic.php
parent8b06732130e315f36ea5ff56e947453a2a816260 (diff)
refactor: directory structure
Diffstat (limited to 'includes/download-logic.php')
-rw-r--r--includes/download-logic.php52
1 files changed, 0 insertions, 52 deletions
diff --git a/includes/download-logic.php b/includes/download-logic.php
deleted file mode 100644
index 517115a..0000000
--- a/includes/download-logic.php
+++ /dev/null
@@ -1,52 +0,0 @@
-<div class="centered">
- <h3>🎨 please select your presentation theme 🎭</h3>
- <form action="download.php" method="post" onsubmit="showGeneratingIndicator()">
- <table class="centered">
- <thead>
- <tr>
- <th>
- <h2>preview</h2>
- </th>
- <th>
- <h2>select</h2>
- </th>
- </tr>
- </thead>
- <tbody>
- <?php
- $themes = [
- '90sMakeUpCommercial' => '90sMakeUpCommercial',
- 'chicagoOlives' => 'chicagoOlives',
- 'earlyCupertino' => 'earlyCupertino',
- 'ohioCustard' => 'ohioCustard',
- 'raleighAroundMe' => 'raleighAroundMe',
- 'redmond2013' => 'redmond2013',
- 'defaultIsKing' => 'defaultIsKing',
- 'cuppertinoIsh' => 'cuppertinoIsh',
- 'lazyProfessor' => 'lazyProfessor',
- 'redmond2003' => 'redmond2003',
- 'strengthInNumbers' => 'strengthInNumbers',
- 'thatMagazine' => 'thatMagazine',
- ];
-
- foreach ($themes as $key => $theme) {
- echo "<tr>
- <td>
- <img loading='lazy' class='theme-select' src='img/{$key}.webp' alt='{$theme}'>
- </td>
- <td>
- <button type='submit' name='{$key}'>{$theme}</button>
- </td>
- </tr>";
- }
- ?>
- </tbody>
- </table>
- <div id="generating-indicator" style="display: none;">
- <p>📊</p>
- <p>generating presentation...</p>
- <p>please wait.</p>
- </div>
- </form>
-</div>
-<br>