design upgrade
This commit is contained in:
@@ -1,24 +1,21 @@
|
||||
import { Button } from "@/components/ui/button"
|
||||
import LocalizedClientLink from "@modules/common/components/localized-client-link"
|
||||
|
||||
const SignInPrompt = () => {
|
||||
return (
|
||||
<div className="flex items-center justify-between rounded-xl border border-border bg-muted/30 p-4 sm:p-5">
|
||||
<div className="flex flex-col sm:flex-row sm:items-center justify-between gap-4 rounded-xl border border-border/80 p-5 sm:p-6">
|
||||
<div>
|
||||
<h3 className="text-base font-semibold text-foreground">
|
||||
Već imate nalog?
|
||||
</h3>
|
||||
<p className="text-xs sm:text-sm text-muted-foreground mt-0.5">
|
||||
Prijavite se za brže naručivanje i praćenje statusa isporuke.
|
||||
<p className="text-sm text-foreground">Već imate nalog?</p>
|
||||
<p className="mt-1 text-xs text-muted-foreground">
|
||||
Prijavite se za brže naručivanje i praćenje isporuke.
|
||||
</p>
|
||||
</div>
|
||||
<div>
|
||||
<LocalizedClientLink href="/account">
|
||||
<Button variant="outline" size="sm" data-testid="sign-in-button">
|
||||
Prijava
|
||||
</Button>
|
||||
</LocalizedClientLink>
|
||||
</div>
|
||||
<LocalizedClientLink
|
||||
href="/account"
|
||||
className="inline-flex h-10 shrink-0 items-center justify-center rounded-md border border-border px-5 text-sm text-foreground transition-colors hover:bg-muted"
|
||||
data-testid="sign-in-button"
|
||||
>
|
||||
Prijava
|
||||
</LocalizedClientLink>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user