mirror of
https://github.com/xHyroM/website.git
synced 2024-11-22 06:51:05 +01:00
perf: optimize social icons
also rename contants in config.ts to upper case
This commit is contained in:
parent
145927fb4d
commit
b5461c9961
9 changed files with 107 additions and 32 deletions
|
@ -28,7 +28,6 @@ const __dirname = dirname(fileURLToPath(import.meta.url));
|
|||
// https://astro.build/config
|
||||
export default defineConfig({
|
||||
site: "https://xhyrom.dev/",
|
||||
//prepisat uwu
|
||||
integrations: [
|
||||
tailwind(),
|
||||
image(),
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
"@astrojs/tailwind": "^3.1.3",
|
||||
"@tailwindcss/typography": "^0.5.9",
|
||||
"astro": "^2.5.7",
|
||||
"astro-compress": "^1.1.46",
|
||||
"astro-compress": "^1.1.49",
|
||||
"astro-icon": "^0.8.0",
|
||||
"astro-robots-txt": "^0.5.0",
|
||||
"astro-tooltips": "^0.6.2",
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
lockfileVersion: '6.0'
|
||||
|
||||
settings:
|
||||
autoInstallPeers: true
|
||||
excludeLinksFromLockfile: false
|
||||
|
||||
patchedDependencies:
|
||||
astro-icon@0.8.0:
|
||||
hash: rlh6isao6q2ppklzq5oz7gcv5q
|
||||
|
@ -28,8 +32,8 @@ dependencies:
|
|||
specifier: ^2.5.7
|
||||
version: 2.5.7
|
||||
astro-compress:
|
||||
specifier: ^1.1.46
|
||||
version: 1.1.46
|
||||
specifier: ^1.1.49
|
||||
version: 1.1.49
|
||||
astro-icon:
|
||||
specifier: ^0.8.0
|
||||
version: 0.8.0(patch_hash=rlh6isao6q2ppklzq5oz7gcv5q)
|
||||
|
@ -686,8 +690,8 @@ packages:
|
|||
engines: {node: '>=6.0.0'}
|
||||
dev: false
|
||||
|
||||
/@jridgewell/source-map@0.3.3:
|
||||
resolution: {integrity: sha512-b+fsZXeLYi9fEULmfBrhxn4IrPlINf8fiNarzTof004v3lFdntdwa9PF7vFJqm3mg7s+ScJMxXaE3Acp1irZcg==}
|
||||
/@jridgewell/source-map@0.3.5:
|
||||
resolution: {integrity: sha512-UTYAUj/wviwdsMfzoSJspJxbkH5o1snzwX0//0ENX1u/55kkZZkcTZP6u9bwKGkv+dkk9at4m1Cpt0uY80kcpQ==}
|
||||
dependencies:
|
||||
'@jridgewell/gen-mapping': 0.3.3
|
||||
'@jridgewell/trace-mapping': 0.3.18
|
||||
|
@ -926,6 +930,12 @@ packages:
|
|||
resolution: {integrity: sha512-/yrv59IEnmh655z1oeDnGcvMYwnEzNzHLgeYcQCkhYX0xBvYWrAuefoiLcPBUkMpJsb46bqQ6Yv4pwTTQ4d3Qg==}
|
||||
dev: false
|
||||
|
||||
/acorn@8.10.0:
|
||||
resolution: {integrity: sha512-F0SAmZ8iUtS//m8DmCTA0jlh6TDKkHQyK6xc6V4KDTyZKA9dnvX9/3sRTVQrWm79glUAZbnmmNcdYwUIHWVybw==}
|
||||
engines: {node: '>=0.4.0'}
|
||||
hasBin: true
|
||||
dev: false
|
||||
|
||||
/acorn@8.8.2:
|
||||
resolution: {integrity: sha512-xjIYgE8HBrkpd/sJqOGNspf8uHG+NOHGOw6a/Urj8taM2EXfdNAH2oFcPeIFfsv3+kz/mJrS5VuMqbNLjCa2vw==}
|
||||
engines: {node: '>=0.4.0'}
|
||||
|
@ -1001,17 +1011,17 @@ packages:
|
|||
resolution: {integrity: sha512-I1jXZMjAgCMmxT4qxXfPXa6SthSoE8h6gkSI9BGGNv8mP8G/v0blc+qFnZu6K42vTOiuME596QaLO0TP3Lk0xg==}
|
||||
dev: false
|
||||
|
||||
/astro-compress@1.1.46:
|
||||
resolution: {integrity: sha512-5PiZsCOlYO04jATC/XlpdMT6869QLsbpSNoihutUxkdWpDpoXwNMyxxXsL7QljdXHyFg6XmTDpxOODxvqerVWA==}
|
||||
/astro-compress@1.1.49:
|
||||
resolution: {integrity: sha512-AesUqim8kYslKmZqacAo3W422eVT7hWDrVaA4tXdWH8fpBI3qRbukl7+OO0dWmLIf6ubukMZiqg3THmSCEl5ow==}
|
||||
dependencies:
|
||||
'@types/csso': 5.0.0
|
||||
'@types/html-minifier-terser': 7.0.0
|
||||
csso: 5.0.5
|
||||
files-pipe: 0.0.6
|
||||
files-pipe: 0.0.7
|
||||
html-minifier-terser: 7.2.0
|
||||
sharp: 0.32.1
|
||||
svgo: 3.0.2
|
||||
terser: 5.17.6
|
||||
terser: 5.18.2
|
||||
dev: false
|
||||
|
||||
/astro-icon@0.8.0(patch_hash=rlh6isao6q2ppklzq5oz7gcv5q):
|
||||
|
@ -1894,8 +1904,8 @@ packages:
|
|||
engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
|
||||
dev: false
|
||||
|
||||
/files-pipe@0.0.6:
|
||||
resolution: {integrity: sha512-izHIHcqKEM0V2nw3FvzAqL0nx3IiZ2RC7k4eczIhlJ4X5JWJsxVl4c6b+Uid3zvNd6RiPxjFerbFcodFXMPHBw==}
|
||||
/files-pipe@0.0.7:
|
||||
resolution: {integrity: sha512-BkXQoAEo1X3RqmEucIBLL1ddc/LM3lqsf5ipIf/bRrUTn3SQZWhThgpIl1/ma2VNesB2hBoY+CB0rrZ3b1tQhA==}
|
||||
dependencies:
|
||||
deepmerge-ts: 5.1.0
|
||||
fast-glob: 3.2.12
|
||||
|
@ -2173,7 +2183,7 @@ packages:
|
|||
entities: 4.5.0
|
||||
param-case: 3.0.4
|
||||
relateurl: 0.2.7
|
||||
terser: 5.17.6
|
||||
terser: 5.18.2
|
||||
dev: false
|
||||
|
||||
/html-minifier@4.0.0:
|
||||
|
@ -4043,13 +4053,13 @@ packages:
|
|||
readable-stream: 3.6.2
|
||||
dev: false
|
||||
|
||||
/terser@5.17.6:
|
||||
resolution: {integrity: sha512-V8QHcs8YuyLkLHsJO5ucyff1ykrLVsR4dNnS//L5Y3NiSXpbK1J+WMVUs67eI0KTxs9JtHhgEQpXQVHlHI92DQ==}
|
||||
/terser@5.18.2:
|
||||
resolution: {integrity: sha512-Ah19JS86ypbJzTzvUCX7KOsEIhDaRONungA4aYBjEP3JZRf4ocuDzTg4QWZnPn9DEMiMYGJPiSOy7aykoCc70w==}
|
||||
engines: {node: '>=10'}
|
||||
hasBin: true
|
||||
dependencies:
|
||||
'@jridgewell/source-map': 0.3.3
|
||||
acorn: 8.8.2
|
||||
'@jridgewell/source-map': 0.3.5
|
||||
acorn: 8.10.0
|
||||
commander: 2.20.3
|
||||
source-map-support: 0.5.21
|
||||
dev: false
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 17 KiB |
66
public/icons/ko-fi.svg
Normal file
66
public/icons/ko-fi.svg
Normal file
|
@ -0,0 +1,66 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="278px" height="278px" style="shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<g><path style="opacity:0.82" fill="#040404" d="M 17.5,49.5 C 83.5008,49.3333 149.501,49.5 215.5,50C 245.423,55.603 264.923,72.7697 274,101.5C 280.64,133.608 270.807,159.108 244.5,178C 238.65,180.786 232.65,183.286 226.5,185.5C 219.103,186.556 211.77,187.89 204.5,189.5C 202.108,197.566 199.274,205.566 196,213.5C 189.719,221.6 181.552,226.766 171.5,229C 125.167,229.667 78.8333,229.667 32.5,229C 18.3256,224.826 9.15891,215.659 5,201.5C 3.43345,155.514 3.10012,109.514 4,63.5C 6.95117,57.2011 11.4512,52.5345 17.5,49.5 Z M 203.5,97.5 C 219.628,96.4648 227.961,103.965 228.5,120C 228.329,130.013 223.662,137.013 214.5,141C 210.848,141.499 207.182,141.665 203.5,141.5C 203.5,126.833 203.5,112.167 203.5,97.5 Z"/></g>
|
||||
<g><path style="opacity:1" fill="#fefdfd" d="M 217.5,65.5 C 222.128,65.9863 226.461,67.3196 230.5,69.5C 232.033,71.2451 234.033,72.2451 236.5,72.5C 237.29,73.4013 238.29,74.0679 239.5,74.5C 239.973,75.9063 240.973,76.573 242.5,76.5C 244.5,79.1667 246.833,81.5 249.5,83.5C 250.338,83.8417 250.672,84.5084 250.5,85.5C 250.738,87.4044 251.738,88.7377 253.5,89.5C 254.674,90.5137 255.34,91.847 255.5,93.5C 255.643,96.3852 256.643,98.7185 258.5,100.5C 258.5,101.167 258.833,101.5 259.5,101.5C 259.881,110.498 260.214,119.498 260.5,128.5C 259.656,131.345 258.99,134.345 258.5,137.5C 258.167,139.5 257.833,141.5 257.5,143.5C 255.554,144.035 254.554,145.368 254.5,147.5C 252.169,150.825 249.836,154.158 247.5,157.5C 246.833,157.5 246.5,157.833 246.5,158.5C 240.294,162.766 233.961,166.766 227.5,170.5C 226.167,170.833 224.833,171.167 223.5,171.5C 221.152,171.67 218.818,172.003 216.5,172.5C 214.97,172.64 213.97,173.307 213.5,174.5C 211.265,174.205 209.265,174.539 207.5,175.5C 201.729,174.887 196.396,175.554 191.5,177.5C 190.213,178.871 189.547,180.705 189.5,183C 189.11,186.835 188.777,190.668 188.5,194.5C 186.661,196.653 185.661,199.32 185.5,202.5C 184.326,203.514 183.66,204.847 183.5,206.5C 181.833,207.5 180.5,208.833 179.5,210.5C 178.391,210.557 177.391,210.89 176.5,211.5C 161.71,212.747 147.043,213.747 132.5,214.5C 99.0935,214.826 65.7602,214.493 32.5,213.5C 30.9674,211.755 28.9674,210.755 26.5,210.5C 25.5,209.833 24.5,209.167 23.5,208.5C 23.573,206.973 22.9063,205.973 21.5,205.5C 20.5448,203.254 19.8782,200.921 19.5,198.5C 18.5211,154.504 18.3544,110.504 19,66.5C 19.5,66 20,65.5 20.5,65C 86.1884,64.1806 151.855,64.3473 217.5,65.5 Z M 203.5,97.5 C 203.5,112.167 203.5,126.833 203.5,141.5C 207.182,141.665 210.848,141.499 214.5,141C 223.662,137.013 228.329,130.013 228.5,120C 227.961,103.965 219.628,96.4648 203.5,97.5 Z"/></g>
|
||||
<g><path style="opacity:1" fill="#656565" d="M 230.5,69.5 C 232.967,69.7549 234.967,70.7549 236.5,72.5C 234.033,72.2451 232.033,71.2451 230.5,69.5 Z"/></g>
|
||||
<g><path style="opacity:1" fill="#9a9a9a" d="M 217.5,65.5 C 151.855,64.3473 86.1884,64.1806 20.5,65C 20,65.5 19.5,66 19,66.5C 18.3544,110.504 18.5211,154.504 19.5,198.5C 18.7784,198.082 18.2784,197.416 18,196.5C 17.3333,152.833 17.3333,109.167 18,65.5C 18.5,65 19,64.5 19.5,64C 84.8333,63.3333 150.167,63.3333 215.5,64C 216.416,64.2784 217.082,64.7784 217.5,65.5 Z"/></g>
|
||||
<g><path style="opacity:1" fill="#545454" d="M 239.5,74.5 C 241.027,74.427 242.027,75.0937 242.5,76.5C 240.973,76.573 239.973,75.9063 239.5,74.5 Z"/></g>
|
||||
<g><path style="opacity:1" fill="#484848" d="M 242.5,76.5 C 245.833,77.8333 248.167,80.1667 249.5,83.5C 246.833,81.5 244.5,79.1667 242.5,76.5 Z"/></g>
|
||||
<g><path style="opacity:1" fill="#c2c2c2" d="M 192.5,83.5 C 199.989,82.3443 207.655,82.1777 215.5,83C 216.416,83.2784 217.082,83.7784 217.5,84.5C 216.167,84.5 214.833,84.5 213.5,84.5C 206.687,83.5088 199.687,83.1755 192.5,83.5 Z"/></g>
|
||||
<g><path style="opacity:1" fill="#4c4c4c" d="M 192.5,83.5 C 199.687,83.1755 206.687,83.5088 213.5,84.5C 206.11,84.2363 198.777,84.5696 191.5,85.5C 191.833,84.8333 192.167,84.1667 192.5,83.5 Z"/></g>
|
||||
<g><path style="opacity:0.892" fill="#040404" d="M 213.5,84.5 C 214.833,84.5 216.167,84.5 217.5,84.5C 219.421,85.3627 221.421,86.0293 223.5,86.5C 224.802,88.8218 226.802,90.1551 229.5,90.5C 231.146,92.8122 233.146,94.8122 235.5,96.5C 236.456,98.0754 237.123,99.742 237.5,101.5C 237.427,103.027 238.094,104.027 239.5,104.5C 241.202,112.046 241.868,119.713 241.5,127.5C 241.371,129.216 241.038,130.883 240.5,132.5C 238.935,134.509 237.935,136.843 237.5,139.5C 235.066,142.438 232.399,145.271 229.5,148C 226.102,149.357 223.102,151.19 220.5,153.5C 211.624,155.423 202.624,155.923 193.5,155C 192.364,153.855 191.364,152.688 190.5,151.5C 190.188,129.455 190.522,107.455 191.5,85.5C 198.777,84.5696 206.11,84.2363 213.5,84.5 Z M 203.5,97.5 C 203.5,112.167 203.5,126.833 203.5,141.5C 207.182,141.665 210.848,141.499 214.5,141C 223.662,137.013 228.329,130.013 228.5,120C 227.961,103.965 219.628,96.4648 203.5,97.5 Z"/></g>
|
||||
<g><path style="opacity:1" fill="#a3a3a3" d="M 250.5,85.5 C 252.262,86.2623 253.262,87.5956 253.5,89.5C 251.738,88.7377 250.738,87.4044 250.5,85.5 Z"/></g>
|
||||
<g><path style="opacity:1" fill="#b4b4b4" d="M 223.5,86.5 C 226.513,86.5809 228.513,87.9142 229.5,90.5C 226.802,90.1551 224.802,88.8218 223.5,86.5 Z"/></g>
|
||||
<g><path style="opacity:1" fill="#7f7f7f" d="M 191.5,85.5 C 190.522,107.455 190.188,129.455 190.5,151.5C 189.337,130.004 189.171,108.337 190,86.5C 190.383,85.944 190.883,85.6107 191.5,85.5 Z"/></g>
|
||||
<g><path style="opacity:1" fill="#ffb3bd" d="M 133.5,95.5 C 129.267,95.5387 125.267,96.2053 121.5,97.5C 120.833,97.5 120.167,97.5 119.5,97.5C 120.949,95.8356 122.949,95.0023 125.5,95C 128.367,94.1993 131.034,94.3659 133.5,95.5 Z"/></g>
|
||||
<g><path style="opacity:1" fill="#ffc8d3" d="M 84.5,96.5 C 84.5,96.1667 84.5,95.8333 84.5,95.5C 86.8984,95.2594 88.8984,95.9261 90.5,97.5C 88.4352,97.4828 86.4352,97.1495 84.5,96.5 Z"/></g>
|
||||
<g><path style="opacity:1" fill="#ff7788" d="M 133.5,95.5 C 137.313,95.9379 140.646,97.2712 143.5,99.5C 136.297,97.7572 128.964,97.0906 121.5,97.5C 125.267,96.2053 129.267,95.5387 133.5,95.5 Z"/></g>
|
||||
<g><path style="opacity:1" fill="#ff97ab" d="M 84.5,95.5 C 84.5,95.8333 84.5,96.1667 84.5,96.5C 80.4862,96.3345 76.4862,96.5012 72.5,97C 69.6473,98.4301 66.6473,99.2634 63.5,99.5C 65.5976,98.065 67.9309,96.8984 70.5,96C 75.1548,95.5008 79.8215,95.3342 84.5,95.5 Z"/></g>
|
||||
<g><path style="opacity:1" fill="#ffd7dd" d="M 91.5,97.5 C 95.652,97.7445 98.652,99.7445 100.5,103.5C 97.3101,101.742 94.3101,99.7417 91.5,97.5 Z"/></g>
|
||||
<g><path style="opacity:1" fill="#ff596d" d="M 121.5,97.5 C 128.964,97.0906 136.297,97.7572 143.5,99.5C 144.391,100.11 145.391,100.443 146.5,100.5C 146.833,101.167 147.167,101.833 147.5,102.5C 146.183,102.179 144.849,101.846 143.5,101.5C 139.648,103.133 135.648,104.467 131.5,105.5C 129.786,104.391 129.119,105.058 129.5,107.5C 103.975,114.882 78.6412,122.882 53.5,131.5C 52.596,130.791 52.2627,129.791 52.5,128.5C 52.3347,124.818 52.5014,121.152 53,117.5C 53.2492,118.624 53.7492,119.624 54.5,120.5C 69.8368,116.108 85.0035,111.441 100,106.5C 101.138,106.989 102.305,107.322 103.5,107.5C 105.027,107.573 106.027,106.906 106.5,105.5C 106.842,104.662 107.508,104.328 108.5,104.5C 113.027,102.405 117.361,100.072 121.5,97.5 Z"/></g>
|
||||
<g><path style="opacity:1" fill="#b6b6b6" d="M 255.5,93.5 C 257.241,95.3949 258.241,97.7282 258.5,100.5C 256.643,98.7185 255.643,96.3852 255.5,93.5 Z"/></g>
|
||||
<g><path style="opacity:1" fill="#ff8794" d="M 119.5,97.5 C 120.167,97.5 120.833,97.5 121.5,97.5C 117.361,100.072 113.027,102.405 108.5,104.5C 110.964,100.426 114.631,98.0928 119.5,97.5 Z"/></g>
|
||||
<g><path style="opacity:1" fill="#ff98a9" d="M 63.5,99.5 C 61.9663,101.369 59.9663,102.702 57.5,103.5C 58.8021,101.178 60.8021,99.8449 63.5,99.5 Z"/></g>
|
||||
<g><path style="opacity:1" fill="#ff5a76" d="M 84.5,96.5 C 86.4352,97.1495 88.4352,97.4828 90.5,97.5C 90.8333,97.5 91.1667,97.5 91.5,97.5C 94.3101,99.7417 97.3101,101.742 100.5,103.5C 101.5,104.833 102.5,106.167 103.5,107.5C 102.305,107.322 101.138,106.989 100,106.5C 85.0035,111.441 69.8368,116.108 54.5,120.5C 53.7492,119.624 53.2492,118.624 53,117.5C 52.5014,121.152 52.3347,124.818 52.5,128.5C 51.5128,123.695 51.1795,118.695 51.5,113.5C 51.9321,112.29 52.5987,111.29 53.5,110.5C 54.7928,108.192 56.1261,105.858 57.5,103.5C 59.9663,102.702 61.9663,101.369 63.5,99.5C 66.6473,99.2634 69.6473,98.4301 72.5,97C 76.4862,96.5012 80.4862,96.3345 84.5,96.5 Z"/></g>
|
||||
<g><path style="opacity:1" fill="#ff5b67" d="M 147.5,102.5 C 149.139,104.806 151.139,106.806 153.5,108.5C 153.833,108.5 154.167,108.5 154.5,108.5C 154.5,109.833 154.5,111.167 154.5,112.5C 152.262,111.463 149.929,111.297 147.5,112C 138.645,114.914 129.645,117.581 120.5,120C 118.924,121.577 117.091,122.744 115,123.5C 96.3484,128.548 78.1818,134.382 60.5,141C 59.7476,141.671 59.4142,142.504 59.5,143.5C 58.8333,143.167 58.1667,142.833 57.5,142.5C 57.573,140.973 56.9063,139.973 55.5,139.5C 55.6716,138.508 55.3382,137.842 54.5,137.5C 54.4828,135.435 54.1495,133.435 53.5,131.5C 78.6412,122.882 103.975,114.882 129.5,107.5C 129.119,105.058 129.786,104.391 131.5,105.5C 135.648,104.467 139.648,103.133 143.5,101.5C 144.849,101.846 146.183,102.179 147.5,102.5 Z"/></g>
|
||||
<g><path style="opacity:1" fill="#ffbdc5" d="M 100.5,103.5 C 102.315,104.63 104.315,105.296 106.5,105.5C 106.027,106.906 105.027,107.573 103.5,107.5C 102.5,106.167 101.5,104.833 100.5,103.5 Z"/></g>
|
||||
<g><path style="opacity:1" fill="#606060" d="M 237.5,101.5 C 238.906,101.973 239.573,102.973 239.5,104.5C 238.094,104.027 237.427,103.027 237.5,101.5 Z"/></g>
|
||||
<g><path style="opacity:1" fill="#ffa0a9" d="M 57.5,103.5 C 56.1261,105.858 54.7928,108.192 53.5,110.5C 53.149,107.188 54.4823,104.855 57.5,103.5 Z"/></g>
|
||||
<g><path style="opacity:1" fill="#ff979d" d="M 146.5,100.5 C 148.017,100.511 149.184,101.177 150,102.5C 151.421,104.405 152.588,106.405 153.5,108.5C 151.139,106.806 149.139,104.806 147.5,102.5C 147.167,101.833 146.833,101.167 146.5,100.5 Z"/></g>
|
||||
<g><path style="opacity:1" fill="#ff5c60" d="M 154.5,112.5 C 155.468,114.607 155.802,116.941 155.5,119.5C 140.052,124.783 124.386,129.616 108.5,134C 99.2999,137.66 89.9666,141.16 80.5,144.5C 75.8138,145.509 71.1472,146.509 66.5,147.5C 66.5,148.5 66.5,149.5 66.5,150.5C 64.1667,148.5 61.8333,146.5 59.5,144.5C 59.5,144.167 59.5,143.833 59.5,143.5C 59.4142,142.504 59.7476,141.671 60.5,141C 78.1818,134.382 96.3484,128.548 115,123.5C 117.091,122.744 118.924,121.577 120.5,120C 129.645,117.581 138.645,114.914 147.5,112C 149.929,111.297 152.262,111.463 154.5,112.5 Z"/></g>
|
||||
<g><path style="opacity:1" fill="#666666" d="M 239.5,104.5 C 240.167,105.5 240.833,106.5 241.5,107.5C 242.774,114.296 242.774,120.963 241.5,127.5C 241.868,119.713 241.202,112.046 239.5,104.5 Z"/></g>
|
||||
<g><path style="opacity:1" fill="#b1b1b1" d="M 259.5,101.5 C 260.451,102.919 260.784,104.585 260.5,106.5C 261.702,113.982 261.702,121.316 260.5,128.5C 260.214,119.498 259.881,110.498 259.5,101.5 Z"/></g>
|
||||
<g><path style="opacity:1" fill="#ff7b7a" d="M 154.5,108.5 C 157.598,115.826 158.265,123.493 156.5,131.5C 155.833,131.833 155.167,132.167 154.5,132.5C 155.373,128.232 155.706,123.898 155.5,119.5C 155.802,116.941 155.468,114.607 154.5,112.5C 154.5,111.167 154.5,109.833 154.5,108.5 Z"/></g>
|
||||
<g><path style="opacity:1" fill="#ffc0c3" d="M 51.5,113.5 C 51.1795,118.695 51.5128,123.695 52.5,128.5C 52.2627,129.791 52.596,130.791 53.5,131.5C 54.1495,133.435 54.4828,135.435 54.5,137.5C 53.065,135.402 51.8984,133.069 51,130.5C 50.1816,124.651 50.3483,118.985 51.5,113.5 Z"/></g>
|
||||
<g><path style="opacity:1" fill="#dbdbdb" d="M 241.5,107.5 C 242.117,107.611 242.617,107.944 243,108.5C 244.424,114.776 244.758,121.109 244,127.5C 242.562,130.988 241.062,134.321 239.5,137.5C 240.038,135.883 240.371,134.216 240.5,132.5C 241.038,130.883 241.371,129.216 241.5,127.5C 242.774,120.963 242.774,114.296 241.5,107.5 Z"/></g>
|
||||
<g><path style="opacity:1" fill="#ff5e5c" d="M 155.5,119.5 C 155.706,123.898 155.373,128.232 154.5,132.5C 154.371,134.216 154.038,135.883 153.5,137.5C 151.674,139.147 150.34,141.147 149.5,143.5C 147.413,144.585 146.08,146.251 145.5,148.5C 142.833,150.5 140.5,152.833 138.5,155.5C 127.802,166.2 116.802,176.533 105.5,186.5C 103.5,185.5 101.5,184.5 99.5,183.5C 97.4309,180.427 94.7642,178.094 91.5,176.5C 89.1939,174.861 87.1939,172.861 85.5,170.5C 85.0269,169.094 84.0269,168.427 82.5,168.5C 81.1667,166.5 79.5,164.833 77.5,163.5C 76.1667,161.5 74.5,159.833 72.5,158.5C 72.5,156.5 71.5,155.5 69.5,155.5C 69.1667,154.5 68.5,153.833 67.5,153.5C 67.4431,152.391 67.1098,151.391 66.5,150.5C 66.5,149.5 66.5,148.5 66.5,147.5C 71.1472,146.509 75.8138,145.509 80.5,144.5C 89.9666,141.16 99.2999,137.66 108.5,134C 124.386,129.616 140.052,124.783 155.5,119.5 Z"/></g>
|
||||
<g><path style="opacity:1" fill="#444444" d="M 260.5,106.5 C 261.222,106.918 261.722,107.584 262,108.5C 262.667,115.833 262.667,123.167 262,130.5C 261.722,131.416 261.222,132.082 260.5,132.5C 260.5,131.167 260.5,129.833 260.5,128.5C 261.702,121.316 261.702,113.982 260.5,106.5 Z"/></g>
|
||||
<g><path style="opacity:1" fill="#ffbfbd" d="M 156.5,131.5 C 156.245,133.967 155.245,135.967 153.5,137.5C 154.038,135.883 154.371,134.216 154.5,132.5C 155.167,132.167 155.833,131.833 156.5,131.5 Z"/></g>
|
||||
<g><path style="opacity:1" fill="#999999" d="M 260.5,128.5 C 260.5,129.833 260.5,131.167 260.5,132.5C 260.88,134.698 260.213,136.365 258.5,137.5C 258.99,134.345 259.656,131.345 260.5,128.5 Z"/></g>
|
||||
<g><path style="opacity:1" fill="#838383" d="M 240.5,132.5 C 240.371,134.216 240.038,135.883 239.5,137.5C 239.167,138.5 238.5,139.167 237.5,139.5C 237.935,136.843 238.935,134.509 240.5,132.5 Z"/></g>
|
||||
<g><path style="opacity:1" fill="#ffa9a7" d="M 153.5,137.5 C 153.155,140.198 151.822,142.198 149.5,143.5C 150.34,141.147 151.674,139.147 153.5,137.5 Z"/></g>
|
||||
<g><path style="opacity:1" fill="#ffbabb" d="M 55.5,139.5 C 56.9063,139.973 57.573,140.973 57.5,142.5C 56.0937,142.027 55.427,141.027 55.5,139.5 Z"/></g>
|
||||
<g><path style="opacity:1" fill="#929292" d="M 237.5,139.5 C 234.265,147.064 228.598,151.731 220.5,153.5C 223.102,151.19 226.102,149.357 229.5,148C 232.399,145.271 235.066,142.438 237.5,139.5 Z"/></g>
|
||||
<g><path style="opacity:1" fill="#ffb1b0" d="M 59.5,144.5 C 61.8333,146.5 64.1667,148.5 66.5,150.5C 67.1098,151.391 67.4431,152.391 67.5,153.5C 64.0969,151.1 61.4302,148.1 59.5,144.5 Z"/></g>
|
||||
<g><path style="opacity:1" fill="#ffb5b3" d="M 149.5,143.5 C 148.92,145.749 147.587,147.415 145.5,148.5C 146.08,146.251 147.413,144.585 149.5,143.5 Z"/></g>
|
||||
<g><path style="opacity:1" fill="#464646" d="M 257.5,143.5 C 257.446,145.632 256.446,146.965 254.5,147.5C 254.554,145.368 255.554,144.035 257.5,143.5 Z"/></g>
|
||||
<g><path style="opacity:1" fill="#606060" d="M 254.5,147.5 C 253.641,151.892 251.307,155.225 247.5,157.5C 249.836,154.158 252.169,150.825 254.5,147.5 Z"/></g>
|
||||
<g><path style="opacity:1" fill="#ffa3a0" d="M 69.5,155.5 C 71.5,155.5 72.5,156.5 72.5,158.5C 71.1667,157.833 70.1667,156.833 69.5,155.5 Z"/></g>
|
||||
<g><path style="opacity:1" fill="#ffcbca" d="M 72.5,158.5 C 74.5,159.833 76.1667,161.5 77.5,163.5C 74.8333,162.833 73.1667,161.167 72.5,158.5 Z"/></g>
|
||||
<g><path style="opacity:1" fill="#5f5f5f" d="M 246.5,158.5 C 241.279,164.276 234.946,168.276 227.5,170.5C 233.961,166.766 240.294,162.766 246.5,158.5 Z"/></g>
|
||||
<g><path style="opacity:1" fill="#ffa5a2" d="M 82.5,168.5 C 84.0269,168.427 85.0269,169.094 85.5,170.5C 83.9731,170.573 82.9731,169.906 82.5,168.5 Z"/></g>
|
||||
<g><path style="opacity:1" fill="#9e9e9e" d="M 223.5,171.5 C 220.417,172.993 217.083,173.993 213.5,174.5C 213.97,173.307 214.97,172.64 216.5,172.5C 218.818,172.003 221.152,171.67 223.5,171.5 Z"/></g>
|
||||
<g><path style="opacity:1" fill="#ffcac8" d="M 138.5,155.5 C 130.759,164.746 122.426,173.579 113.5,182C 110.935,184.08 108.268,185.913 105.5,187.5C 105.5,187.167 105.5,186.833 105.5,186.5C 116.802,176.533 127.802,166.2 138.5,155.5 Z"/></g>
|
||||
<g><path style="opacity:1" fill="#505050" d="M 207.5,175.5 C 202.268,176.21 196.935,176.877 191.5,177.5C 196.396,175.554 201.729,174.887 207.5,175.5 Z"/></g>
|
||||
<g><path style="opacity:1" fill="#ff9e9b" d="M 91.5,176.5 C 94.7642,178.094 97.4309,180.427 99.5,183.5C 96.2358,181.906 93.5691,179.573 91.5,176.5 Z"/></g>
|
||||
<g><path style="opacity:1" fill="#ff8f8c" d="M 99.5,183.5 C 101.5,184.5 103.5,185.5 105.5,186.5C 105.5,186.833 105.5,187.167 105.5,187.5C 102.708,187.378 100.708,186.044 99.5,183.5 Z"/></g>
|
||||
<g><path style="opacity:1" fill="#646464" d="M 191.5,177.5 C 190.883,183.984 189.883,190.317 188.5,196.5C 188.5,195.833 188.5,195.167 188.5,194.5C 188.777,190.668 189.11,186.835 189.5,183C 189.547,180.705 190.213,178.871 191.5,177.5 Z"/></g>
|
||||
<g><path style="opacity:1" fill="#b4b4b4" d="M 188.5,194.5 C 188.5,195.167 188.5,195.833 188.5,196.5C 187.833,198.5 187.167,200.5 186.5,202.5C 186.167,202.5 185.833,202.5 185.5,202.5C 185.661,199.32 186.661,196.653 188.5,194.5 Z"/></g>
|
||||
<g><path style="opacity:1" fill="#404040" d="M 185.5,202.5 C 185.833,202.5 186.167,202.5 186.5,202.5C 186.446,204.632 185.446,205.965 183.5,206.5C 183.66,204.847 184.326,203.514 185.5,202.5 Z"/></g>
|
||||
<g><path style="opacity:1" fill="#4a4a4a" d="M 21.5,205.5 C 22.9063,205.973 23.573,206.973 23.5,208.5C 22.0937,208.027 21.427,207.027 21.5,205.5 Z"/></g>
|
||||
<g><path style="opacity:1" fill="#585858" d="M 179.5,210.5 C 179.027,211.906 178.027,212.573 176.5,212.5C 176.5,212.167 176.5,211.833 176.5,211.5C 177.391,210.89 178.391,210.557 179.5,210.5 Z"/></g>
|
||||
<g><path style="opacity:1" fill="#bfbfbf" d="M 26.5,210.5 C 28.9674,210.755 30.9674,211.755 32.5,213.5C 31.1667,213.167 29.8333,212.833 28.5,212.5C 27.5,212.167 26.8333,211.5 26.5,210.5 Z"/></g>
|
||||
<g><path style="opacity:1" fill="#dddddd" d="M 176.5,211.5 C 176.5,211.833 176.5,212.167 176.5,212.5C 174.597,212.796 172.93,213.463 171.5,214.5C 158.5,214.5 145.5,214.5 132.5,214.5C 147.043,213.747 161.71,212.747 176.5,211.5 Z"/></g>
|
||||
<g><path style="opacity:1" fill="#7d7d7d" d="M 28.5,212.5 C 29.8333,212.833 31.1667,213.167 32.5,213.5C 65.7602,214.493 99.0935,214.826 132.5,214.5C 145.5,214.5 158.5,214.5 171.5,214.5C 125.335,215.665 79.0018,215.832 32.5,215C 30.6803,214.8 29.347,213.966 28.5,212.5 Z"/></g>
|
||||
</svg>
|
After Width: | Height: | Size: 18 KiB |
|
@ -1,11 +1,11 @@
|
|||
export const socials = [
|
||||
export const SOCIALS = [
|
||||
{
|
||||
name: "GitHub",
|
||||
link: "https://github.com/xHyroM/",
|
||||
icon: "github.svg",
|
||||
},
|
||||
{
|
||||
name: "Discord.svg",
|
||||
name: "Discord",
|
||||
link: "https://s.xhyrom.dev/discord",
|
||||
icon: "discord.svg",
|
||||
},
|
||||
|
@ -22,7 +22,7 @@ export const socials = [
|
|||
{
|
||||
name: "ko-fi",
|
||||
link: "https://ko-fi.com/xhyrom",
|
||||
icon: "ko-fi.png",
|
||||
icon: "ko-fi.svg",
|
||||
},
|
||||
] satisfies {
|
||||
name: string;
|
||||
|
@ -30,7 +30,7 @@ export const socials = [
|
|||
icon: string;
|
||||
}[];
|
||||
|
||||
export const skills = [
|
||||
export const SKILLS = [
|
||||
{
|
||||
name: "TypeScript",
|
||||
icon: "logos:typescript-icon",
|
||||
|
@ -138,7 +138,7 @@ export const skills = [
|
|||
color?: string;
|
||||
}[];
|
||||
|
||||
export const projects = [
|
||||
export const PROJECTS = [
|
||||
{
|
||||
name: "HyLib",
|
||||
link: "https://github.com/xHyroM/HyLib",
|
||||
|
@ -214,7 +214,7 @@ export const projects = [
|
|||
link: "https://github.com/xHyroM/spawnergenz",
|
||||
desc: "Spawner Genz is a plugin that modifies the functionality of spawners so that they don't spawn entities, but instead store drops in a virtual storag in which you can then sell or move everything to your inventory.",
|
||||
},
|
||||
] as {
|
||||
] satisfies {
|
||||
name: string;
|
||||
link: string;
|
||||
desc: string;
|
||||
|
|
|
@ -3,7 +3,7 @@ import Container from "@components/atoms/Container.astro";
|
|||
import Navbar from "@components/widgets/Navbar.astro";
|
||||
import TechIcon from "@components/widgets/TechIcon.astro";
|
||||
import Layout from "@layouts/Layout.astro";
|
||||
import { skills } from "~/config";
|
||||
import { SKILLS } from "~/config";
|
||||
---
|
||||
|
||||
<Layout
|
||||
|
@ -76,7 +76,7 @@ import { skills } from "~/config";
|
|||
class="mx-auto mb-4 flex w-fit flex-wrap items-center justify-center rounded-md border border-neutral-800"
|
||||
>
|
||||
{
|
||||
skills.map((skill) => (
|
||||
SKILLS.map((skill) => (
|
||||
<TechIcon
|
||||
icon={skill.icon}
|
||||
color={skill.color}
|
||||
|
|
|
@ -3,7 +3,7 @@ import Layout from "@layouts/Layout.astro";
|
|||
import Navbar from "@components/widgets/Navbar.astro";
|
||||
import { Picture } from "@astrojs/image/components";
|
||||
import logo from "@assets/logo.png";
|
||||
import { socials } from "../config";
|
||||
import { SOCIALS } from "../config";
|
||||
---
|
||||
|
||||
<Layout
|
||||
|
@ -43,7 +43,7 @@ import { socials } from "../config";
|
|||
|
||||
<ul class="my-5 flex justify-center text-white md:justify-start">
|
||||
{
|
||||
socials.map((social) => (
|
||||
SOCIALS.map((social) => (
|
||||
<li class="mr-4 ">
|
||||
<a class="h-10 w-10" href={social.link} title={social.name}>
|
||||
<img
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
import Layout from "@layouts/Layout.astro";
|
||||
import Navbar from "@components/widgets/Navbar.astro";
|
||||
import Container from "@components/atoms/Container.astro";
|
||||
import { projects } from "~/config";
|
||||
import { PROJECTS } from "~/config";
|
||||
import Button from "~/components/widgets/Button.astro";
|
||||
|
||||
for (const project of projects) {
|
||||
for (const project of PROJECTS) {
|
||||
try {
|
||||
const rawRepository = await fetch(
|
||||
`https://api.github.com/repos/${project.link.slice(19)}`,
|
||||
|
@ -35,7 +35,7 @@ for (const project of projects) {
|
|||
}
|
||||
}
|
||||
|
||||
projects.sort((a, b) => a.name.localeCompare(b.name));
|
||||
PROJECTS.sort((a, b) => a.name.localeCompare(b.name));
|
||||
---
|
||||
|
||||
<Layout
|
||||
|
@ -43,7 +43,7 @@ projects.sort((a, b) => a.name.localeCompare(b.name));
|
|||
"@context": "https://schema.org/",
|
||||
"@type": "ItemList",
|
||||
name: "Projects",
|
||||
itemListElement: projects.map((project, i) => ({
|
||||
itemListElement: PROJECTS.map((project, i) => ({
|
||||
"@type": "ListItem",
|
||||
position: i + 1,
|
||||
name: project.name,
|
||||
|
@ -59,7 +59,7 @@ projects.sort((a, b) => a.name.localeCompare(b.name));
|
|||
<Container class="pb-4">
|
||||
<main class="flex flex-wrap justify-center gap-12">
|
||||
{
|
||||
projects.map((project) => (
|
||||
PROJECTS.map((project) => (
|
||||
<section class="flex min-h-max w-80 flex-col justify-between rounded-md border-[1px] border-neutral-800 bg-dark-50 p-6 md:w-96">
|
||||
<div class="flex">
|
||||
<h2 class="mb-4 break-words text-3xl font-bold text-white">
|
||||
|
|
Loading…
Reference in a new issue