mirror of
https://github.com/NohamR/lanyard-profile-readme.git
synced 2026-05-26 04:17:19 +00:00
fix(front): hide when the discord id is submitted
This commit is contained in:
@@ -69,7 +69,7 @@ body {
|
||||
}
|
||||
|
||||
.stat {
|
||||
position: absolute;
|
||||
position: fixed;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
|
||||
@@ -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>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user