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 { export interface Props {
site: string site: string
link: 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"> <a href={link} target="_blank" rel="noopener noreferrer">
<article class="contact do-hover"> <article class="contact do-hover">
<h2>{site}</h2> <div style={icon}>
<h2>{site}</h2>
</div>
</article> </article>
</a> </a>
<style> <style>
article > h2 { article:hover h2 {
color: white; color: white;
background-color: var(--c-darkgray);
font-size: 18px; font-size: 18px;
display: inline-block; display: inline-block;
vertical-align: middle; vertical-align: center;
line-height: normal; 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 { article {
display: flex;
align-items: center;
justify-content: center;
background-color: var(--c-darkergray); background-color: var(--c-darkergray);
border-color: var(--c-darkgray); border-color: var(--c-darkgray);
padding: 10px; padding: 10px;
text-align: center; text-align: center;
transition: transform var(--speed) var(--ease); transition: transform var(--speed) var(--ease);
height: 128px; height: auto;
width: 128px; width: auto;
line-height: 128px; line-height: 128px;
} }
a:hover { a:hover {

View file

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

View file

@ -1,26 +1,32 @@
[ [
{ {
"site": "Youtube: @Firq_", "site": "Youtube: @Firq_",
"link": "https://www.youtube.com/@Firq_" "link": "https://www.youtube.com/@Firq_",
"image": "youtube"
}, },
{ {
"site": "Twitch: Firq", "site": "Twitch: Firq",
"link": "https://www.twitch.tv/firq" "link": "https://www.twitch.tv/firq",
"image": "twitch"
}, },
{ {
"site": "Discord: Firq#4242", "site": "Discord: Firq#4242",
"link": "https://discord.gg" "link": "https://discord.gg",
"image": "discord"
}, },
{ {
"site": "Twitter: Firq_ow", "site": "Twitter: Firq_ow",
"link": "https://twitter.com/firq_ow" "link": "https://twitter.com/firq_ow",
"image": "twitter"
}, },
{ {
"site": "Reddit: u/Firq_ow", "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", "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", "level": "90",
"np": "1", "np": "1",
"skills": "10 / 10 / 10 ", "skills": "10 / 10 / 10 ",
"ml": "Not Unlocked", "ml": "10",
"image_servant": "gogh_01", "image_servant": "gogh_01",
"image_bond": "gogh", "image_bond": "gogh",
"bond10": "false" "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