Skip to content

Commit 403d98d

Browse files
committed
Merge branch 'dev' into e2e-tests
2 parents ff21d93 + 56c3c68 commit 403d98d

File tree

9 files changed

+37
-48
lines changed

9 files changed

+37
-48
lines changed

.all-contributorsrc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12782,6 +12782,15 @@
1278212782
"contributions": [
1278312783
"eventOrganizing"
1278412784
]
12785+
},
12786+
{
12787+
"login": "kichong",
12788+
"name": "kichong",
12789+
"avatar_url": "https://avatars.githubusercontent.com/u/38249409?v=4",
12790+
"profile": "https://github.com/kichong",
12791+
"contributions": [
12792+
"content"
12793+
]
1278512794
}
1278612795
],
1278712796
"contributorsPerLine": 7,

.storybook/main.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,5 +77,8 @@ const config: StorybookConfig = {
7777

7878
reactDocgen: "react-docgen-typescript",
7979
},
80+
features: {
81+
experimentalRSC: true,
82+
},
8083
}
8184
export default config

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1992,6 +1992,9 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
19921992
<td align="center" valign="top" width="14.28%"><a href="https://www.suci.io/"><img src="https://avatars.githubusercontent.com/u/155696196?v=4?s=100" width="100px;" alt="SUCI - Blockchain Hub Team"/><br /><sub><b>SUCI - Blockchain Hub Team</b></sub></a><br /><a href="#maintenance-adminsuci" title="Maintenance">🚧</a></td>
19931993
<td align="center" valign="top" width="14.28%"><a href="https://github.com/Nik-EpicWeb3"><img src="https://avatars.githubusercontent.com/u/214466248?v=4?s=100" width="100px;" alt="Nik-EpicWeb3"/><br /><sub><b>Nik-EpicWeb3</b></sub></a><br /><a href="#eventOrganizing-Nik-EpicWeb3" title="Event Organizing">📋</a></td>
19941994
</tr>
1995+
<tr>
1996+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/kichong"><img src="https://avatars.githubusercontent.com/u/38249409?v=4?s=100" width="100px;" alt="kichong"/><br /><sub><b>kichong</b></sub></a><br /><a href="#content-kichong" title="Content">🖋</a></td>
1997+
</tr>
19951998
</tbody>
19961999
</table>
19972000

app/[locale]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ const Page = async ({ params }: { params: Promise<{ locale: Lang }> }) => {
447447
</Link>
448448
</p>
449449
</BannerNotification>
450-
<HomeHero heroImg={Hero} className="w-full" />
450+
<HomeHero heroImg={Hero} className="w-full" locale={locale} />
451451
<div className="w-full space-y-32 px-4 md:mx-6 lg:space-y-48">
452452
<div className="my-20 grid w-full grid-cols-2 gap-x-4 gap-y-8 md:grid-cols-4 md:gap-x-10">
453453
{subHeroCTAs.map(

public/content/zero-knowledge-proofs/index.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,12 @@ Current identity management systems put personal information at risk. Zero-knowl
4646

4747
Zero-knowledge proofs are particularly useful in the context of [decentralized identity](/decentralized-identity/). Decentralized identity (also described as ‘self-sovereign identity’) gives the individual the ability to control access to personal identifiers. Proving your citizenship without revealing your tax ID or passport details is a good example of how zero-knowledge technology enables decentralized identity.
4848

49+
### Proof of Humanity {#proof-of-humanity}
50+
51+
One of the most widely used examples of zero-knowledge proofs in action today is the [World ID protocol](https://world.org/blog/world/world-id-faqs), which can be thought of as “a global digital passport for the age of AI.” It allows people to prove they are unique individuals without revealing personal information. This is achieved through a device called the Orb, which scans a person's iris and generates an iris code. The iris code is checked and verified to confirm the person is a biologically unique human being. After verification, an identity commitment generated on the user’s device (and not linked to or derived from the biometric data) is added to a secure list on the blockchain. Then, whenever the user wants to prove they’re a verified human – whether to sign in, vote, or take other actions – they can generate a zero-knowledge proof that confirms their membership in the list. The beauty of using a zero-knowledge proof is that only one statement is revealed: this person is unique. Everything else stays private.
52+
53+
World ID relies on the [Semaphore protocol](https://docs.semaphore.pse.dev/) developed by the [PSE team](https://pse.dev/) at the Ethereum Foundation. Semaphore is designed to be a lightweight yet powerful way to generate and verify zero-knowledge proofs. It lets users prove they're part of a group (in this case, verified humans) without showing which member of the group they are. Semaphore is also highly flexible, allowing groups to be created based on a wide range of criteria such as identity verification, participation in events, or ownership of credentials.
54+
4955
### Authentication {#authentication}
5056

5157
Using online services requires proving your identity and right to access those platforms. This often requires providing personal information, like names, email addresses, birth dates, and so on. You may also need to memorize long passwords or risk losing access.

public/images/wallets/metamask.png

1.96 KB
Loading

src/components/Hero/HomeHero/HomeHero.stories.tsx

Lines changed: 0 additions & 35 deletions
This file was deleted.

src/components/Hero/HomeHero/index.tsx

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,24 @@
1-
import type { ClassNameProp, CommonHeroProps } from "@/lib/types"
1+
import { getTranslations } from "next-intl/server"
2+
3+
import type { ClassNameProp, CommonHeroProps, Lang } from "@/lib/types"
24

35
import LanguageMorpher from "@/components/Homepage/LanguageMorpher"
46
import { Image } from "@/components/Image"
57

6-
import useTranslation from "@/hooks/useTranslation"
7-
8-
export type HomeHeroProps = Pick<CommonHeroProps, "heroImg"> & ClassNameProp
8+
export type HomeHeroProps = Pick<CommonHeroProps, "heroImg"> &
9+
ClassNameProp & {
10+
locale: Lang
11+
}
912

10-
const HomeHero = ({ heroImg, className }: HomeHeroProps) => {
11-
const { t } = useTranslation("page-index")
13+
const HomeHero = async ({ heroImg, className, locale }: HomeHeroProps) => {
14+
const t = await getTranslations({ locale, namespace: "page-index" })
1215

1316
return (
1417
<div className={className}>
1518
<div className="h-[240px] md:h-[380px] lg:h-[480px]">
1619
<Image
1720
src={heroImg}
18-
alt={t("page-index:page-index-hero-image-alt")}
21+
alt={t("page-index-hero-image-alt")}
1922
// TODO: adjust value when the old theme breakpoints are removed (src/theme.ts)
2023
sizes="(max-width: 1504px) 100vw, 1504px"
2124
className="h-full w-full object-cover"
@@ -25,9 +28,9 @@ const HomeHero = ({ heroImg, className }: HomeHeroProps) => {
2528
<div className="flex flex-col items-center border-t-[3px] border-primary-low-contrast px-4 py-10 text-center">
2629
<LanguageMorpher />
2730
<div className="flex flex-col items-center gap-y-5 lg:max-w-2xl">
28-
<h1 className="font-black">{t("page-index:page-index-title")}</h1>
31+
<h1 className="font-black">{t("page-index-title")}</h1>
2932
<p className="max-w-96 text-md text-body-medium lg:text-lg">
30-
{t("page-index:page-index-description")}
33+
{t("page-index-description")}
3134
</p>
3235
</div>
3336
</div>

src/data/wallets/wallet-data.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ export const walletsData: WalletData[] = [
308308
],
309309
},
310310
{
311-
last_updated: "2025-02-01",
311+
last_updated: "2025-03-17",
312312
name: "MetaMask",
313313
image: MetaMaskImage,
314314
twBackgroundColor: "bg-[#FFFFFF]",
@@ -362,8 +362,8 @@ export const walletsData: WalletData[] = [
362362
"zh-tw",
363363
],
364364
twitter: "https://x.com/metamask",
365-
discord: "",
366-
reddit: "",
365+
discord: "https://discord.gg/consensys",
366+
reddit: "https://www.reddit.com/r/Metamask",
367367
telegram: "",
368368
ios: true,
369369
android: true,

0 commit comments

Comments
 (0)