Skip to content

Commit

Permalink
acceleration program label fixs
Browse files Browse the repository at this point in the history
  • Loading branch information
kalidiagne committed Aug 20, 2024
1 parent 525d892 commit 72169aa
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 16 deletions.
20 changes: 10 additions & 10 deletions app/[lang]/programs/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import { useCallback, useEffect, useRef, useState } from "react"
import Image from "next/image"
import Link from "next/link"
import { acceleratorProgramFaq } from "@/data/programs/acceleratorProgramFaq"
import { accelerationProgramFaq } from "@/data/programs/accelerationProgramFaq"
import { coreProgramFaq } from "@/data/programs/coreProgramFaq"
import { ReactNode } from "react-markdown/lib/ast-to-react"
import { twMerge } from "tailwind-merge"
Expand Down Expand Up @@ -92,7 +92,7 @@ const ProgramDetail = ({
)
}

const ProgramSections = ["coreProgram", "acceleratorProgram"] as const
const ProgramSections = ["coreProgram", "accelerationProgram"] as const

export const ProgramPageContent = ({ lang }: any) => {
const { t } = useTranslation(lang, "programs-page")
Expand All @@ -111,8 +111,8 @@ export const ProgramPageContent = ({ lang }: any) => {
t("coreProgram.description", {
returnObjects: true,
}) || []
const acceleratorProgramDescription: any[] =
t("acceleratorProgram.description", {
const accelerationProgramDescription: any[] =
t("accelerationProgram.description", {
returnObjects: true,
}) ?? []

Expand Down Expand Up @@ -347,12 +347,12 @@ export const ProgramPageContent = ({ lang }: any) => {
</div>
<div className="flex w-full flex-col">
<div
id="acceleratorProgram"
data-section="acceleratorProgram"
id="accelerationProgram"
data-section="accelerationProgram"
className="mx-auto flex flex-col py-10 md:max-w-2xl md:py-16"
>
<div className="flex flex-col gap-5">
<SectionTitle label={t("acceleratorProgram.title")} />
<SectionTitle label={t("accelerationProgram.title")} />
<Card className="flex flex-col gap-5">
<ProgramDetail
title={
Expand All @@ -367,7 +367,7 @@ export const ProgramPageContent = ({ lang }: any) => {
/>
<div className="mx-auto">
<Link
href={siteConfig.links.acceleratorProgram}
href={siteConfig.links.accelerationProgram}
target="_blank"
>
<Button className="uppercase">
Expand All @@ -381,7 +381,7 @@ export const ProgramPageContent = ({ lang }: any) => {
</Card>
</div>
<div className="flex flex-col gap-2 pt-8">
{acceleratorProgramDescription?.map((description, index) => {
{accelerationProgramDescription?.map((description, index) => {
return (
<span
key={index}
Expand Down Expand Up @@ -459,7 +459,7 @@ export const ProgramPageContent = ({ lang }: any) => {
<Accordion
className="!border-anakiwa-300"
size="xs"
items={acceleratorProgramFaq.map(
items={accelerationProgramFaq.map(
({ question, answer }, index) => {
return {
label: (
Expand Down
2 changes: 1 addition & 1 deletion app/i18n/locales/en/programs-page.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"By the end of the program, you will gain comprehensive knowledge about Zero Knowledge Proofs (ZKP), Fully Homomorphic Encryption (FHE), and Multiparty Computation (MPC). You will also bolster your GitHub portfolio, and potentially receive grants for further research and contributions!"
]
},
"acceleratorProgram": {
"accelerationProgram": {
"title": "Acceleration program",
"description": [
"Acceleration program supports alumni of our entry level programs (e.g. Core Program, ZK Summer, ZK Playground) to deepen explorations of ZKP, FHE, MPC, and related technologies through grants and mentorship. This program operates on a round-based application system, focusing on specific open tasks for each round."
Expand Down
4 changes: 2 additions & 2 deletions app/i18n/locales/ja/programs-page.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"プログラムの終了までに、ゼロ知識証明 (ZKP)、完全準同型暗号 (FHE)、およびマルチパーティ計算 (MPC) に関する包括的な知識を習得できます。また、GitHubのポートフォリオを強化し、さらなる研究や貢献のための助成金を受け取る可能性もあります。 "
]
},
"acceleratorProgram": {
"accelerationProgram": {
"title": "アクセラレータプログラム",
"description": [
"アクセラレーター・プログラムは、ZKP、FHE、MPC、および関連技術の探求を深めるためのエントリー・レベル・プログラム(コア・プログラム、ZKサマー、ZKプレイグラウンドなど)の修了生を、助成金やメンターシップを通じて支援するものです。このプログラムは、ラウンド・ベースの応募システムで運営され、各ラウンドの特定のオープン・タスクに焦点を当てます。"
Expand All @@ -88,4 +88,4 @@
]
}
}
}
}
2 changes: 1 addition & 1 deletion config/site.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const siteConfig = {
firstGoodIssue: "https://gfi.pse.dev/",
discordAnnouncementChannel:
"https://discord.com/channels/943612659163602974/969614451089227876",
acceleratorProgram:
accelerationProgram:
"https://github.com/privacy-scaling-explorations/acceleration-program",
coreProgram:
"https://docs.google.com/forms/d/e/1FAIpQLSendzYY0z_z7fZ37g3jmydvzS9I7OWKbY2JrqAnyNqeaBHvMQ/viewform",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { Faq } from "@/lib/types"

export const acceleratorProgramFaq: Faq[] = [
export const accelerationProgramFaq: Faq[] = [
{
question: "Who can apply?",
answer:
"The Accelerator program is open to alumni of our entry level programs (e.g. Launch Program, ZK Playground) and other applicants at beginner to intermediate levels with programmable cryptography.",
"The Acceleration program is open to alumni of our entry level programs (e.g. Launch Program, ZK Playground) and other applicants at beginner to intermediate levels with programmable cryptography.",
},
{
question: "What platform does the program use?",
Expand Down

0 comments on commit 72169aa

Please sign in to comment.