improve: adjust footer layout
This commit is contained in:
@@ -25,7 +25,15 @@ const Footer = () => {
|
||||
{isExpanded ? "↓" : "↑"}
|
||||
</button>
|
||||
<div className={`footer-content`}>
|
||||
<p>© {new Date().getFullYear()} Hangman Lab. All rights reserved.</p>
|
||||
<p>© {new Date().getFullYear()} Hangman Lab. {!isVisible && (<span>
|
||||
|
||||
<a href="mailto:hzhang@hangman-lab.top">email</a>
|
||||
|
||||
<a href="https://git.hangman-lab.top/hzhang/HangmanLab">git</a>
|
||||
|
||||
|
||||
</span>
|
||||
)}</p>
|
||||
{
|
||||
isVisible && (
|
||||
<div
|
||||
@@ -52,10 +60,10 @@ const Footer = () => {
|
||||
>
|
||||
<img
|
||||
src="/icons/git.png"
|
||||
alt="GitHub"
|
||||
alt="Git"
|
||||
className="footer-icon"
|
||||
/>
|
||||
GitHub
|
||||
Git
|
||||
</a>
|
||||
<a href="mailto:hzhang@hangman-lab.top">
|
||||
<img
|
||||
|
||||
Reference in New Issue
Block a user