From 5517c2a3ba19ce89c6be69cf568c46e093876676 Mon Sep 17 00:00:00 2001 From: Kalidou Diagne Date: Sat, 21 Sep 2024 14:34:05 +0200 Subject: [PATCH 1/4] general issues fix --- app/[lang]/page.tsx | 3 +- app/[lang]/projects/[id]/page.tsx | 66 ++++++------------- .../locales/en/projects/unirep-protocol.json | 2 +- components/cards/wiki-card.tsx | 23 ++++--- components/icons.tsx | 6 +- components/project/discover-more-projects.tsx | 4 +- components/project/project-detail-tags.tsx | 1 + components/project/project-extra-links.tsx | 7 +- components/project/project-filters-bar.tsx | 11 ++-- components/project/project-link.tsx | 16 ++--- components/project/project-links.tsx | 11 ++++ components/ui/label.tsx | 8 +-- data/projects.ts | 12 +--- data/projects/anon-aadhaar.ts | 4 +- data/projects/anon-klub.ts | 4 +- data/projects/bandada.ts | 4 +- data/projects/channel-4.ts | 4 +- data/projects/chiquito.ts | 4 +- data/projects/coco.ts | 4 +- data/projects/cryptkeeper.ts | 4 +- data/projects/discreetly.ts | 4 +- data/projects/dsl-working-group.ts | 4 +- data/projects/ecip-halo2.ts | 4 +- data/projects/eigen-trust.ts | 4 +- data/projects/interep.ts | 4 +- data/projects/jubmoji.ts | 4 +- data/projects/maci-rpgf.ts | 4 +- data/projects/maci.ts | 4 +- data/projects/nfctap.ts | 4 +- data/projects/openpassport.ts | 4 +- data/projects/p0tion.ts | 4 +- data/projects/p256.ts | 4 +- data/projects/pollen-labs.ts | 4 +- data/projects/powers-of-tau.ts | 4 +- data/projects/pse-security.ts | 4 +- data/projects/rln.ts | 4 +- data/projects/semaphore.ts | 4 +- data/projects/summa.ts | 4 +- data/projects/tlsn.ts | 4 +- data/projects/trusted-setups.ts | 4 +- data/projects/unirep-protocol.ts | 4 +- data/projects/voice-deck.ts | 4 +- data/projects/wax.ts | 4 +- data/projects/zk-email.ts | 4 +- data/projects/zk-kit.ts | 4 +- data/projects/zk3.ts | 4 +- data/projects/zkevm-community.ts | 4 +- data/projects/zkitter.ts | 4 +- data/projects/zkml.ts | 4 +- data/projects/zkopru.ts | 4 +- data/projects/zkp2p.ts | 4 +- lib/types.ts | 13 ++-- lib/utils.ts | 4 ++ public/social-medias/github-fill.svg | 10 --- public/social-medias/global-line.svg | 10 --- public/social-medias/twitter-fill.svg | 10 --- public/social-medias/youtube-fill.svg | 10 --- types/common.ts | 4 +- 58 files changed, 160 insertions(+), 223 deletions(-) create mode 100644 components/project/project-links.tsx delete mode 100644 public/social-medias/github-fill.svg delete mode 100644 public/social-medias/global-line.svg delete mode 100644 public/social-medias/twitter-fill.svg delete mode 100644 public/social-medias/youtube-fill.svg diff --git a/app/[lang]/page.tsx b/app/[lang]/page.tsx index 61826865..b055972a 100644 --- a/app/[lang]/page.tsx +++ b/app/[lang]/page.tsx @@ -4,7 +4,6 @@ import Image from "next/image" import Link from "next/link" import PSELogo from "@/public/icons/archstar.webp" import { motion } from "framer-motion" -import { Divide } from "lucide-react" import { siteConfig } from "@/config/site" import { Button } from "@/components/ui/button" @@ -47,7 +46,7 @@ export default function IndexPage({ params: { lang } }: any) { } actions={ - +