Files
usher-manage-stack/resources/views/welcome.blade.php
Gbanyan 642b879dd4 Add membership fee system with disability discount and fix document permissions
Features:
- Implement two fee types: entrance fee and annual fee (both NT$1,000)
- Add 50% discount for disability certificate holders
- Add disability certificate upload in member profile
- Integrate disability verification into cashier approval workflow
- Add membership fee settings in system admin

Document permissions:
- Fix hard-coded role logic in Document model
- Use permission-based authorization instead of role checks

Additional features:
- Add announcements, general ledger, and trial balance modules
- Add income management and accounting entries
- Add comprehensive test suite with factories
- Update UI translations to Traditional Chinese

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-01 09:56:01 +08:00

166 lines
6.0 KiB
PHP

<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>台灣尤塞氏症暨視聽弱協會|會員與財務管理系統</title>
<style>
:root {
--bg: #0b132b;
--bg-soft: #101a36;
--card: #0f172a;
--text: #e5e7eb;
--muted: #cbd5e1;
--accent: #60a5fa;
--accent-2: #22c55e;
}
* { box-sizing: border-box; }
body {
margin: 0;
font-family: "Inter", "Noto Sans TC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
background: radial-gradient(100% 100% at 30% 20%, rgba(96,165,250,0.25), transparent 35%),
radial-gradient(100% 100% at 80% 0%, rgba(34,197,94,0.2), transparent 30%),
var(--bg);
color: var(--text);
min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
header {
max-width: 1080px;
margin: 0 auto;
padding: 32px 20px 0 20px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
nav a {
font-size: 14px;
color: var(--muted);
margin-left: 16px;
padding: 8px 12px;
border-radius: 12px;
transition: all 0.15s ease;
}
nav a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.hero {
max-width: 1080px;
margin: 32px auto 0 auto;
padding: 0 20px 40px 20px;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
gap: 28px;
align-items: center;
}
.hero-card {
background: linear-gradient(135deg, rgba(96,165,250,0.15), rgba(15,23,42,0.7));
border: 1px solid rgba(255,255,255,0.08);
box-shadow: 0 15px 40px rgba(0,0,0,0.25);
border-radius: 18px;
padding: 28px;
}
h1 { margin: 12px 0 8px 0; font-size: 30px; line-height: 1.3; }
p.lead { margin: 0 0 16px 0; color: var(--muted); line-height: 1.6; }
.buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 12px 16px;
border-radius: 12px;
font-weight: 600;
border: 1px solid transparent;
transition: all 0.15s ease;
font-size: 14px;
}
.btn.primary { background: var(--accent); color: #0b132b; }
.btn.primary:hover { filter: brightness(1.05); }
.btn.ghost { border-color: rgba(255,255,255,0.14); color: var(--text); }
.btn.ghost:hover { background: rgba(255,255,255,0.08); }
.cards {
max-width: 1080px;
margin: 0 auto;
padding: 0 20px 48px 20px;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: 18px;
}
.card {
background: var(--card);
border: 1px solid rgba(255,255,255,0.08);
border-radius: 16px;
padding: 18px;
min-height: 180px;
}
.card h3 { margin: 0 0 8px 0; font-size: 17px; }
.card p { margin: 0; color: var(--muted); line-height: 1.6; font-size: 14px; }
.pill {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 6px 10px;
background: rgba(96,165,250,0.18);
color: #dbeafe;
border-radius: 999px;
font-size: 12px;
border: 1px solid rgba(255,255,255,0.1);
}
footer {
max-width: 1080px;
margin: 0 auto;
padding: 0 20px 40px 20px;
color: var(--muted);
font-size: 13px;
}
</style>
</head>
<body>
<header>
<div style="display:flex;align-items:center;gap:12px;">
<img src="{{ asset('images/usher-logo-long.png') }}" alt="台灣尤塞氏症暨視聽弱協會" class="h-auto" style="max-width: 256px;">
</div>
@if (Route::has('login'))
<nav>
@auth
<a href="{{ url('/dashboard') }}">前往工作桌面</a>
@else
<a href="{{ route('login') }}">登入</a>
@if (Route::has('register'))
<a href="{{ route('register') }}">註冊</a>
@endif
@endauth
</nav>
@endif
</header>
<section class="hero">
<div class="hero-card">
<div class="card" style="background:rgba(15,23,42,0.9);">
<h3>系統重點</h3>
<p style="margin-top:8px;">
<strong>會員服務</strong>:查詢會籍、繳費紀錄、到期提醒<br>
<strong>財務與帳務</strong>:幹部財務報表簽核處,落實公益組織財務透明<br>
<strong>協作與文件</strong>:協會正式文件存放,對外公告連結處<br>
<strong>無障礙</strong>:符合 WCAG 2.1 AA 標準
</p>
</div>
<div class="card" style="background:rgba(15,23,42,0.9);">
<h3>會員資格及註冊流程</h3>
<p style="margin-top:8px;">
本系統目前提供會員登入使用。<br>
根據本會章程 (ToDo, 章程連結, ),本會會員目標為......(待補完) <br>
註冊流程為申請本站帳號,<br>
並繳費完成,<br>
提交繳交證明後,經由本會幹部審核通過後,方可成為正式會員。<br>
</p>
</div>
</section>
<footer>
如需協助,請聯繫協會幹部。
</footer>
</body>
</html>