修改登入註冊按鈕
This commit is contained in:
@@ -104,23 +104,6 @@ export default function LoginPage() {
|
||||
{isLoading ? "登入中..." : "登入"}
|
||||
</Button>
|
||||
</form>
|
||||
|
||||
<div className="mt-6 text-center">
|
||||
<p className="text-sm text-muted-foreground">
|
||||
還沒有帳戶?{" "}
|
||||
<Link href="/register" className="text-primary hover:underline">
|
||||
立即註冊
|
||||
</Link>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div className="mt-4 p-4 bg-muted/50 rounded-lg">
|
||||
<p className="text-sm font-medium mb-2">測試帳戶:</p>
|
||||
<div className="text-xs text-muted-foreground space-y-1">
|
||||
<p>管理者:admin@company.com / admin123</p>
|
||||
<p>員工:user@company.com / user123</p>
|
||||
</div>
|
||||
</div>
|
||||
</CardContent>
|
||||
</Card>
|
||||
</div>
|
||||
|
@@ -44,11 +44,8 @@ export default function HomePage() {
|
||||
<span className="text-xl font-bold">HR 評估系統</span>
|
||||
</div>
|
||||
<div className="flex items-center gap-4">
|
||||
<Link href="/login" className="text-muted-foreground hover:text-foreground transition-colors">
|
||||
登入
|
||||
</Link>
|
||||
<Button asChild size="sm">
|
||||
<Link href="/register">註冊</Link>
|
||||
<Link href="/login">登入</Link>
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -207,12 +207,6 @@ export default function TestLinkPage() {
|
||||
)}
|
||||
</Button>
|
||||
</form>
|
||||
|
||||
<div className="mt-6 p-3 bg-muted/50 rounded-lg">
|
||||
<p className="text-xs text-muted-foreground text-center">
|
||||
系統將自動為您創建帳號,預設密碼為:<strong>Aa123456</strong>
|
||||
</p>
|
||||
</div>
|
||||
</CardContent>
|
||||
</Card>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user