mirror of
https://github.com/NohamR/lanyard-profile-readme.git
synced 2026-05-26 13:41:32 +00:00
fix(front): hide when the discord id is submitted
This commit is contained in:
@@ -69,7 +69,7 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.stat {
|
.stat {
|
||||||
position: absolute;
|
position: fixed;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|||||||
@@ -503,14 +503,26 @@ export default function Home() {
|
|||||||
</motion.div>
|
</motion.div>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
<footer className="stat">
|
<motion.footer
|
||||||
|
variants={{
|
||||||
|
open: {
|
||||||
|
opacity: 1,
|
||||||
|
},
|
||||||
|
closed: {
|
||||||
|
opacity: 0,
|
||||||
|
},
|
||||||
|
}}
|
||||||
|
animate={isLoading ? "open" : "closed"}
|
||||||
|
transition={{ duration: 0.5 }}
|
||||||
|
className="stat"
|
||||||
|
>
|
||||||
Lanyard Profile Readme has{" "}
|
Lanyard Profile Readme has{" "}
|
||||||
<div
|
<div
|
||||||
style={{ fontWeight: "bold", width: "3.2rem" }}
|
style={{ fontWeight: "bold", width: "3.2rem" }}
|
||||||
ref={countRef}
|
ref={countRef}
|
||||||
/>{" "}
|
/>{" "}
|
||||||
total users!
|
total users!
|
||||||
</footer>
|
</motion.footer>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user