f377e07996
Co-authored-by: Matthew Russell <mattrussell36@gmail.com>
67 lines
1.9 KiB
TypeScript
67 lines
1.9 KiB
TypeScript
import { useT } from '../../lib/use-t';
|
|
import { Table } from './table';
|
|
|
|
export const HowItWorksTable = () => {
|
|
const t = useT();
|
|
return (
|
|
<Table
|
|
className="bg-none bg-vega-clight-800 dark:bg-vega-cdark-800"
|
|
noHeader
|
|
noCollapse
|
|
columns={[{ name: 'number', className: 'pr-0' }, { name: 'step' }]}
|
|
data={[
|
|
{
|
|
number: (
|
|
<span className="text-2xl calt text-vega-clight-100 dark:text-vega-cdark-100">
|
|
1
|
|
</span>
|
|
),
|
|
step: t(
|
|
'Referrers generate a code assigned to their key via an on chain transaction'
|
|
),
|
|
},
|
|
{
|
|
number: (
|
|
<span className="text-2xl calt text-vega-clight-100 dark:text-vega-cdark-100">
|
|
2
|
|
</span>
|
|
),
|
|
step: t(
|
|
'Anyone with the referral link can apply it to their key(s) of choice via an on chain transaction'
|
|
),
|
|
},
|
|
{
|
|
number: (
|
|
<span className="text-2xl calt text-vega-clight-100 dark:text-vega-cdark-100">
|
|
3
|
|
</span>
|
|
),
|
|
step: t(
|
|
'Discounts are applied automatically during trading based on the key(s) used'
|
|
),
|
|
},
|
|
{
|
|
number: (
|
|
<span className="text-2xl calt text-vega-clight-100 dark:text-vega-cdark-100">
|
|
4
|
|
</span>
|
|
),
|
|
step: t(
|
|
'Referrers earn commission based on a percentage of the taker fees their referees pay'
|
|
),
|
|
},
|
|
{
|
|
number: (
|
|
<span className="text-2xl calt text-vega-clight-100 dark:text-vega-cdark-100">
|
|
5
|
|
</span>
|
|
),
|
|
step: t(
|
|
'The commission is taken from the infrastructure fee, maker fee, and liquidity provider fee, not from the referee'
|
|
),
|
|
},
|
|
]}
|
|
></Table>
|
|
);
|
|
};
|