diff --git a/app/[lang]/blog/[slug]/page.tsx b/app/[lang]/blog/[slug]/page.tsx index e5bb4f8..ffa8ead 100644 --- a/app/[lang]/blog/[slug]/page.tsx +++ b/app/[lang]/blog/[slug]/page.tsx @@ -1,3 +1,4 @@ +import { blogArticleCardTagCardVariants } from "@/components/blog/blog-article-card" import { BlogContent } from "@/components/blog/blog-content" import { AppContent } from "@/components/ui/app-content" import { Label } from "@/components/ui/label" @@ -33,7 +34,24 @@ export default function BlogArticle({ params }: any) {
- {post?.tldr && {post?.tldr}} + {post?.date || post?.tldr ? ( +
+ {post?.date && ( +
+ {new Date(post?.date).toLocaleDateString("en-US", { + month: "long", + day: "numeric", + year: "numeric", + })} +
+ )} + {post?.tldr && {post?.tldr}} +
+ ) : null}
diff --git a/articles/a-technical-introduction-to-arbitrums-optimistic-rollup.md b/articles/a-technical-introduction-to-arbitrums-optimistic-rollup.md index 7275f06..f75e0e9 100644 --- a/articles/a-technical-introduction-to-arbitrums-optimistic-rollup.md +++ b/articles/a-technical-introduction-to-arbitrums-optimistic-rollup.md @@ -1,7 +1,7 @@ --- authors: ["PSE Team"] title: "A Technical Introduction to Arbitrum's Optimistic Rollup" -image: "cover.webp" +image: null tldr: "Originally published on Sep 30, 2021" date: "2022-08-29" --- diff --git a/articles/announcing-anon-aadhaar.md b/articles/announcing-anon-aadhaar.md index b393368..f388900 100644 --- a/articles/announcing-anon-aadhaar.md +++ b/articles/announcing-anon-aadhaar.md @@ -1,7 +1,7 @@ --- -authors: [""] +authors: ["Anon Aadhaar team"] title: "Announcing Anon Aadhaar" -image: "cover.png" -tldr: "" +image: "cover.webp" +tldr: "_This post was written by the Anon Aadhaar team._" date: "2023-09-21" --- diff --git a/articles/beyond-zero-knowledge-whats-next-in-programmable-cryptography.md b/articles/beyond-zero-knowledge-whats-next-in-programmable-cryptography.md index a9ae055..7f71b71 100644 --- a/articles/beyond-zero-knowledge-whats-next-in-programmable-cryptography.md +++ b/articles/beyond-zero-knowledge-whats-next-in-programmable-cryptography.md @@ -1,5 +1,5 @@ --- -authors: [""] +authors: ["kichong"] title: "Beyond Zero-Knowledge: What's Next in Programmable Cryptography?" image: "cover.webp" tldr: "_This post was written by [kichong](https://twitter.com/kichongtran) with helpful feedback and comments from [sinu](https://twitter.com/sinu_eth) and [jmall](https://twitter.com/Janmajaya_mall)._" diff --git a/articles/continuing-the-zero-gravity-journey.md b/articles/continuing-the-zero-gravity-journey.md index 21497bc..03f0f9f 100644 --- a/articles/continuing-the-zero-gravity-journey.md +++ b/articles/continuing-the-zero-gravity-journey.md @@ -1,5 +1,5 @@ --- -authors: [""] +authors: ["George Wiese"] title: "Continuing the Zero Gravity Journey" image: "cover.webp" tldr: "_This post was written by [George Wiese](https://github.com/georgwiese) and [Artem Grigor](https://github.com/ElusAegis). After Zero Gravity's 1st place finish at [ZK Hack Lisbon in April](https://zkhack.dev/2023/07/11/zk-hack-lisbon/), PSE recognized the potential of the Zero Gravity project and provided a grant for further research in the ZKML area._" diff --git a/articles/interep-on-ramp-for-reputaion.md b/articles/interep-on-ramp-for-reputaion.md new file mode 100644 index 0000000..106680e --- /dev/null +++ b/articles/interep-on-ramp-for-reputaion.md @@ -0,0 +1,7 @@ +--- +authors: [] +title: "Interep: An on-ramp for reputation" +image: null +tldr: "" +date: "2022-09-13" +--- diff --git a/articles/meet-coco-privacy-scaling-explorations.md b/articles/meet-coco-privacy-scaling-explorations.md index cacac13..50dc3a7 100644 --- a/articles/meet-coco-privacy-scaling-explorations.md +++ b/articles/meet-coco-privacy-scaling-explorations.md @@ -1,7 +1,7 @@ --- authors: ["PSE Team"] title: "Meet COCO! - Privacy & Scaling Explorations" -image: "cover.webp" +image: null tldr: "Originally published on Jan 27, 2022" date: "2022-08-29" --- diff --git a/articles/release-announcement-maci-10-privacy-scaling-explorations.md b/articles/release-announcement-maci-10-privacy-scaling-explorations.md index 38dc2ca..1d53cae 100644 --- a/articles/release-announcement-maci-10-privacy-scaling-explorations.md +++ b/articles/release-announcement-maci-10-privacy-scaling-explorations.md @@ -1,7 +1,7 @@ --- authors: ["PSE Team"] title: "Release Announcement: MACI 1.0 - Privacy & Scaling Explorations" -image: "cover.webp" +image: null tldr: "Originally published on Oct 12, 2021" date: "2022-08-29" --- diff --git a/articles/semaphore-community-grants.md b/articles/semaphore-community-grants.md new file mode 100644 index 0000000..a2acf17 --- /dev/null +++ b/articles/semaphore-community-grants.md @@ -0,0 +1,11 @@ +--- +authors: ["PSE Team"] +title: "Semaphore Community Grants" +image: "cover.webp" +tldr: "The [Privacy and Scaling Explorations Team](https://appliedzkp.org/) is sponsoring a dedicated round of grants for applications that integrate the [Semaphore](https://semaphore.appliedzkp.org/) anonymous signaling protocol. Semaphore provides zero-knowledge primitives that enable developers to build powerful privacy preserving applications. With this grant round, we’re encouraging builders to try out these tools in real-world applications that matter to your communities." +date: "2022-09-21" +--- + +# Semaphore Community Grants: Awarded Projects + +This post was authored by the PSE Team. diff --git a/articles/unirep-a-private-and-non-repudiable-reputation-system.md b/articles/unirep-a-private-and-non-repudiable-reputation-system.md index aa309ee..ca26200 100644 --- a/articles/unirep-a-private-and-non-repudiable-reputation-system.md +++ b/articles/unirep-a-private-and-non-repudiable-reputation-system.md @@ -1,7 +1,7 @@ --- authors: ["PSE Team"] title: "Unirep: A private and non-repudiable reputation system" -image: "cover.webp" +image: null tldr: "Originally published on Aug 26, 2021" date: "2022-08-29" --- diff --git a/articles/unirep-ceremony-an-invitation-to-the-celestial-call-and-unirep-v2.md b/articles/unirep-ceremony-an-invitation-to-the-celestial-call-and-unirep-v2.md index 57f6aa0..b16e817 100644 --- a/articles/unirep-ceremony-an-invitation-to-the-celestial-call-and-unirep-v2.md +++ b/articles/unirep-ceremony-an-invitation-to-the-celestial-call-and-unirep-v2.md @@ -1,5 +1,5 @@ --- -authors: [""] +authors: ["Chance"] title: "UniRep Ceremony: An Invitation to the Celestial Call and UniRep v2" image: "cover.webp" tldr: "The initial ideas for this blog post originated from UniRep core contributor [Chance](https://github.com/vimwitch). Additional write up and review by [CJ](https://github.com/CJ-Rose), [Chiali](https://github.com/ChialiT), [Vivian](https://github.com/vivianjeng), [Doris](https://github.com/kittybest), and [Anthony](https://github.com/AnthonyMadia)." diff --git a/articles/zero-to-start-applied-fully-homomorphic-encryption-fhe-part-2.md b/articles/zero-to-start-applied-fully-homomorphic-encryption-fhe-part-2.md index 030699a..f4abc18 100644 --- a/articles/zero-to-start-applied-fully-homomorphic-encryption-fhe-part-2.md +++ b/articles/zero-to-start-applied-fully-homomorphic-encryption-fhe-part-2.md @@ -1,5 +1,5 @@ --- -authors: [""] +authors: ["0xZoey"] title: "Zero to Start: Applied Fully Homomorphic Encryption (FHE) Part 2" image: "cover.webp" tldr: "This post was written by [0xZoey](https://twitter.com/0xZoey). Special thanks to [Janmajaya](https://twitter.com/Janmajaya_mall), [Enrico](https://twitter.com/backaes?lang=en), and [Owen](https://twitter.com/omurovec) who generously gave their time and expertise to review this piece. Your valuable contributions and feedback have greatly enhanced the quality and depth of this work." diff --git a/components/blog/blog-article-card.tsx b/components/blog/blog-article-card.tsx index 42b185f..2d586e8 100644 --- a/components/blog/blog-article-card.tsx +++ b/components/blog/blog-article-card.tsx @@ -1,8 +1,9 @@ import { Article } from "@/lib/blog" +import { cn } from "@/lib/utils" import { cva } from "class-variance-authority" import Image from "next/image" -const tagCardVariants = cva( +export const blogArticleCardTagCardVariants = cva( "text-xs font-sans text-tuatara-950 rounded-[3px] py-[2px] px-[6px] w-fit shrink-[0]", { variants: { @@ -25,7 +26,7 @@ export const BlogArticleCard = ({ return (
- {image && ( + {!!image && ( {title} )} {date && ( -
+
{new Date(date).toLocaleDateString("en-US", { month: "long", day: "numeric", diff --git a/missing.md b/missing.md new file mode 100644 index 0000000..ca96bbb --- /dev/null +++ b/missing.md @@ -0,0 +1,6 @@ +beyond-zero-knowledge-whats-next-in-programmable-cryptography,https://images.mirror-media.xyz/publication-images/hzjlPmWyhXIc6YZk1qt9j.png?height=1247&width=2494 +unirep-ceremony-an-invitation-to-the-celestial-call-and-unirep-v2,https://images.mirror-media.xyz/publication-images/Pvl5-iAs8GGcgSpTIregq.png?height=1247&width=2494 +continuing-the-zero-gravity-journey,https://images.mirror-media.xyz/publication-images/jxmdf_dkKKY-DlFjl8Jhg.png?height=997&width=1994 +announcing-anon-aadhaar,https://images.mirror-media.xyz/publication-images/89-MGl3qaY_xetuHaMSUp.png?height=1248&width=2496 +rate-limiting-nullifier-rln,https://images.mirror-media.xyz/publication-images/yLZ9NYEcqiX5FaR6YJxNH.png?height=1247&width=2494 +the-zk-ecdsa-landscape,https://images.mirror-media.xyz/publication-images/VS1sf7LaMrnrhf5jVVwKe.png?height=1247&width=2494 diff --git a/public/articles/announcing-anon-aadhaar/cover.webp b/public/articles/announcing-anon-aadhaar/cover.webp new file mode 100644 index 0000000..d77ff20 Binary files /dev/null and b/public/articles/announcing-anon-aadhaar/cover.webp differ diff --git a/public/articles/announcing-maci-v111/cover.webp b/public/articles/announcing-maci-v111/cover.webp deleted file mode 100644 index bdabe5d..0000000 Binary files a/public/articles/announcing-maci-v111/cover.webp and /dev/null differ diff --git a/public/articles/release-announcement-maci-10-privacy-scaling-explorations/cover.webp b/public/articles/beyond-zero-knowledge-whats-next-in-programmable-cryptography/cover.webp similarity index 100% rename from public/articles/release-announcement-maci-10-privacy-scaling-explorations/cover.webp rename to public/articles/beyond-zero-knowledge-whats-next-in-programmable-cryptography/cover.webp diff --git a/public/articles/continuing-the-zero-gravity-journey/cover.webp b/public/articles/continuing-the-zero-gravity-journey/cover.webp new file mode 100644 index 0000000..27c417c Binary files /dev/null and b/public/articles/continuing-the-zero-gravity-journey/cover.webp differ diff --git a/public/articles/semaphore-community-grants-awarded-projects/cover.webp b/public/articles/semaphore-community-grants-awarded-projects/cover.webp new file mode 100644 index 0000000..167a2c3 Binary files /dev/null and b/public/articles/semaphore-community-grants-awarded-projects/cover.webp differ diff --git a/public/articles/semaphore-community-grants/cover.webp b/public/articles/semaphore-community-grants/cover.webp new file mode 100644 index 0000000..3116593 Binary files /dev/null and b/public/articles/semaphore-community-grants/cover.webp differ diff --git a/public/articles/the-zk-ecdsa-landscape/cover.webp b/public/articles/the-zk-ecdsa-landscape/cover.webp index 03869db..d50e20a 100644 Binary files a/public/articles/the-zk-ecdsa-landscape/cover.webp and b/public/articles/the-zk-ecdsa-landscape/cover.webp differ diff --git a/public/articles/unirep-ceremony-an-invitation-to-the-celestial-call-and-unirep-v2/cover.webp b/public/articles/unirep-ceremony-an-invitation-to-the-celestial-call-and-unirep-v2/cover.webp new file mode 100644 index 0000000..b6d8ef5 Binary files /dev/null and b/public/articles/unirep-ceremony-an-invitation-to-the-celestial-call-and-unirep-v2/cover.webp differ