fix: make discord button an actual button and not <a/>

This commit is contained in:
2026-05-31 11:38:37 -03:00
parent 1ee1461d51
commit cd630f0372
2 changed files with 18 additions and 1 deletions
+17
View File
@@ -156,6 +156,23 @@ h1 {
border-bottom: 1px dashed var(--pink-accent); border-bottom: 1px dashed var(--pink-accent);
} }
.social-links button {
background: none;
border: none;
font-family: inherit;
font-size: 0.8rem;
color: var(--text-main);
padding: 2px 6px;
margin: 0 6px;
border-bottom: 1px dashed transparent;
transition: all 0.3s ease;
}
.social-links button:hover {
color: var(--pink-accent);
border-bottom: 1px dashed var(--pink-accent);
}
.title { .title {
font-size: 0.95rem; font-size: 0.95rem;
font-style: italic; font-style: italic;
+1 -1
View File
@@ -24,7 +24,7 @@ function Content() {
<nav className="social-links"> <nav className="social-links">
<a href={TWITTER_LINK} target="_blank" rel="noopener noreferrer">twitter</a> <a href={TWITTER_LINK} target="_blank" rel="noopener noreferrer">twitter</a>
<a onClick={toggleModal}>discord</a> <button onClick={toggleModal}>discord</button>
<a href={STEAM_LINK} target="_blank" rel="noopener noreferrer">steam</a> <a href={STEAM_LINK} target="_blank" rel="noopener noreferrer">steam</a>
</nav> </nav>