|
| 1 | +<script lang="ts"> |
| 2 | + import Group from 'svelte-material-icons/AccountGroup.svelte'; |
| 3 | + import MemberSecret from 'svelte-material-icons/AccountKey.svelte'; |
| 4 | + import FingerPrint from 'svelte-material-icons/Fingerprint.svelte'; |
| 5 | + import OneToMany from 'svelte-material-icons/RelationOneToMany.svelte'; |
| 6 | + import Card from '../Utils/Card.svelte'; |
| 7 | +</script> |
| 8 | + |
| 9 | +<Card> |
| 10 | + <svelte:fragment slot="header">Semaphore Simplified</svelte:fragment> |
| 11 | + <div |
| 12 | + id="explainer" |
| 13 | + class="flex flex-col gap-3" |
| 14 | + > |
| 15 | + <div class="flex flex-col"> |
| 16 | + <figure class="flex flex-row"><OneToMany /></figure> |
| 17 | + <p>I can prove to you that</p> |
| 18 | + </div> |
| 19 | + <div class="flex flex-col"> |
| 20 | + <figure class="flex flex-row"> |
| 21 | + <FingerPrint /> |
| 22 | + <div class="flex flex-row gap-1">(<MemberSecret />)</div> |
| 23 | + </figure> |
| 24 | + <p>I know some secret whose fingerprint</p> |
| 25 | + </div> |
| 26 | + |
| 27 | + <div class="flex flex-col"> |
| 28 | + <figure class="flex flex-row">∈</figure> |
| 29 | + <p>is in</p> |
| 30 | + </div> |
| 31 | + |
| 32 | + <div class="flex flex-col"> |
| 33 | + <figure class="flex flex-row"><Group /></figure> |
| 34 | + <p>Some Group of fingerprints</p> |
| 35 | + </div> |
| 36 | + </div> |
| 37 | + <svelte:fragment slot="footer"> |
| 38 | + <p> |
| 39 | + Semaphore is a zero-knowledge protocol that allows you to cast a signal (for example, a vote |
| 40 | + or endorsement) as a provable group member without revealing your identity. Additionally, it |
| 41 | + provides a simple mechanism to prevent double-signaling. Use cases include private voting, |
| 42 | + whistleblowing, anonymous DAOs and mixers. |
| 43 | + </p> |
| 44 | + <p class="my-3"> |
| 45 | + Read more about <a |
| 46 | + class="anchor" |
| 47 | + href="https://semaphore.pse.dev/docs/introduction">Semaphore</a |
| 48 | + >. |
| 49 | + </p> |
| 50 | + </svelte:fragment> |
| 51 | +</Card> |
| 52 | + |
| 53 | +<style> |
| 54 | + div { |
| 55 | + @apply place-items-center; |
| 56 | + } |
| 57 | +
|
| 58 | + #explainer figure { |
| 59 | + @apply place-items-center; |
| 60 | + @apply text-2xl; |
| 61 | + } |
| 62 | + #explainer p { |
| 63 | + @apply text-center; |
| 64 | + @apply italic; |
| 65 | + @apply uppercase; |
| 66 | + } |
| 67 | +</style> |
0 commit comments