mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
general improvements
This commit is contained in:
@@ -9,20 +9,20 @@ interface Props {
|
||||
|
||||
const Hero: FC<Props> = ({ headline, description }) => {
|
||||
return (
|
||||
<Container>
|
||||
<div className="mx-auto grid grid-cols-2 bg-black py-32">
|
||||
<div className="mx-auto grid grid-cols-2 bg-black py-32">
|
||||
<Container>
|
||||
<h2 className="text-4xl leading-10 font-extrabold text-white sm:text-5xl sm:leading-none sm:tracking-tight lg:text-6xl">
|
||||
{headline}
|
||||
</h2>
|
||||
<div className="flex flex-col justify-between">
|
||||
<p className="mt-5 text-xl leading-7 text-accent-2">{description}</p>
|
||||
<a className="block text-white pt-3 font-bold hover:underline flex flex-row cursor-pointer">
|
||||
<a className="text-white pt-3 font-bold hover:underline flex flex-row cursor-pointer">
|
||||
<span>Read it here</span>
|
||||
<RightArrow width="20" heigh="20" className="ml-1" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</Container>
|
||||
</Container>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
|
@@ -72,7 +72,7 @@ const Sidebar: FC<Props> = ({ className, children, show = true, close }) => {
|
||||
leaveFrom="translate-x-0"
|
||||
leaveTo="translate-x-full"
|
||||
>
|
||||
<div className="h-full w-screen max-w-md">
|
||||
<div className="h-full md:w-screen md:max-w-md">
|
||||
<div className="h-full flex flex-col text-base bg-accents-1 shadow-xl overflow-y-auto">
|
||||
{children}
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user