---
import AdminLayout from '../../layouts/AdminLayout.astro';
---

<AdminLayout>
  <div class="cms-section">
    <h1>Payload CMS</h1>
    <p>The CMS is hosted on a separate subdomain for security.</p>
    <a href="https://cms.enchun.tw/admin" class="btn" target="_blank">Open CMS</a>
  </div>
</AdminLayout>

<style>
  .cms-section {
    text-align: center;
    padding: 40px 0;
  }
  .btn {
    display: inline-block;
    background: #007bff;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 18px;
  }
  .btn:hover {
    background: #0056b3;
  }
</style>