summaryrefslogtreecommitdiff
path: root/src/web/_views/apps/home/main.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/_views/apps/home/main.php')
-rw-r--r--src/web/_views/apps/home/main.php27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/web/_views/apps/home/main.php b/src/web/_views/apps/home/main.php
deleted file mode 100644
index 864034a..0000000
--- a/src/web/_views/apps/home/main.php
+++ /dev/null
@@ -1,27 +0,0 @@
-<?php /* Copyright (c) 2024 Freya Murphy */ ?>
-<?php /* vi: syntax=php */ ?>
-<main id="main">
-<?php if ($self): ?>
- <div id="new-post" class="card">
- <div class="row grow">
- <?=pfp($self)?>
- <a
- id="action-new-post"
- class="btn btn-alt grow ml"
- autocomplete="off"
- aria-label="<?=ucfirst(lang('action_new_post_tip'))?>"
- >
- <?=ucfirst(lang('action_new_post_text', sub: [$self['first_name']]))?>
- </a>
- </div>
- <script>
- $('#action-new-post').on('click', function() {
- $.get( "/modal/new_post", function (data) {
- $(document.body).append(data);
- });
- })
- </script>
- </div>
-<?php endif; ?>
- <?php $this->post_controller->index(); ?>
-</main>