Added Social Icons, updated cards, updated data, n e w e g g

This commit is contained in:
Firq 2023-03-10 21:01:12 +01:00
parent eb523961c1
commit 965e837293
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20
12 changed files with 47 additions and 14 deletions

View file

@ -2,33 +2,57 @@
export interface Props {
site: string
link: string
image: string
}
const { link, site } = Astro.props
const { image, link, site } = Astro.props
const icon: string = `background-image: url('/social/${image}.webp')`
---
<a href={link} target="_blank" rel="noopener noreferrer">
<article class="contact do-hover">
<h2>{site}</h2>
<div style={icon}>
<h2>{site}</h2>
</div>
</article>
</a>
<style>
article > h2 {
article:hover h2 {
color: white;
background-color: var(--c-darkgray);
font-size: 18px;
display: inline-block;
vertical-align: middle;
line-height: normal;
vertical-align: center;
line-height: 150%;
width: 95%;
border-radius: 5px;
opacity: 90%;
}
article h2 {
display: none;
}
article div {
background-size: contain;
width: 100px;
height: 100px;
display: flex;
align-items: center;
justify-content: center;
}
article {
display: flex;
align-items: center;
justify-content: center;
background-color: var(--c-darkergray);
border-color: var(--c-darkgray);
padding: 10px;
text-align: center;
transition: transform var(--speed) var(--ease);
height: 128px;
width: 128px;
height: auto;
width: auto;
line-height: 128px;
}
a:hover {

View file

@ -50,6 +50,9 @@
<a href="https://www.neshweb.net" target="_blank" rel="noopener noreferrer"
>his site here</a
>
<div class="sticky-image-wrapper">
<img src="/archbtw.png" alt="" />
</div>
</div>
<br />
<div>

View file

@ -1,26 +1,32 @@
[
{
"site": "Youtube: @Firq_",
"link": "https://www.youtube.com/@Firq_"
"link": "https://www.youtube.com/@Firq_",
"image": "youtube"
},
{
"site": "Twitch: Firq",
"link": "https://www.twitch.tv/firq"
"link": "https://www.twitch.tv/firq",
"image": "twitch"
},
{
"site": "Discord: Firq#4242",
"link": "https://discord.gg"
"link": "https://discord.gg",
"image": "discord"
},
{
"site": "Twitter: Firq_ow",
"link": "https://twitter.com/firq_ow"
"link": "https://twitter.com/firq_ow",
"image": "twitter"
},
{
"site": "Reddit: u/Firq_ow",
"link": "https://www.reddit.com/user/firq_ow"
"link": "https://www.reddit.com/user/firq_ow",
"image": "reddit"
},
{
"site": "Support Setup on Rayshift",
"link": "https://rayshift.io/na/firq"
"link": "https://rayshift.io/na/firq",
"image": "custom-fgo"
}
]

View file

@ -84,7 +84,7 @@
"level": "90",
"np": "1",
"skills": "10 / 10 / 10 ",
"ml": "Not Unlocked",
"ml": "10",
"image_servant": "gogh_01",
"image_bond": "gogh",
"bond10": "false"

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

BIN
static/social/discord.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
static/social/reddit.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

BIN
static/social/twitch.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.6 KiB

BIN
static/social/twitter.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

BIN
static/social/youtube.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3 KiB

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1,018 B

After

Width:  |  Height:  |  Size: 2 KiB