mirror of
https://github.com/vercel/commerce.git
synced 2025-05-15 14:06:59 +00:00
Hero tweak and remove locale switcher text
This commit is contained in:
parent
b6dd317293
commit
c93e76c567
@ -48,7 +48,7 @@ const Hero = ({ variant, title, text, label, image, link }: HeroProps) => {
|
|||||||
className="absolute inset-0 h-full w-full object-cover z-10"
|
className="absolute inset-0 h-full w-full object-cover z-10"
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
<div className="flex flex-col items-start text-high-contrast absolute max-w-sm z-40 left-4 bottom-5 lg:max-w-xl lg:bottom-8 lg:left-8 2xl:left-16 2xl:bottom-16">
|
<div className="flex flex-col items-start text-high-contrast absolute max-w-md z-50 left-4 bottom-5 lg:max-w-2xl lg:bottom-8 lg:left-8 2xl:left-16 2xl:bottom-16">
|
||||||
{label && (
|
{label && (
|
||||||
<Text className="mb-1 lg:mb-2" variant="label">
|
<Text className="mb-1 lg:mb-2" variant="label">
|
||||||
{label}
|
{label}
|
||||||
|
@ -66,7 +66,7 @@ export default function LocaleSwitcher() {
|
|||||||
{locale === "en" && (
|
{locale === "en" && (
|
||||||
<FlagEn />
|
<FlagEn />
|
||||||
)}
|
)}
|
||||||
<span>{locale}</span>
|
<span className="sr-only">{locale}</span>
|
||||||
</button>
|
</button>
|
||||||
</DropdownMenuTrigger>
|
</DropdownMenuTrigger>
|
||||||
<DropdownMenuContent align="end" className="drop-shadow-xl">
|
<DropdownMenuContent align="end" className="drop-shadow-xl">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user