24 lines
844 B
TypeScript
24 lines
844 B
TypeScript
import LocalizedClientLink from "@modules/common/components/localized-client-link"
|
|
|
|
const SignInPrompt = () => {
|
|
return (
|
|
<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>
|
|
<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>
|
|
<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>
|
|
)
|
|
}
|
|
|
|
export default SignInPrompt
|