Skip to content

Commit d71e6eb

Browse files
committed
Update draft.
1 parent 5b48dfe commit d71e6eb

File tree

3 files changed

+85
-86
lines changed

3 files changed

+85
-86
lines changed

src/components/Board.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ class Board extends React.Component {
147147
)}
148148
</div>
149149
<div>
150-
<div id="app-teams" className={`grid gap-4 grid-cols-6 mb-4`}>
150+
<div id="app-teams" className={`grid gap-4 grid-cols-4 mb-4`}>
151151
{captainTeams.map((team, index) => (
152152
<DroppablePlayerList
153153
key={team.id}
@@ -160,7 +160,7 @@ class Board extends React.Component {
160160

161161
<div
162162
id="app-playerpool"
163-
className="p-4 bg-black/80 rounded-xl grid grid-cols-6"
163+
className="p-4 bg-black/80 rounded-xl grid grid-cols-7 border border-sky-500"
164164
>
165165
{playerPoolTeams.map((team) => (
166166
<DroppablePlayerList

src/data.js

Lines changed: 77 additions & 83 deletions
Original file line numberDiff line numberDiff line change
@@ -1,97 +1,91 @@
11
export const pickOrder = [
2-
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12,
3-
10, 11, 12, 9, 8, 7, 6, 5, 4, 3, 2, 1,
4-
5, 3, 4, 6, 7, 2, 1, 12, 11, 8, 9, 10,
5-
1, 2, 8, 9, 10, 12, 11, 4, 3, 7, 6, 5
2+
1, 2, 3, 4, 5, 6, 7,
3+
5, 6, 7, 4, 3, 2, 1,
4+
2, 1, 3, 4, 7, 6, 5,
5+
1, 6, 7, 5, 4, 3, 2,
66
].map((n) => n - 1);
77

88
const captains = [
9-
["Maks", "PL"],
10-
["Tom", "PL"],
11-
["sae", "GB"],
12-
["Xunito", "BR"],
13-
["Thunder", "PL"],
14-
["IRN", "PL"],
15-
["TiMMi", "NO"],
16-
["niw", "DK"],
17-
["andeh", "SE"],
18-
["TheChosenOne", "NO"],
19-
["gamer", "FI"],
20-
["Milton", "FI"],
9+
["Creature", "FI"],
10+
["Gosciu", "PL"],
11+
["Andeh", "SE"],
12+
["Zero", "HU"],
13+
["ParadokS", "DK"],
14+
["Razor", "SE"],
15+
["Milton", "FI"],
2116
];
2217

2318
const player_pool = [
24-
["AHemlocksLie", "US"],
25-
["Anza", "FI"],
26-
["Dragon", "PL"],
27-
["Ekz", "SE"],
28-
["Flamer", "CZ"],
29-
["Hammer", "PT"],
30-
["HangTime", "GB"],
31-
["Hooraytio", "SE"],
32-
["Link", "NO"],
33-
["MxCraven", "GB"],
34-
["Nexus", "FI"],
35-
["Ocoini", "NO"],
36-
["Peppe", "SE"],
37-
["PreMorteM", "NO"],
38-
["Riki", "PL"],
39-
["SS", "RU"],
40-
["Slaughter", "FI"],
41-
["Tumult", "SE"],
42-
["alice", "SE"],
43-
["anni", "DE"],
44-
["badsebi", "PL"],
45-
["bjarkeSTAR", "DK"],
46-
["coj", "US"],
47-
["cor (lord noob)", "PL"],
48-
["dobeZz", "GB"],
49-
["eh", "FI"],
50-
["fix", "FI"],
51-
["floc", "DE"],
52-
["fluartity", "PL"],
53-
["gLAd", "RU"],
54-
["gore", "GB"],
55-
["gosciu", "PL"],
56-
["grc", "SE"],
57-
["himmu", "FI"],
58-
["jOn", "SE"],
59-
["kane", "CZ"],
60-
["kwon", "DE"],
61-
["lurq", "SE"],
62-
["mushi", "PT"],
63-
["neophyte", "HU"],
64-
["paniagua", "FI"],
65-
["pixols", "GB"],
66-
["plast", "PL"],
67-
["pharm ", "US"],
68-
["rat", "FI"],
69-
["rghst", "DE"],
70-
["robin", "NO"],
71-
["rokky", "SE"],
72-
["rotker", "PL"],
73-
["rusti", "FI"],
74-
["s4vo", "PL"],
75-
["samon", "PL"],
76-
["sham", "PL"],
77-
["tr0ll", "NO"],
78-
["tuhmapoika", "FI"],
79-
["viag", "CA"],
19+
["AHemlocksLie", "US"],
20+
["alice", "SE"],
21+
["anni", "DE"],
22+
["Anza", "FI"],
23+
["badsebi", "PL"],
24+
["bjarkeSTAR", "DK"],
25+
["coj", "US"],
26+
["cor (lord noob)", "PL"],
27+
["dobeZz", "GB"],
28+
["Dragon", "PL"],
29+
["eh", "FI"],
30+
["Ekz", "SE"],
31+
["fix", "FI"],
32+
["Flamer", "CZ"],
33+
["floc", "DE"],
34+
["fluartity", "PL"],
35+
["gLAd", "RU"],
36+
["gore", "GB"],
37+
["grc", "SE"],
38+
["Hammer", "PT"],
39+
["HangTime", "GB"],
40+
["himmu", "FI"],
41+
["Hooraytio", "SE"],
42+
["jOn", "SE"],
43+
["kane", "CZ"],
44+
["kwon", "DE"],
45+
["Link", "NO"],
46+
["lurq", "SE"],
47+
["mushi", "PT"],
48+
["MxCraven", "GB"],
49+
["neophyte", "HU"],
50+
["Nexus", "FI"],
51+
["Ocoini", "NO"],
52+
["paniagua", "FI"],
53+
["Peppe", "SE"],
54+
["pharm ", "US"],
55+
["pixols", "GB"],
56+
["plast", "PL"],
57+
["PreMorteM", "NO"],
58+
["rat", "FI"],
59+
["rghst", "DE"],
60+
["Riki", "PL"],
61+
["robin", "NO"],
62+
["rokky", "SE"],
63+
["rotker", "PL"],
64+
["rusti", "FI"],
65+
["s4vo", "PL"],
66+
["samon", "PL"],
67+
["sham", "PL"],
68+
["Slaughter", "FI"],
69+
["SS", "RU"],
70+
["tr0ll", "NO"],
71+
["tuhmapoika", "FI"],
72+
["Tumult", "SE"],
73+
["viag", "CA"],
8074
];
8175

8276
// do not edit below
8377
export const teams = captains.reduce((teams, [name, _], index) => {
84-
teams[name] = {
85-
id: name,
86-
index,
87-
playerNames: [name],
88-
};
89-
return teams;
78+
teams[name] = {
79+
id: name,
80+
index,
81+
playerNames: [name],
82+
};
83+
return teams;
9084
}, {});
9185

9286
export const players = [...player_pool, ...captains]
93-
.toSorted((a, b) => a[0].localeCompare(b[0]))
94-
.reduce((players, [name, country_code]) => {
95-
players[name] = { name, country_code: country_code.toLocaleLowerCase() };
96-
return players;
97-
}, {});
87+
.toSorted((a, b) => a[0].localeCompare(b[0]))
88+
.reduce((players, [name, country_code]) => {
89+
players[name] = { name, country_code: country_code.toLocaleLowerCase() };
90+
return players;
91+
}, {});

src/styles/_dnd.scss

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,12 @@
1515
@apply min-h-[250px] bg-black/50 rounded-xl px-4 py-2 border-4 border-black opacity-80;
1616

1717
div:first-child .app-player::after {
18-
@apply text-xl text-amber-800 ml-auto;
18+
@apply text-xl text-yellow-700 ml-auto;
19+
content: "";
20+
}
21+
22+
div:nth-child(5) .app-player::after {
23+
@apply text-xl text-slate-400 ml-auto;
1924
content: "";
2025
}
2126

0 commit comments

Comments
 (0)