From 04b122bb0787da6686f3969a72964f5100739786 Mon Sep 17 00:00:00 2001 From: Wei He Date: Sat, 23 Nov 2024 22:18:23 +0000 Subject: [PATCH] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Upgrade=20UI=20dependencie?= =?UTF-8?q?s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .changeset/spicy-carpets-peel.md | 2 +- common/helpers.ts | 30 +++++++++++++++++++++++++----- package.json | 4 ++-- yarn.lock | 10 +++++----- 4 files changed, 33 insertions(+), 13 deletions(-) diff --git a/.changeset/spicy-carpets-peel.md b/.changeset/spicy-carpets-peel.md index bc8e4a7e..59b65e66 100644 --- a/.changeset/spicy-carpets-peel.md +++ b/.changeset/spicy-carpets-peel.md @@ -2,4 +2,4 @@ "socialify": minor --- -Upgrade depdendencies +Upgrade dependencies diff --git a/common/helpers.ts b/common/helpers.ts index 7d394a5f..72aa656a 100644 --- a/common/helpers.ts +++ b/common/helpers.ts @@ -16,7 +16,6 @@ import { siClojure, siCoffeescript, siCplusplus, - siCsharp, siCss3, siDart, siDm, @@ -37,7 +36,6 @@ import { siOcaml, siPerl, siPhp, - siPowershell, siPuppet, siPython, siRuby, @@ -51,15 +49,37 @@ import { } from 'simple-icons' import { Pattern, Theme } from './types/configType' +const siCsharp: SimpleIcon = { + title: 'C#', + slug: 'csharp', + hex: '512BD4', + source: '', + guidelines: '', + path: 'M1.194 7.543v8.913c0 1.103.588 2.122 1.544 2.674l7.718 4.456a3.086 3.086 0 0 0 3.088 0l7.718-4.456a3.087 3.087 0 0 0 1.544-2.674V7.543a3.084 3.084 0 0 0-1.544-2.673L13.544.414a3.086 3.086 0 0 0-3.088 0L2.738 4.87a3.085 3.085 0 0 0-1.544 2.673Zm5.403 2.914v3.087a.77.77 0 0 0 .772.772.773.773 0 0 0 .772-.772.773.773 0 0 1 1.317-.546.775.775 0 0 1 .226.546 2.314 2.314 0 1 1-4.631 0v-3.087c0-.615.244-1.203.679-1.637a2.312 2.312 0 0 1 3.274 0c.434.434.678 1.023.678 1.637a.769.769 0 0 1-.226.545.767.767 0 0 1-1.091 0 .77.77 0 0 1-.226-.545.77.77 0 0 0-.772-.772.771.771 0 0 0-.772.772Zm12.35 3.087a.77.77 0 0 1-.772.772h-.772v.772a.773.773 0 0 1-1.544 0v-.772h-1.544v.772a.773.773 0 0 1-1.317.546.775.775 0 0 1-.226-.546v-.772H12a.771.771 0 1 1 0-1.544h.772v-1.543H12a.77.77 0 1 1 0-1.544h.772v-.772a.773.773 0 0 1 1.317-.546.775.775 0 0 1 .226.546v.772h1.544v-.772a.773.773 0 0 1 1.544 0v.772h.772a.772.772 0 0 1 0 1.544h-.772v1.543h.772a.776.776 0 0 1 .772.772Zm-3.088-2.315h-1.544v1.543h1.544v-1.543Z', + get svg() { + return `${this.title}` + }, +} +const siPowershell: SimpleIcon = { + title: 'PowerShell', + slug: 'powershell', + hex: '5391FE', + source: '', + guidelines: '', + path: 'M23.181 2.974c.568 0 .923.463.792 1.035l-3.659 15.982c-.13.572-.697 1.035-1.265 1.035H.819c-.568 0-.923-.463-.792-1.035L3.686 4.009c.13-.572.697-1.035 1.265-1.035zm-8.375 9.346c.251-.394.227-.905-.09-1.243L9.122 5.125c-.38-.404-1.037-.407-1.466-.003-.429.402-.468 1.056-.088 1.46l4.662 4.96v.11l-7.42 5.374c-.45.327-.533.977-.187 1.453.346.476.991.597 1.44.27l8.229-5.91c.28-.196.438-.365.514-.52zm-2.796 4.399a.928.928 0 00-.934.923c0 .51.418.923.934.923h4.433a.928.928 0 00.934-.923.928.928 0 00-.934-.923z', + get svg() { + return `${this.title}` + }, +} const siJava: SimpleIcon = { title: 'Java', slug: 'java', hex: '007396', - source: 'https://www.oracle.com/legal/logos.html', - guidelines: 'https://www.oracle.com/legal/logos.html', + source: '', + guidelines: '', path: 'M8.851 18.56s-.917.534.653.714c1.902.218 2.874.187 4.969-.211 0 0 .552.346 1.321.646-4.699 2.013-10.633-.118-6.943-1.149M8.276 15.933s-1.028.761.542.924c2.032.209 3.636.227 6.413-.308 0 0 .384.389.987.602-5.679 1.661-12.007.13-7.942-1.218M13.116 11.475c1.158 1.333-.304 2.533-.304 2.533s2.939-1.518 1.589-3.418c-1.261-1.772-2.228-2.652 3.007-5.688 0-.001-8.216 2.051-4.292 6.573M19.33 20.504s.679.559-.747.991c-2.712.822-11.288 1.069-13.669.033-.856-.373.75-.89 1.254-.998.527-.114.828-.093.828-.093-.953-.671-6.156 1.317-2.643 1.887 9.58 1.553 17.462-.7 14.977-1.82M9.292 13.21s-4.362 1.036-1.544 1.412c1.189.159 3.561.123 5.77-.062 1.806-.152 3.618-.477 3.618-.477s-.637.272-1.098.587c-4.429 1.165-12.986.623-10.522-.568 2.082-1.006 3.776-.892 3.776-.892M17.116 17.584c4.503-2.34 2.421-4.589.968-4.285-.355.074-.515.138-.515.138s.132-.207.385-.297c2.875-1.011 5.086 2.981-.928 4.562 0-.001.07-.062.09-.118M14.401 0s2.494 2.494-2.365 6.33c-3.896 3.077-.888 4.832-.001 6.836-2.274-2.053-3.943-3.858-2.824-5.539 1.644-2.469 6.197-3.665 5.19-7.627M9.734 23.924c4.322.277 10.959-.153 11.116-2.198 0 0-.302.775-3.572 1.391-3.688.694-8.239.613-10.937.168 0-.001.553.457 3.393.639', get svg() { - return `Java` + return `${this.title}` }, } const LANGUAGE_ICON_MAPPING: { [key: string]: SimpleIcon } = { diff --git a/package.json b/package.json index 55e8ccb1..d993f51f 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "badgen": "^3.2.3", "clsx": "^2.1.1", "copee": "^1.0.6", - "daisyui": "^2.46.1", + "daisyui": "^2.52.0", "hero-patterns": "^2.1.0", "is-ci": "^3.0.1", "next": "^14.2.8", @@ -39,7 +39,7 @@ "react-hot-toast": "^2.4.1", "react-icons": "^5.3.0", "satori": "^0.10.14", - "simple-icons": "^11.13.0", + "simple-icons": "^13.17.0", "styled-jsx": "^5.1.6", "tailwindcss": "^3.4.15", "typescript": "~5.7.2", diff --git a/yarn.lock b/yarn.lock index cc1897f1..eeaf8524 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1645,7 +1645,7 @@ csstype@^3.0.2: resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.1.3.tgz#d80ff294d114fb0e6ac500fbf85b60137d7eff81" integrity sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw== -daisyui@^2.46.1: +daisyui@^2.52.0: version "2.52.0" resolved "https://registry.yarnpkg.com/daisyui/-/daisyui-2.52.0.tgz#1e22abd655bf4a5cb466e1a1f264bb597e9ec254" integrity sha512-LQTA5/IVXAJHBMFoeaEMfd7/akAFPPcdQPR3O9fzzcFiczneJFM73CFPnScmW2sOgn/D83cvkP854ep2T9OfTg== @@ -3550,10 +3550,10 @@ signal-exit@^4.0.1: resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-4.1.0.tgz#952188c1cbd546070e2dd20d0f41c0ae0530cb04" integrity sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw== -simple-icons@^11.13.0: - version "11.15.0" - resolved "https://registry.yarnpkg.com/simple-icons/-/simple-icons-11.15.0.tgz#b12e7b10ea8af935f45a76bfa217fdea2b1a8640" - integrity sha512-uDAdtIGc56YJiGpdzImENY4E+5qtHEorW11KoXiwDj4u4YSY74G+q/a9idlY8iEqrjghHGkZ/ras0jRT7JpDTQ== +simple-icons@^13.17.0: + version "13.17.0" + resolved "https://registry.yarnpkg.com/simple-icons/-/simple-icons-13.17.0.tgz#9e392e6bdd8114fdcf49bb740f0867e4ffbca6e7" + integrity sha512-pn37igWUYFeTBLckTGjFpwvEYbZuIXc9AB2lza+bzxc/h/sxlNn323dxGlXKglxqMNgLkbnpX75hT6kgsgb5CQ== simple-swizzle@^0.2.2: version "0.2.2"