diff --git a/package.json b/package.json index 1d4a8a2..3afab55 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "check": "astro check" }, "lint-staged": { - "*": [ + "*.{js,ts,jsx,tsx,json,css,scss,md,astro,html}": [ "prettier --write", "astro check" ] diff --git a/public/resume.pdf b/public/resume.pdf index 3124250..dff2846 100644 Binary files a/public/resume.pdf and b/public/resume.pdf differ diff --git a/src/content/software/my-cp-setup.mdx b/src/content/software/my-competitive-programming-setup.mdx similarity index 97% rename from src/content/software/my-cp-setup.mdx rename to src/content/software/my-competitive-programming-setup.mdx index c759e23..6101d7a 100644 --- a/src/content/software/my-cp-setup.mdx +++ b/src/content/software/my-competitive-programming-setup.mdx @@ -1,5 +1,5 @@ --- -title: "my cp setup" +title: "my competitive programming setup" date: "15/04/2025" --- diff --git a/src/utils/sort.js b/src/utils/sort.js index cea5e54..d609ff6 100644 --- a/src/utils/sort.js +++ b/src/utils/sort.js @@ -8,5 +8,5 @@ export const sortItem = (a, b) => { const aDate = parseEuroDate(a.data.date).getTime(); const bDate = parseEuroDate(b.data.date).getTime(); - return aDate === bDate ? a.slug.localeCompare(b.slug) : bDate - aDate; + return aDate === bDate ? b.slug.localeCompare(a.slug) : bDate - aDate; };