main
Midnight 3 years ago
parent a57cdd1c41
commit eee673329a

@ -8,6 +8,7 @@ import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
import { faDiscord } from '@fortawesome/free-brands-svg-icons' import { faDiscord } from '@fortawesome/free-brands-svg-icons'
import { faTwitter } from '@fortawesome/free-brands-svg-icons' import { faTwitter } from '@fortawesome/free-brands-svg-icons'
import { faSpotify } from '@fortawesome/free-brands-svg-icons' import { faSpotify } from '@fortawesome/free-brands-svg-icons'
import { faSteam } from '@fortawesome/free-brands-svg-icons'
import { faSoundcloud } from '@fortawesome/free-brands-svg-icons' import { faSoundcloud } from '@fortawesome/free-brands-svg-icons'
import { faEnvelope } from '@fortawesome/free-solid-svg-icons' import { faEnvelope } from '@fortawesome/free-solid-svg-icons'
@ -45,11 +46,41 @@ export default function Index() {
</div> </div>
<div className={styles.topcontent + " " + styles.links}> <div className={styles.topcontent + " " + styles.links}>
<a href="#"><p><FontAwesomeIcon icon={faTwitter} /> Twitter</p></a> <div>
<a href="#"><p><FontAwesomeIcon icon={faSpotify} /> Spotify</p></a> <a target="_blank" href="https://twitter.com/invesvpo">
<a href="#"><p><FontAwesomeIcon icon={faDiscord} /> Discord</p></a> <span>
<a href="#"><p><FontAwesomeIcon icon={faSoundcloud} /> SoundCloud</p></a> <p>Twitter</p>
{/* <a href="#"><p><FontAwesomeIcon icon={faEnvelope} /> Email</p></a> */} <FontAwesomeIcon icon={faTwitter} />
</span>
</a>
<a target="_blank" href="https://discord.com/users/221984151161667585">
<span>
<p>Discord</p>
<FontAwesomeIcon icon={faDiscord} />
</span>
</a>
<a target="_blank" href="https://soundcloud.com/invesvpo">
<span>
<p>SoundCloud</p>
<FontAwesomeIcon icon={faSoundcloud} />
</span>
</a>
<a target="_blank" href="mailto:">
<span>
<p>Email</p>
<FontAwesomeIcon icon={faEnvelope} />
</span>
</a>
<a target="_blank" href="https://steamcommunity.com/id/Invesvpo/">
<span>
<p>Steam</p>
<FontAwesomeIcon icon={faSteam} />
</span>
</a>
</div> </div>
</div> </div>
@ -57,5 +88,6 @@ export default function Index() {
<a href="https://dubbelnull.com/" target="_blank">Made by DubbelNull</a> with NextJS and Vercel <a href="https://dubbelnull.com/" target="_blank">Made by DubbelNull</a> with NextJS and Vercel
</footer> </footer>
</div> </div>
</div>
) )
} }

@ -29,8 +29,6 @@
position: absolute; position: absolute;
top: 0; top: 0;
left: 0; left: 0;
padding: 0;
margin: 0;
width: 100vw; width: 100vw;
height: 40vh; height: 40vh;
display: flex; display: flex;
@ -54,7 +52,7 @@
} }
.bottomcontainer { .bottomcontainer {
height: auto; height: 60vh;
background-color: #232323; background-color: #232323;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
@ -77,18 +75,20 @@
/* items */ /* items */
.links { .links div {
flex-wrap: wrap; flex-wrap: wrap;
font-size: 1.5em; font-size: 1.5em;
flex-grow: 1; flex-grow: 1;
display: flex; display: grid;
grid-template-columns: 25% 25% 25%;
gap: var(--padding-lg); gap: var(--padding-lg);
justify-content: start; justify-content: start;
align-items: center; align-items: center;
} }
.links a { .links div a {
padding: var(--padding) var(--padding-xl); text-align: center;
padding: var(--padding) var(--padding-lg) var(--padding) var(--padding-xl);
transition-duration: var(--transition-speed); transition-duration: var(--transition-speed);
background-color: #2940D3; background-color: #2940D3;
@ -97,15 +97,22 @@
transform: skewX(-20deg); transform: skewX(-20deg);
} }
.links a p { .links div p {
margin: unset; margin: unset;
}
.links div a span {
-ms-transform: skewX(20deg); -ms-transform: skewX(20deg);
-webkit-transform: skewX(20deg); -webkit-transform: skewX(20deg);
transform: skewX(20deg); transform: skewX(20deg);
display: inline-block; display: inline-flex;
align-items: center;
justify-content: space-between;
width: 100%;
} }
.links a:hover {
.links div a:hover {
transition-duration: 0.3s; transition-duration: 0.3s;
background-color: #1f309e; background-color: #1f309e;
} }
@ -132,8 +139,9 @@
font-weight: normal; font-weight: normal;
} }
.links { .links div {
font-size: var(--font); font-size: var(--font);
display: flex;
flex-wrap: wrap; flex-wrap: wrap;
justify-content: center; justify-content: center;
} }

Loading…
Cancel
Save