mirror of
https://github.com/privacy-scaling-explorations/pse.dev.git
synced 2026-01-09 22:28:03 -05:00
fix: telegram icon issue and remove react-icons
This commit is contained in:
@@ -57,6 +57,20 @@ export const Icons = {
|
||||
/>
|
||||
</svg>
|
||||
),
|
||||
telegram: (props: LucideProps) => (
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
width="18"
|
||||
height="18"
|
||||
viewBox="0 0 18 18"
|
||||
{...props}
|
||||
>
|
||||
<path
|
||||
d="M8.99979 0.535889C4.17325 0.535889 0.262695 4.32424 0.262695 8.99995C0.262695 13.6757 4.17325 17.464 8.99979 17.464C13.8263 17.464 17.7369 13.6757 17.7369 8.99995C17.7369 4.32424 13.8263 0.535889 8.99979 0.535889ZM13.2908 6.33445L11.857 12.8804C11.7513 13.3446 11.4659 13.4572 11.0678 13.2388L8.88353 11.6791L7.83015 12.662C7.71389 12.7746 7.61524 12.8702 7.38977 12.8702L7.54478 10.7167L11.5927 7.17403C11.7689 7.02386 11.554 6.93854 11.3215 7.08871L6.31877 10.1399L4.16268 9.488C3.69412 9.34466 3.68355 9.03408 4.26133 8.81565L12.6849 5.66893C13.0759 5.53241 13.4177 5.76108 13.2908 6.33445Z"
|
||||
fill="currentColor"
|
||||
/>
|
||||
</svg>
|
||||
),
|
||||
twitter: (props: LucideProps) => (
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
import { RiTelegramLine as TelegramIcon } from "react-icons/ri"
|
||||
|
||||
import { Icons } from "../icons"
|
||||
import { Icons } from '../icons'
|
||||
|
||||
export const ProjectLinkIconMap: Record<string, any> = {
|
||||
github: (
|
||||
@@ -17,7 +15,7 @@ export const ProjectLinkIconMap: Record<string, any> = {
|
||||
<Icons.twitter size={22} className="duration-200 hover:text-anakiwa-500" />
|
||||
),
|
||||
telegram: (
|
||||
<TelegramIcon size={22} className="duration-200 hover:text-anakiwa-500" />
|
||||
<Icons.telegram size={22} className="duration-200 hover:text-anakiwa-500" />
|
||||
),
|
||||
discord: (
|
||||
<Icons.discord size={20} className="duration-200 hover:text-anakiwa-500" />
|
||||
|
||||
@@ -45,7 +45,6 @@
|
||||
"react-cookie": "^7.0.1",
|
||||
"react-dom": "^18.2.0",
|
||||
"react-i18next": "^14.0.0",
|
||||
"react-icons": "^5.3.0",
|
||||
"react-markdown": "^8.0.7",
|
||||
"react-slick": "^0.30.3",
|
||||
"react-use": "^17.4.0",
|
||||
|
||||
@@ -4258,11 +4258,6 @@ react-i18next@^14.0.0:
|
||||
"@babel/runtime" "^7.23.9"
|
||||
html-parse-stringify "^3.0.1"
|
||||
|
||||
react-icons@^5.3.0:
|
||||
version "5.4.0"
|
||||
resolved "https://registry.yarnpkg.com/react-icons/-/react-icons-5.4.0.tgz#443000f6e5123ee1b21ea8c0a716f6e7797f7416"
|
||||
integrity sha512-7eltJxgVt7X64oHh6wSWNwwbKTCtMfK35hcjvJS0yxEAhPM8oUKdS3+kqaW1vicIltw+kR2unHaa12S9pPALoQ==
|
||||
|
||||
react-is@^16.13.1, react-is@^16.7.0:
|
||||
version "16.13.1"
|
||||
resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4"
|
||||
|
||||
Reference in New Issue
Block a user