fix: make discord button an actual button and not <a/>
This commit is contained in:
@@ -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
@@ -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>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user