From a642059ba21c5fc156bd6e77b186120bf1c12564 Mon Sep 17 00:00:00 2001 From: pancakes Date: Mon, 18 Nov 2024 17:50:20 +1000 Subject: [PATCH] Update home page --- src/data/links.json | 20 +++++++++++++++++++- src/routes/+page.svelte | 41 ++++++++++++++++++----------------------- src/routes/style.css | 9 ++++++++- 3 files changed, 45 insertions(+), 25 deletions(-) diff --git a/src/data/links.json b/src/data/links.json index 1933b1c..3aac843 100644 --- a/src/data/links.json +++ b/src/data/links.json @@ -3,7 +3,12 @@ "href": "https://codeberg.org/pancakes", "icon": "codeberg.png", "name": "Codeberg", - "username": "@pancakes" + "username": "pancakes" + }, + { + "icon": "discord-mark-blue.png", + "name": "Discord", + "username": "pancakesmeow" }, { "href": "https://shrimp.meow.company/@pancakes", @@ -11,12 +16,25 @@ "name": "Fediverse", "username": "@pancakes@(shrimp.)meow.company" }, + { + "href": "https://github.com/pancakesmeow", + "icon": "github-mark.png", + "iconInvert": true, + "name": "GitHub (inactive)", + "username": "pancakesmeow" + }, { "href": "https://pronouns.cc/@pancakes", "icon": "pronouns_cc.png", "name": "pronouns.cc", "username": "@pancakes" }, + { + "icon": "Signal-Logo-Black.png", + "iconInvert": true, + "name": "Signal", + "username": "pancakes.80" + }, { "href": "https://youtube.com/@trypancakes", "icon": "youtube.png", diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index ee31878..7d72013 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -10,39 +10,34 @@

About Me

- I'm a 21 year old from Australia (it's + I'm a 22 year old enby (they/it) from Australia (it's ). I like - cats, Linux, and programming. I have a vision impairment. Some games - I like are: Minecraft, OneShot, Team Fortress 2, Celeste, - Death Stranding, and Red Dead Redemption - 2. + cats, Linux, and programming in C# and Python (for now). You can + find my links, projects, and other pages here.

- -

Other profiles and places you can find me on the internet:

+

Accounts

{#each links as link} {/each} -

Contact

-

- I would prefer if you contact me on the Fediverse - - @pancakes@meow.company - - or Discord @trypancakes but I also have a Matrix account - - @pancakes:void.rehab - . -

-

Pages

diff --git a/src/routes/style.css b/src/routes/style.css index 35d6868..c9af5ff 100644 --- a/src/routes/style.css +++ b/src/routes/style.css @@ -420,7 +420,9 @@ table.rows tbody tr:nth-child(2n) { color: black; } -.icon-link>a { +.icon-link>a, +.icon-link>span { + padding-left: 0.15rem; line-height: 2em; } @@ -429,6 +431,7 @@ table.rows tbody tr:nth-child(2n) { width: 2em; max-height: 2em; vertical-align: middle; + margin-right: 0.25rem; } .notice { @@ -469,4 +472,8 @@ table.rows tbody tr:nth-child(2n) { --background-2: hsl(302, 69%, 5%); --foreground: hsl(302, 69%, 95%); } + + .icon-link>img.invert { + filter: hue-rotate(180deg) invert(); + } } \ No newline at end of file