front_page.php 1.1 KB

123456789101112131415161718192021
  1. <!-- Front Page Layout Form -->
  2. <div class="space-y-6">
  3. <!-- Top Content -->
  4. <div>
  5. <label for="top_content" class="block text-sm font-medium text-gray-700 mb-2">Top Content</label>
  6. <textarea name="extra_fields[top_content]" id="top_content" rows="8"
  7. class="secondary-content w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500"
  8. placeholder="Enter text that will appear at the top of the page..."><?= htmlspecialchars($page['extra_fields']['top_content'] ?? '') ?></textarea>
  9. </div>
  10. <!-- Main Content -->
  11. <div>
  12. <label for="content" class="block text-sm font-medium text-gray-700 mb-2">Main Page Content</label>
  13. <textarea name="content" id="content" rows="8"
  14. class="secondary-content w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500"
  15. placeholder="Enter main content for the homepage..."><?= htmlspecialchars($page['content'] ?? '') ?></textarea>
  16. </div>
  17. </div>