fix(front): hide when the discord id is submitted

This commit is contained in:
Hexagonn authored and GitHub committed 2024-11-03 05:25:17 +00:00
1 parent 8ec6196593
commit a40895bfd4
2 files changed
+15 -3

No files matched your search

+1 -1
View File
@@ -69,7 +69,7 @@ body {
}
.stat {
position: absolute;
position: fixed;
display: flex;
flex-direction: row;
align-items: center;
+14 -2
View File
@@ -503,14 +503,26 @@ export default function Home() {
</motion.div>
</div>
</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{" "}
<div
style={{ fontWeight: "bold", width: "3.2rem" }}
ref={countRef}
/>{" "}
total users!
</footer>
</motion.footer>
</>
);
}