source: Klonkt/src/views/pages/welcome.ejs@ 7bc636b

main
Last change on this file since 7bc636b was 7bc636b, checked in by Robin <robin@…>, 4 months ago

Initial commit — PrutFolio v1 source (pulled from Hetzner /srv/prutfolio)

  • Property mode set to 100644
File size: 1.0 KB
Line 
1<div class="container welcome-page">
2 <h1>Welcome to PrutCMS</h1>
3 <p class="welcome-tagline">A self-hosted publishing platform.</p>
4
5 <% if (!user) { %>
6 <div class="welcome-actions">
7 <a href="/auth/register" class="btn btn-primary">Create your account</a>
8 <a href="/auth/login" class="btn">Already have one? Login</a>
9 </div>
10 <p class="welcome-note">The first user becomes <strong>god</strong> and gets a personal site auto-created.</p>
11 <% } else { %>
12 <p>Hi <%= user.username %>! No site is configured yet.</p>
13 <% } %>
14</div>
15<style>
16.welcome-page { max-width: 600px; margin: 4rem auto; padding: 0 1rem; text-align: center; }
17.welcome-page h1 { font-family: var(--font-display, serif); font-size: 2.5rem; margin: 0 0 0.5rem; }
18.welcome-tagline { color: var(--ink-muted); margin-bottom: 2rem; font-size: 1.1rem; }
19.welcome-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin: 2rem 0; }
20.welcome-note { color: var(--ink-muted); font-size: 0.9rem; margin-top: 2rem; }
21</style>
Note: See TracBrowser for help on using the repository browser.