修改登入註冊按鈕

This commit is contained in:
2025-10-04 23:04:15 +08:00
parent 5d4b1722c4
commit bbe350620c
3 changed files with 1 additions and 27 deletions

View File

@@ -104,23 +104,6 @@ export default function LoginPage() {
{isLoading ? "登入中..." : "登入"} {isLoading ? "登入中..." : "登入"}
</Button> </Button>
</form> </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> </CardContent>
</Card> </Card>
</div> </div>

View File

@@ -44,11 +44,8 @@ export default function HomePage() {
<span className="text-xl font-bold">HR </span> <span className="text-xl font-bold">HR </span>
</div> </div>
<div className="flex items-center gap-4"> <div className="flex items-center gap-4">
<Link href="/login" className="text-muted-foreground hover:text-foreground transition-colors">
</Link>
<Button asChild size="sm"> <Button asChild size="sm">
<Link href="/register"></Link> <Link href="/login"></Link>
</Button> </Button>
</div> </div>
</div> </div>

View File

@@ -207,12 +207,6 @@ export default function TestLinkPage() {
)} )}
</Button> </Button>
</form> </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> </CardContent>
</Card> </Card>
</div> </div>