fix: ui revamp

This commit is contained in:
Kinfe123 2024-06-22 11:35:00 +03:00
parent 5b48d4019e
commit dffe48b18a
2 changed files with 4 additions and 4 deletions

View file

@ -23,7 +23,7 @@ const slap = {
function Hero() {
return (
<>
<section className="mt-24 flex max-w-3xl flex-col items-center justify-center gap-10 md:mt-32">
<section className="mt-24 flex max-w-3xl flex-col items-center justify-center gap-5 md:mt-32">
<TwitterBorder />
<motion.h1
{...{
@ -61,7 +61,7 @@ function Hero() {
width={1512}
height={1405}
draggable="false"
className="z-[20] mt-0 h-full w-[80%] select-none "
className="z-[20] md:mt-[-40px] h-full w-[80%] select-none "
/>
</>
);

View file

@ -11,7 +11,7 @@ export function TwitterBorder() {
<a href="https://x.com/supermemoryai" target="_blank">
<HoverBorderGradient
containerClassName="rounded-full"
className="group/anchor z-20 pl-10 pr-6 flex items-center justify-center gap-4 rounded-full text-white/80 bg-white/5 py-2 text-sm"
className="group/anchor z-20 pl-10 pr- flex items-center justify-center gap-4 rounded-full text-white/80 bg-white/5 py-2 text-sm"
>
<Twitter className="h-4 w-4" />
<div className="flex">
@ -87,7 +87,7 @@ export function HoverBorderGradient({
}}
onMouseLeave={() => setHovered(false)}
className={cn(
"relative h-min w-fit transition duration-500 group/anchor flex items-center justify-center gap-4 rounded-full text-white/80 bg-white/5 text-sm",
"relative h-min w-fit mt-10 transition duration-500 group/anchor flex items-center justify-center gap-4 rounded-full text-white/80 bg-white/5 text-sm",
containerClassName,
)}
{...props}