fix: zIndexing fixD

This commit is contained in:
Kinfe123 2024-06-22 11:03:35 +03:00
parent bd86bb111a
commit 26efa4f7a4
3 changed files with 5 additions and 5 deletions

View file

@ -83,7 +83,7 @@ const Cursor = ({ position }) => {
animate={{
...position,
}}
className="absolute z-0 h-7 bg-page-gradient bg-white/20 rounded-full md:h-10 shadow-[0px_2px_3px_-1px_rgba(0,0,0,0.1),0px_1px_0px_0px_rgba(25,28,33,0.02),0px_0px_0px_1px_rgba(25,28,33,0.08)] backdrop-blur-lg backdrop-filter"
className="absolute z-0 h-7 bg-glass-gradient bg-transparent rounded-full md:h-10 shadow-[0px_2px_3px_-1px_rgba(0,0,0,0.1),0px_1px_0px_0px_rgba(25,28,33,0.02),0px_0px_0px_1px_rgba(25,28,33,0.08)] backdrop-blur-lg backdrop-filter"
/>
);
};

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

View file

@ -8,10 +8,10 @@ import LinkArrow from "./linkArrow";
export function TwitterBorder() {
return (
<a href="https://twitter.com/supermemoryai" target="_blank">
<a href="https://x.com/supermemoryai" target="_blank">
<HoverBorderGradient
containerClassName="rounded-full"
className="group/anchor 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-6 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">