From b5461c9961015bfe564e0cfe71cded1dbe7337ac Mon Sep 17 00:00:00 2001 From: xHyroM Date: Thu, 13 Jul 2023 21:29:12 +0200 Subject: [PATCH] perf: optimize social icons also rename contants in config.ts to upper case --- astro.config.ts | 1 - package.json | 2 +- pnpm-lock.yaml | 40 +++++++++++++++--------- public/icons/ko-fi.png | Bin 17398 -> 0 bytes public/icons/ko-fi.svg | 66 +++++++++++++++++++++++++++++++++++++++ src/config.ts | 12 +++---- src/pages/about.astro | 4 +-- src/pages/index.astro | 4 +-- src/pages/projects.astro | 10 +++--- 9 files changed, 107 insertions(+), 32 deletions(-) delete mode 100644 public/icons/ko-fi.png create mode 100644 public/icons/ko-fi.svg diff --git a/astro.config.ts b/astro.config.ts index 15e081c..bda1f98 100644 --- a/astro.config.ts +++ b/astro.config.ts @@ -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(), diff --git a/package.json b/package.json index e580e25..247ed66 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c6b91b3..1c57cd3 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -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 diff --git a/public/icons/ko-fi.png b/public/icons/ko-fi.png deleted file mode 100644 index 727eaae7eb1a2ed3e98ac883bf10376415394a99..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 17398 zcmd>GWm8+<*QLcFxCM6)5L}A81P@v~cyTRIpg0uQ;I74rJH?7S6xw3Nt%c$a|NLg2 zZ}GgileuRmC+F;YvbL85PtiG+kr^xyRgDLWU4gd`WMA}<4dZ}vCO zZ z7&9lsLm(Jl(`4OWRG5>~j0bJ&7in2pvd##XB5e9sgg4IDcQyvCO~=(Ibw_olN2gB; z;^w|KdN<3argw`uuC_MR*FWtFL)6vY1 zwHyi$%ieBgz3mB)v0!smsaJDVjVeW+e?xdIsWH?FoQ?V%+}*m(<^(z?1|Z9c8fA0k zaayvmD!UKO>q>pLycB{K`x8ub#o(&es{p6W9NI2Fg&+Q-Fng#vVmw_qWw!>Yl=A6k z)0@(nGUYMnvCUEO0ZKCPr@FZa#^?a3mf-09htelP0zAc%&p(56G&|y%W1xyEaMfiM z17&%xNXurl$R<-`&RPhKc}BETwDsuBhZ?b8r`c)>aS`I<>hmpx+T-qoeu&d!j68@T zN_Lqqztbpd%vPK1qw0Dk>^Wuw;v*q!f~#$$*s3r&C8mKAt$?+ubsu&NqIK*EBUt8z zFiYsOf0o^=GA-;oID+`nx3B&&AKJ#);wNJvA5TI7B_@?|(FaUBwr1(zbiH}Cd3}ed z%km@cj!a1vIhe{hhj|j1BwIQ&F6)!!B><}79}5ODkeu`IsA{SnGiR%xR^c|O7Zleu zj6&^?l4^S72B76COBXO;4>AE@ifMQl|64cRlcMotMv7|*Db*7Z=W5jp5tHsuiW7hqLWj&)_xwa|4s9LRJ&8gP0%n~S3 zZF=8s`ox#ab$qx#tT6lf5?H^uJsT@u>>GC3EuZ2WD~~cr*JD3UiCfK#_?>&ER{p@U?xuoLQ8IJ zCjVsI&j~m0J%lF=?Z3`G$eHaHFx9>ELyssX=9Fmvs_&+#al0>@`sN8|%#|p;9kTKg zC_2H9L4nBtCyL~vR-d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y6n-%XH=~Sl76QAW?5}0hn!F(u& zjVXlbP$^qhU||*0KlR|gZJ+;F@Y@;B-+SVBg4RwoZtsIYW7&2lDw)*(;IrA6o_1;b zi@;=0<;9jk{1Ut;<6NFJX(Y$Wd9ZxHH$7v%fNg+bSJ<|&hyM+>?4A4nc=pdTHQ$up zH*;?NwEt)C&-gvl()|2qZn(&_H%o_6lINMguEoi`EQk0nT()%bCPd;FdxOx0k>@dm~U-_3@qm> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/config.ts b/src/config.ts index fc91460..52070c5 100644 --- a/src/config.ts +++ b/src/config.ts @@ -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; diff --git a/src/pages/about.astro b/src/pages/about.astro index ef16549..5720d2c 100644 --- a/src/pages/about.astro +++ b/src/pages/about.astro @@ -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"; --- { - skills.map((skill) => ( + SKILLS.map((skill) => ( { - socials.map((social) => ( + SOCIALS.map((social) => (
  • a.name.localeCompare(b.name)); +PROJECTS.sort((a, b) => a.name.localeCompare(b.name)); --- 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));
    { - projects.map((project) => ( + PROJECTS.map((project) => (