Skip to content

Commit 5af20e7

Browse files
committed
ran prettier
1 parent 3a69bbf commit 5af20e7

File tree

4 files changed

+192
-184
lines changed

4 files changed

+192
-184
lines changed

components/AllocationTable.tsx

Lines changed: 163 additions & 165 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import React, { ReactNode } from "react";
22

3-
43
interface HeaderCellProps {
54
children: ReactNode;
65
}
@@ -56,7 +55,6 @@ const TotalRow = ({ children }: TotalRowProps) => (
5655
</tr>
5756
);
5857

59-
6058
export default function AllocationTable() {
6159
return (
6260
<div className="overflow-x-auto m-5">
@@ -76,169 +74,169 @@ export default function AllocationTable() {
7674
<HeaderCell>Total Tokens Allocated</HeaderCell>
7775
</Row>
7876
</thead>
79-
<tbody>
80-
<Row isEven={false}>
81-
<Cell>Contributors</Cell>
82-
<Cell>Webb (Developer)</Cell>
83-
<Cell>28.56500%</Cell>
84-
<Cell>A-Vesting</Cell>
85-
<Cell>12</Cell>
86-
<Cell>24</Cell>
87-
<Cell>0%</Cell>
88-
<Cell>0.00</Cell>
89-
<Cell>14,282,500.00</Cell>
90-
<Cell>2,380,416.67</Cell>
91-
<Cell>28,565,000.00</Cell>
92-
</Row>
93-
<Row isEven={true}>
94-
<Cell>Contributors</Cell>
95-
<Cell>Investors</Cell>
96-
<Cell>13.64000%</Cell>
97-
<Cell>A-Vesting</Cell>
98-
<Cell>12</Cell>
99-
<Cell>24</Cell>
100-
<Cell>0%</Cell>
101-
<Cell>0.00</Cell>
102-
<Cell>6,820,000.00</Cell>
103-
<Cell>1,136,666.67</Cell>
104-
<Cell>13,640,000.00</Cell>
105-
</Row>
106-
<Row isEven={false}>
107-
<Cell>Contributors</Cell>
108-
<Cell>Indiv. Contributors</Cell>
109-
<Cell>1.43500%</Cell>
110-
<Cell>A-Vesting</Cell>
111-
<Cell>12</Cell>
112-
<Cell>24</Cell>
113-
<Cell>0%</Cell>
114-
<Cell>0.00</Cell>
115-
<Cell>717,500.00</Cell>
116-
<Cell>119,583.33</Cell>
117-
<Cell>1,435,000.00</Cell>
118-
</Row>
119-
<SubtotalRow>
120-
<Cell col-Span={2}>
121-
<strong>Contributors Total</strong>
122-
</Cell>
123-
<Cell>43.64000%</Cell>
124-
<td colSpan={4}></td>
125-
<Cell>0.00</Cell>
126-
<Cell>21,820,000.00</Cell>
127-
<td colSpan={1}></td>
128-
<Cell>43,640,000.00</Cell>
129-
</SubtotalRow>
130-
<Row isEven={true}>
131-
<Cell>Governance-Managed</Cell>
132-
<Cell>On-chain Treasury</Cell>
133-
<Cell>36.36000%</Cell>
134-
<Cell>n/a</Cell>
135-
<Cell>n/a</Cell>
136-
<Cell>n/a</Cell>
137-
<Cell>100%</Cell>
138-
<Cell>n/a</Cell>
139-
<Cell>n/a</Cell>
140-
<Cell>n/a</Cell>
141-
<Cell>36,360,000.00</Cell>
142-
</Row>
143-
<Row isEven={false}>
144-
<Cell>Governance-Managed</Cell>
145-
<Cell>Foundation</Cell>
146-
<Cell>15.00000%</Cell>
147-
<Cell>A-Vesting</Cell>
148-
<Cell>12</Cell>
149-
<Cell>24</Cell>
150-
<Cell>5%</Cell>
151-
<Cell>750,000.00</Cell>
152-
<Cell>593,750.00</Cell>
153-
<Cell>619,565.22</Cell>
154-
<Cell>15,000,000.00</Cell>
155-
</Row>
156-
<SubtotalRow>
157-
<Cell col-Span={2}>
158-
<strong>Governance-Managed Total</strong>
159-
</Cell>
160-
<Cell>51.36000%</Cell>
161-
<td colSpan={4}></td>
162-
<Cell>750,000.00</Cell>
163-
<Cell>593,750.00</Cell>
164-
<td colSpan={1}></td>
165-
<Cell>51,360,000.00</Cell>
166-
</SubtotalRow>
167-
<Row isEven={true}>
168-
<Cell>Airdrop Pool</Cell>
169-
<Cell>Leaderboard Participants</Cell>
170-
<Cell>2.00000%</Cell>
171-
<Cell>B-Vesting</Cell>
172-
<Cell>1</Cell>
173-
<Cell>24</Cell>
174-
<Cell>5%</Cell>
175-
<Cell>100,000.00</Cell>
176-
<Cell>79,166.67</Cell>
177-
<Cell>82,608.70</Cell>
178-
<Cell>2,000,000.00</Cell>
179-
</Row>
180-
<Row isEven={false}>
181-
<Cell>Airdrop Pool</Cell>
182-
<Cell>DOT Validators Snapshot</Cell>
183-
<Cell>1.00000%</Cell>
184-
<Cell>B-Vesting</Cell>
185-
<Cell>1</Cell>
186-
<Cell>24</Cell>
187-
<Cell>5%</Cell>
188-
<Cell>50,000.00</Cell>
189-
<Cell>39,583.33</Cell>
190-
<Cell>41,304.35</Cell>
191-
<Cell>1,000,000.00</Cell>
192-
</Row>
193-
<Row isEven={true}>
194-
<Cell>Airdrop Pool</Cell>
195-
<Cell>EDG Genesis Participants</Cell>
196-
<Cell>1.00000%</Cell>
197-
<Cell>B-Vesting</Cell>
198-
<Cell>1</Cell>
199-
<Cell>24</Cell>
200-
<Cell>5%</Cell>
201-
<Cell>50,000.00</Cell>
202-
<Cell>39,583.33</Cell>
203-
<Cell>41,304.35</Cell>
204-
<Cell>1,000,000.00</Cell>
205-
</Row>
206-
<Row isEven={false}>
207-
<Cell>Airdrop Pool</Cell>
208-
<Cell>EDG 2023 Snapshot</Cell>
209-
<Cell>1.00000%</Cell>
210-
<Cell>B-Vesting</Cell>
211-
<Cell>1</Cell>
212-
<Cell>24</Cell>
213-
<Cell>5%</Cell>
214-
<Cell>50,000.00</Cell>
215-
<Cell>39,583.33</Cell>
216-
<Cell>41,304.35</Cell>
217-
<Cell>1,000,000.00</Cell>
218-
</Row>
219-
<SubtotalRow>
220-
<Cell col-Span={2}>
221-
<strong>Airdrop Pools Subtotal</strong>
222-
</Cell>
223-
<Cell>5.00000%</Cell>
224-
<td colSpan={4}></td>
225-
<Cell>250,000.00</Cell>
226-
<Cell>197,916.67</Cell>
227-
<Cell>206,521.74</Cell>
228-
<Cell>5,000,000.00</Cell>
229-
</SubtotalRow>
230-
<TotalRow>
231-
<Cell col-Span={2}>
232-
<strong>Total Supply</strong>
233-
</Cell>
234-
<Cell>100.00000%</Cell>
235-
<td colSpan={4}></td>
236-
<Cell>1,000,000.00</Cell>
237-
<td colSpan={2}></td>
238-
<Cell>100,000,000.00</Cell>
239-
</TotalRow>
240-
</tbody>
77+
<tbody>
78+
<Row isEven={false}>
79+
<Cell>Contributors</Cell>
80+
<Cell>Webb (Developer)</Cell>
81+
<Cell>28.56500%</Cell>
82+
<Cell>A-Vesting</Cell>
83+
<Cell>12</Cell>
84+
<Cell>24</Cell>
85+
<Cell>0%</Cell>
86+
<Cell>0.00</Cell>
87+
<Cell>14,282,500.00</Cell>
88+
<Cell>2,380,416.67</Cell>
89+
<Cell>28,565,000.00</Cell>
90+
</Row>
91+
<Row isEven={true}>
92+
<Cell>Contributors</Cell>
93+
<Cell>Investors</Cell>
94+
<Cell>13.64000%</Cell>
95+
<Cell>A-Vesting</Cell>
96+
<Cell>12</Cell>
97+
<Cell>24</Cell>
98+
<Cell>0%</Cell>
99+
<Cell>0.00</Cell>
100+
<Cell>6,820,000.00</Cell>
101+
<Cell>1,136,666.67</Cell>
102+
<Cell>13,640,000.00</Cell>
103+
</Row>
104+
<Row isEven={false}>
105+
<Cell>Contributors</Cell>
106+
<Cell>Indiv. Contributors</Cell>
107+
<Cell>1.43500%</Cell>
108+
<Cell>A-Vesting</Cell>
109+
<Cell>12</Cell>
110+
<Cell>24</Cell>
111+
<Cell>0%</Cell>
112+
<Cell>0.00</Cell>
113+
<Cell>717,500.00</Cell>
114+
<Cell>119,583.33</Cell>
115+
<Cell>1,435,000.00</Cell>
116+
</Row>
117+
<SubtotalRow>
118+
<Cell col-Span={2}>
119+
<strong>Contributors Total</strong>
120+
</Cell>
121+
<Cell>43.64000%</Cell>
122+
<td colSpan={4}></td>
123+
<Cell>0.00</Cell>
124+
<Cell>21,820,000.00</Cell>
125+
<td colSpan={1}></td>
126+
<Cell>43,640,000.00</Cell>
127+
</SubtotalRow>
128+
<Row isEven={true}>
129+
<Cell>Governance-Managed</Cell>
130+
<Cell>On-chain Treasury</Cell>
131+
<Cell>36.36000%</Cell>
132+
<Cell>n/a</Cell>
133+
<Cell>n/a</Cell>
134+
<Cell>n/a</Cell>
135+
<Cell>100%</Cell>
136+
<Cell>n/a</Cell>
137+
<Cell>n/a</Cell>
138+
<Cell>n/a</Cell>
139+
<Cell>36,360,000.00</Cell>
140+
</Row>
141+
<Row isEven={false}>
142+
<Cell>Governance-Managed</Cell>
143+
<Cell>Foundation</Cell>
144+
<Cell>15.00000%</Cell>
145+
<Cell>A-Vesting</Cell>
146+
<Cell>12</Cell>
147+
<Cell>24</Cell>
148+
<Cell>5%</Cell>
149+
<Cell>750,000.00</Cell>
150+
<Cell>593,750.00</Cell>
151+
<Cell>619,565.22</Cell>
152+
<Cell>15,000,000.00</Cell>
153+
</Row>
154+
<SubtotalRow>
155+
<Cell col-Span={2}>
156+
<strong>Governance-Managed Total</strong>
157+
</Cell>
158+
<Cell>51.36000%</Cell>
159+
<td colSpan={4}></td>
160+
<Cell>750,000.00</Cell>
161+
<Cell>593,750.00</Cell>
162+
<td colSpan={1}></td>
163+
<Cell>51,360,000.00</Cell>
164+
</SubtotalRow>
165+
<Row isEven={true}>
166+
<Cell>Airdrop Pool</Cell>
167+
<Cell>Leaderboard Participants</Cell>
168+
<Cell>2.00000%</Cell>
169+
<Cell>B-Vesting</Cell>
170+
<Cell>1</Cell>
171+
<Cell>24</Cell>
172+
<Cell>5%</Cell>
173+
<Cell>100,000.00</Cell>
174+
<Cell>79,166.67</Cell>
175+
<Cell>82,608.70</Cell>
176+
<Cell>2,000,000.00</Cell>
177+
</Row>
178+
<Row isEven={false}>
179+
<Cell>Airdrop Pool</Cell>
180+
<Cell>DOT Validators Snapshot</Cell>
181+
<Cell>1.00000%</Cell>
182+
<Cell>B-Vesting</Cell>
183+
<Cell>1</Cell>
184+
<Cell>24</Cell>
185+
<Cell>5%</Cell>
186+
<Cell>50,000.00</Cell>
187+
<Cell>39,583.33</Cell>
188+
<Cell>41,304.35</Cell>
189+
<Cell>1,000,000.00</Cell>
190+
</Row>
191+
<Row isEven={true}>
192+
<Cell>Airdrop Pool</Cell>
193+
<Cell>EDG Genesis Participants</Cell>
194+
<Cell>1.00000%</Cell>
195+
<Cell>B-Vesting</Cell>
196+
<Cell>1</Cell>
197+
<Cell>24</Cell>
198+
<Cell>5%</Cell>
199+
<Cell>50,000.00</Cell>
200+
<Cell>39,583.33</Cell>
201+
<Cell>41,304.35</Cell>
202+
<Cell>1,000,000.00</Cell>
203+
</Row>
204+
<Row isEven={false}>
205+
<Cell>Airdrop Pool</Cell>
206+
<Cell>EDG 2023 Snapshot</Cell>
207+
<Cell>1.00000%</Cell>
208+
<Cell>B-Vesting</Cell>
209+
<Cell>1</Cell>
210+
<Cell>24</Cell>
211+
<Cell>5%</Cell>
212+
<Cell>50,000.00</Cell>
213+
<Cell>39,583.33</Cell>
214+
<Cell>41,304.35</Cell>
215+
<Cell>1,000,000.00</Cell>
216+
</Row>
217+
<SubtotalRow>
218+
<Cell col-Span={2}>
219+
<strong>Airdrop Pools Subtotal</strong>
220+
</Cell>
221+
<Cell>5.00000%</Cell>
222+
<td colSpan={4}></td>
223+
<Cell>250,000.00</Cell>
224+
<Cell>197,916.67</Cell>
225+
<Cell>206,521.74</Cell>
226+
<Cell>5,000,000.00</Cell>
227+
</SubtotalRow>
228+
<TotalRow>
229+
<Cell col-Span={2}>
230+
<strong>Total Supply</strong>
231+
</Cell>
232+
<Cell>100.00000%</Cell>
233+
<td colSpan={4}></td>
234+
<Cell>1,000,000.00</Cell>
235+
<td colSpan={2}></td>
236+
<Cell>100,000,000.00</Cell>
237+
</TotalRow>
238+
</tbody>
241239
</table>
242240
</div>
243241
);
244-
}
242+
}

components/NetworkConfig.tsx

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ const NetworkTabs = () => {
211211
<tbody>
212212
{(items as any[]).map((item, index) => (
213213
<tr
214-
className={`${index % 2 === 0 ? 'bg-gray-50 dark:bg-gray-700' : ''} border-b`}
214+
className={`${index % 2 === 0 ? "bg-gray-50 dark:bg-gray-700" : ""} border-b`}
215215
key={index}
216216
>
217217
<td className="px-4 py-2 whitespace-nowrap bg-slate-100 dark:bg-gray-600 border border-gray-300 dark:border-gray-700">
@@ -247,7 +247,9 @@ const NetworkTabs = () => {
247247
Mainnet
248248
</a>
249249
</li>
250-
<li className="inline-flex text-xl items-center justify-center pt-8 px-4 border-b-2 border-transparent rounded-t-lg group"> <a
250+
<li className="inline-flex text-xl items-center justify-center pt-8 px-4 border-b-2 border-transparent rounded-t-lg group">
251+
{" "}
252+
<a
251253
href="#"
252254
onClick={() => handleTabClick("testnet")}
253255
className={`inline-block p-4 rounded-t-lg ${
@@ -260,7 +262,9 @@ const NetworkTabs = () => {
260262
Testnet
261263
</a>
262264
</li>
263-
<li className="inline-flex text-xl items-center justify-center pt-8 px-4 border-b-2 border-transparent rounded-t-lg group"> <a
265+
<li className="inline-flex text-xl items-center justify-center pt-8 px-4 border-b-2 border-transparent rounded-t-lg group">
266+
{" "}
267+
<a
264268
href="#"
265269
onClick={() => handleTabClick("wallets")}
266270
className={`inline-block p-4 rounded-t-lg ${
@@ -286,4 +290,4 @@ const NetworkTabs = () => {
286290
);
287291
};
288292

289-
export default NetworkTabs;
293+
export default NetworkTabs;

0 commit comments

Comments
 (0)