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 727eaae..0000000 Binary files a/public/icons/ko-fi.png and /dev/null differ diff --git a/public/icons/ko-fi.svg b/public/icons/ko-fi.svg new file mode 100644 index 0000000..35803c9 --- /dev/null +++ b/public/icons/ko-fi.svg @@ -0,0 +1,66 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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) => (