Stack leaderboards; add explanation
This commit is contained in:
parent
c1a84e23e0
commit
97f6bddabc
|
@ -7,6 +7,7 @@ import { getTopCreators, getTopTraders, User } from '../lib/firebase/users'
|
|||
import { formatMoney } from '../../common/util/format'
|
||||
import { fromPropz, usePropz } from '../hooks/use-propz'
|
||||
import { Manaboard } from '../components/manaboard'
|
||||
import { Title } from '../components/title'
|
||||
|
||||
export const getStaticProps = fromPropz(getStaticPropz)
|
||||
export async function getStaticPropz() {
|
||||
|
@ -60,6 +61,35 @@ function Leaderboards(props: { topTraders: User[]; topCreators: User[] }) {
|
|||
)
|
||||
}
|
||||
|
||||
function Explanation() {
|
||||
return (
|
||||
<div className="prose mt-8 text-gray-600">
|
||||
<h3 id="how-this-works">How this works</h3>
|
||||
<ol>
|
||||
<li>
|
||||
Every slot has an "assessed value": what the current holder
|
||||
thinks the slot is worth.
|
||||
</li>
|
||||
<li>Slot holders pay a 10% per hour tax to Manafold on the value.</li>
|
||||
<li>
|
||||
At any time, you can buy a leaderboard slot from the current holder
|
||||
for its value.
|
||||
</li>
|
||||
<li>Then, you can reassess it to a new value!</li>
|
||||
</ol>
|
||||
<p>
|
||||
<em>
|
||||
Note: this mechanism is known as a{' '}
|
||||
<a href="https://medium.com/@simondlr/what-is-harberger-tax-where-does-the-blockchain-fit-in-1329046922c6">
|
||||
Harberger Tax
|
||||
</a>
|
||||
!
|
||||
</em>
|
||||
</p>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
export default function Manaboards(props: {
|
||||
topTraders: User[]
|
||||
topCreators: User[]
|
||||
|
@ -71,8 +101,17 @@ export default function Manaboards(props: {
|
|||
const { topTraders, topCreators } = props
|
||||
|
||||
return (
|
||||
<Page margin>
|
||||
<Col className="items-center gap-10 lg:flex-row">
|
||||
<Page margin rightSidebar={<Explanation />}>
|
||||
<Title text={'Leaderboards (FOR SALE!)'} />
|
||||
<div className="prose mb-8 text-gray-600">
|
||||
<p>
|
||||
Manafold Markets is running low on mana, so we're selling our
|
||||
leaderboard slots to make up the deficit. Buy one now for ephemeral
|
||||
glory, and help keep Manafold afloat!
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<Col className="mt-6 items-center gap-10">
|
||||
<Manaboard title="🏅 Top traders" users={topTraders} />
|
||||
<Manaboard title="🏅 Top creators" users={topCreators} />
|
||||
</Col>
|
||||
|
|
Loading…
Reference in New Issue
Block a user