From 97b042fbc8360a9e517a75980720dbca150b919e Mon Sep 17 00:00:00 2001 From: CptTobez <141162879+CptTobez@users.noreply.github.com> Date: Tue, 1 Aug 2023 16:28:54 +0100 Subject: [PATCH 01/53] Update leagueInfo.js --- src/lib/utils/leagueInfo.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/utils/leagueInfo.js b/src/lib/utils/leagueInfo.js index f47c13e06..eefd71a0d 100644 --- a/src/lib/utils/leagueInfo.js +++ b/src/lib/utils/leagueInfo.js @@ -1,6 +1,6 @@ /* STEP 1 */ -export const leagueID = "your_league_id"; // your league ID -export const leagueName = "your_league_name"; // your league name +export const leagueID = "934307493323341824"; // your league ID +export const leagueName = "Dynasty Warriors"; // your league name export const dues = 100; // (optional) used in template constitution page export const dynasty = true; // true for dynasty leagues, false for redraft and keeper export const enableBlog = false; // requires VITE_CONTENTFUL_ACCESS_TOKEN and VITE_CONTENTFUL_SPACE environment variables @@ -124,4 +124,4 @@ export const managers = [ // "tradingScale": 10, // 1 - 10 (optional) // "preferredContact": "Text", // (optional) 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template // }, - \ No newline at end of file + From 426d45c2d9538442f8b879778ac14182857f3f8a Mon Sep 17 00:00:00 2001 From: CptTobez <141162879+CptTobez@users.noreply.github.com> Date: Tue, 1 Aug 2023 16:38:42 +0100 Subject: [PATCH 02/53] Update leagueInfo.js --- src/lib/utils/leagueInfo.js | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/lib/utils/leagueInfo.js b/src/lib/utils/leagueInfo.js index eefd71a0d..e7f19b40c 100644 --- a/src/lib/utils/leagueInfo.js +++ b/src/lib/utils/leagueInfo.js @@ -7,12 +7,9 @@ export const enableBlog = false; // requires VITE_CONTENTFUL_ACCESS_TOKEN and VI /* STEP 2 */ export const homepageText = ` -
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
-Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
-Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
-Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
-Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
-Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
+Welcome to the Dynasty Warriors League page.
+This page has been created as a one stop shop for all things Dynasty Warriors. Current rosters, a history of trades and an awards section boasting all your previous champs
+This of course is a work in progress and is an early build. We hope to include more content here as the years go on and the leagues history continues.
`; /* STEP 3 */ From 7c3fd9b7cb9cc7ee44610ee16f574c19061d17bb Mon Sep 17 00:00:00 2001 From: CptTobez <141162879+CptTobez@users.noreply.github.com> Date: Tue, 1 Aug 2023 20:36:47 +0100 Subject: [PATCH 03/53] Update leagueInfo.js --- src/lib/utils/leagueInfo.js | 331 +++++++++++++++++++++++++++++------- 1 file changed, 265 insertions(+), 66 deletions(-) diff --git a/src/lib/utils/leagueInfo.js b/src/lib/utils/leagueInfo.js index e7f19b40c..77ebd39ae 100644 --- a/src/lib/utils/leagueInfo.js +++ b/src/lib/utils/leagueInfo.js @@ -22,72 +22,271 @@ https://github.com/nmelhado/league-page/blob/master/TRAINING_WHEELS.md#ii-adding // To omit an optional field, set it's value to null export const managers = [ - // { - // "roster": 1, // ID of the roster that the manager manages (look at the order of the power rankings graph) - // "name": "Your Name", - // "tookOver": 2020, // (optional) used if a manager took over a team, delete this line or change to null otherwise - // "location": "Brooklyn", // (optional) - // "bio": "Lorem ipsum...", - // "photo": "/managers/name.jpg", // square ratio recommended (no larger than 500x500) - // "fantasyStart": 2014, // (optional) when did the manager start playing fantasy football - // "favoriteTeam": "nyj", // (optional) favorite NFL team, (follows convention: nyj, sea, mia, etc.) MUST BE LOWERCASE - // "mode": "Win Now", // (optional) 'Win Now', 'Dynasty', or 'Rebuild' (anything else and you will need to add a new png to /static/ similar to the 'Rebuild.png' and 'Win Now.png' currently in there) - // "rival": { - // name: "Rival", // Can be anything (usually your rival's name) - // link: 6, // manager array number within this array, or null to link back to all managers page - // image: "/managers/rival.jpg", // either a specific manager photo or '/managers/everyone.png' or '/managers/question.png' - // }, - // "favoritePlayer": 1426, // (optional) this corresponds to the Sleeper player ID (https://api.sleeper.app/v1/players/nfl) - // "valuePosition": "WR", // (optional) Favorite position (QB, WR, RB, TE, etc.) - // "rookieOrVets": "Rookies", // (optional) 'Rookies' or 'Vets' (anything else and you will need to add a new png to /static/ similar to the 'Rookies.png' and 'Vets.png' currently in there) - // "philosophy": "Your fantasy team's philosophy", - // "tradingScale": 10, // 1 - 10 - // "preferredContact": "Text", // 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template - // }, - // { - // "roster": 2, // ID of the roster that the manager manages (look at the order of the power rankings graph) - // "name": "Your Name", - // "tookOver": 2020, // (optional) used if a manager took over a team, delete this line or change to null otherwise - // "location": "Brooklyn", // (optional) - // "bio": "Lorem ipsum...", - // "photo": "/managers/name.jpg", // square ratio recommended (no larger than 500x500) - // "fantasyStart": 2014, // (optional) when did the manager start playing fantasy football - // "favoriteTeam": "nyj", // (optional) favorite NFL team, (follows convention: nyj, sea, mia, etc.) MUST BE LOWERCASE - // "mode": "Win Now", // (optional) 'Win Now', 'Dynasty', or 'Rebuild' (anything else and you will need to add a new png to /static/ similar to the 'Rebuild.png' and 'Win Now.png' currently in there) - // "rival": { - // name: "Rival", // Can be anything (usually your rival's name) - // link: 6, // manager array number within this array, or null to link back to all managers page - // image: "/managers/rival.jpg", // either a specific manager photo or '/managers/everyone.png' or '/managers/question.png' - // }, - // "favoritePlayer": 1426, // (optional) this corresponds to the Sleeper player ID (https://api.sleeper.app/v1/players/nfl) - // "valuePosition": "WR", // (optional) Favorite position (QB, WR, RB, TE, etc.) - // "rookieOrVets": "Rookies", // (optional) 'Rookies' or 'Vets' (anything else and you will need to add a new png to /static/ similar to the 'Rookies.png' and 'Vets.png' currently in there) - // "philosophy": "Your fantasy team's philosophy", - // "tradingScale": 10, // 1 - 10 - // "preferredContact": "Text", // 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template - // }, - // { - // "roster": 3, // ID of the roster that the manager manages (look at the order of the power rankings graph) - // "name": "Your Name", - // "tookOver": 2020, // (optional) used if a manager took over a team, delete this line or change to null otherwise - // "location": "Brooklyn", // (optional) - // "bio": "Lorem ipsum...", - // "photo": "/managers/name.jpg", // square ratio recommended (no larger than 500x500) - // "fantasyStart": 2014, // (optional) when did the manager start playing fantasy football - // "favoriteTeam": "nyj", // (optional) favorite NFL team, (follows convention: nyj, sea, mia, etc.) MUST BE LOWERCASE - // "mode": "Win Now", // (optional) 'Win Now', 'Dynasty', or 'Rebuild' (anything else and you will need to add a new png to /static/ similar to the 'Rebuild.png' and 'Win Now.png' currently in there) - // "rival": { - // name: "Rival", // Can be anything (usually your rival's name) - // link: 6, // manager array number within this array, or null to link back to all managers page - // image: "/managers/rival.jpg", // either a specific manager photo or '/managers/everyone.png' or '/managers/question.png' - // }, - // "favoritePlayer": 1426, // (optional) this corresponds to the Sleeper player ID (https://api.sleeper.app/v1/players/nfl) - // "valuePosition": "WR", // (optional) Favorite position (QB, WR, RB, TE, etc.) - // "rookieOrVets": "Rookies", // (optional) 'Rookies' or 'Vets' (anything else and you will need to add a new png to /static/ similar to the 'Rookies.png' and 'Vets.png' currently in there) - // "philosophy": "Your fantasy team's philosophy", - // "tradingScale": 10, // 1 - 10 - // "preferredContact": "Text", // 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template - // }, + { + "roster": 1, ID of the roster that the manager manages (look at the order of the power rankings graph) + "name": "Your Name", + "tookOver": 2020, (optional) used if a manager took over a team, delete this line or change to null otherwise + "location": "Brooklyn", (optional) + "bio": "Lorem ipsum...", + "photo": "/managers/name.jpg", square ratio recommended (no larger than 500x500) + "fantasyStart": 2014, (optional) when did the manager start playing fantasy football + "favoriteTeam": "nyj", (optional) favorite NFL team, (follows convention: nyj, sea, mia, etc.) MUST BE LOWERCASE + "mode": "Win Now", (optional) 'Win Now', 'Dynasty', or 'Rebuild' (anything else and you will need to add a new png to /static/ similar to the 'Rebuild.png' and 'Win Now.png' currently in there) + "rival": { + name: "Rival", Can be anything (usually your rival's name) + link: 6, manager array number within this array, or null to link back to all managers page + image: "/managers/rival.jpg", either a specific manager photo or '/managers/everyone.png' or '/managers/question.png' + }, + "favoritePlayer": 1426, (optional) this corresponds to the Sleeper player ID (https:api.sleeper.app/v1/players/nfl) + "valuePosition": "WR", (optional) Favorite position (QB, WR, RB, TE, etc.) + "rookieOrVets": "Rookies", (optional) 'Rookies' or 'Vets' (anything else and you will need to add a new png to /static/ similar to the 'Rookies.png' and 'Vets.png' currently in there) + "philosophy": "Your fantasy team's philosophy", + "tradingScale": 10, 1 - 10 + "preferredContact": "Text", 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template + }, + { + "roster": 2, ID of the roster that the manager manages (look at the order of the power rankings graph) + "name": "Your Name", + "tookOver": 2020, (optional) used if a manager took over a team, delete this line or change to null otherwise + "location": "Brooklyn", (optional) + "bio": "Lorem ipsum...", + "photo": "/managers/name.jpg", square ratio recommended (no larger than 500x500) + "fantasyStart": 2014, (optional) when did the manager start playing fantasy football + "favoriteTeam": "nyj", (optional) favorite NFL team, (follows convention: nyj, sea, mia, etc.) MUST BE LOWERCASE + "mode": "Win Now", (optional) 'Win Now', 'Dynasty', or 'Rebuild' (anything else and you will need to add a new png to /static/ similar to the 'Rebuild.png' and 'Win Now.png' currently in there) + "rival": { + name: "Rival", Can be anything (usually your rival's name) + link: 6, manager array number within this array, or null to link back to all managers page + image: "/managers/rival.jpg", either a specific manager photo or '/managers/everyone.png' or '/managers/question.png' + }, + "favoritePlayer": 1426, (optional) this corresponds to the Sleeper player ID (https:api.sleeper.app/v1/players/nfl) + "valuePosition": "WR", (optional) Favorite position (QB, WR, RB, TE, etc.) + "rookieOrVets": "Rookies", (optional) 'Rookies' or 'Vets' (anything else and you will need to add a new png to /static/ similar to the 'Rookies.png' and 'Vets.png' currently in there) + "philosophy": "Your fantasy team's philosophy", + "tradingScale": 10, 1 - 10 + "preferredContact": "Text", 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template + }, + { + "roster": 3, ID of the roster that the manager manages (look at the order of the power rankings graph) + "name": "Your Name", + "tookOver": 2020, (optional) used if a manager took over a team, delete this line or change to null otherwise + "location": "Brooklyn", (optional) + "bio": "Lorem ipsum...", + "photo": "/managers/name.jpg", square ratio recommended (no larger than 500x500) + "fantasyStart": 2014, (optional) when did the manager start playing fantasy football + "favoriteTeam": "nyj", (optional) favorite NFL team, (follows convention: nyj, sea, mia, etc.) MUST BE LOWERCASE + "mode": "Win Now", (optional) 'Win Now', 'Dynasty', or 'Rebuild' (anything else and you will need to add a new png to /static/ similar to the 'Rebuild.png' and 'Win Now.png' currently in there) + "rival": { + name: "Rival", Can be anything (usually your rival's name) + link: 6, manager array number within this array, or null to link back to all managers page + image: "/managers/rival.jpg", either a specific manager photo or '/managers/everyone.png' or '/managers/question.png' + }, + "favoritePlayer": 1426, (optional) this corresponds to the Sleeper player ID (https:api.sleeper.app/v1/players/nfl) + "valuePosition": "WR", (optional) Favorite position (QB, WR, RB, TE, etc.) + "rookieOrVets": "Rookies", (optional) 'Rookies' or 'Vets' (anything else and you will need to add a new png to /static/ similar to the 'Rookies.png' and 'Vets.png' currently in there) + "philosophy": "Your fantasy team's philosophy", + "tradingScale": 10, 1 - 10 + "preferredContact": "Text", 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template + }, + { + "roster": 4,, ID of the roster that the manager manages (look at the order of the power rankings graph) + "name": "Your Name", + "tookOver": 2020, (optional) used if a manager took over a team, delete this line or change to null otherwise + "location": "Brooklyn", (optional) + "bio": "Lorem ipsum...", + "photo": "/managers/name.jpg", square ratio recommended (no larger than 500x500) + "fantasyStart": 2014, (optional) when did the manager start playing fantasy football + "favoriteTeam": "nyj", (optional) favorite NFL team, (follows convention: nyj, sea, mia, etc.) MUST BE LOWERCASE + "mode": "Win Now", (optional) 'Win Now', 'Dynasty', or 'Rebuild' (anything else and you will need to add a new png to /static/ similar to the 'Rebuild.png' and 'Win Now.png' currently in there) + "rival": { + name: "Rival", Can be anything (usually your rival's name) + link: 6, manager array number within this array, or null to link back to all managers page + image: "/managers/rival.jpg", either a specific manager photo or '/managers/everyone.png' or '/managers/question.png' + }, + "favoritePlayer": 1426, (optional) this corresponds to the Sleeper player ID (https:api.sleeper.app/v1/players/nfl) + "valuePosition": "WR", (optional) Favorite position (QB, WR, RB, TE, etc.) + "rookieOrVets": "Rookies", (optional) 'Rookies' or 'Vets' (anything else and you will need to add a new png to /static/ similar to the 'Rookies.png' and 'Vets.png' currently in there) + "philosophy": "Your fantasy team's philosophy", + "tradingScale": 10, 1 - 10 + "preferredContact": "Text", 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template + }, + { + "roster": 5, ID of the roster that the manager manages (look at the order of the power rankings graph) + "name": "Your Name", + "tookOver": 2020, (optional) used if a manager took over a team, delete this line or change to null otherwise + "location": "Brooklyn", (optional) + "bio": "Lorem ipsum...", + "photo": "/managers/name.jpg", square ratio recommended (no larger than 500x500) + "fantasyStart": 2014, (optional) when did the manager start playing fantasy football + "favoriteTeam": "nyj", (optional) favorite NFL team, (follows convention: nyj, sea, mia, etc.) MUST BE LOWERCASE + "mode": "Win Now", (optional) 'Win Now', 'Dynasty', or 'Rebuild' (anything else and you will need to add a new png to /static/ similar to the 'Rebuild.png' and 'Win Now.png' currently in there) + "rival": { + name: "Rival", Can be anything (usually your rival's name) + link: 6, manager array number within this array, or null to link back to all managers page + image: "/managers/rival.jpg", either a specific manager photo or '/managers/everyone.png' or '/managers/question.png' + }, + "favoritePlayer": 1426, (optional) this corresponds to the Sleeper player ID (https:api.sleeper.app/v1/players/nfl) + "valuePosition": "WR", (optional) Favorite position (QB, WR, RB, TE, etc.) + "rookieOrVets": "Rookies", (optional) 'Rookies' or 'Vets' (anything else and you will need to add a new png to /static/ similar to the 'Rookies.png' and 'Vets.png' currently in there) + "philosophy": "Your fantasy team's philosophy", + "tradingScale": 10, 1 - 10 + "preferredContact": "Text", 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template + }, + { + "roster": 6, ID of the roster that the manager manages (look at the order of the power rankings graph) + "name": "Your Name", + "tookOver": 2020, (optional) used if a manager took over a team, delete this line or change to null otherwise + "location": "Brooklyn", (optional) + "bio": "Lorem ipsum...", + "photo": "/managers/name.jpg", square ratio recommended (no larger than 500x500) + "fantasyStart": 2014, (optional) when did the manager start playing fantasy football + "favoriteTeam": "nyj", (optional) favorite NFL team, (follows convention: nyj, sea, mia, etc.) MUST BE LOWERCASE + "mode": "Win Now", (optional) 'Win Now', 'Dynasty', or 'Rebuild' (anything else and you will need to add a new png to /static/ similar to the 'Rebuild.png' and 'Win Now.png' currently in there) + "rival": { + name: "Rival", Can be anything (usually your rival's name) + link: 6, manager array number within this array, or null to link back to all managers page + image: "/managers/rival.jpg", either a specific manager photo or '/managers/everyone.png' or '/managers/question.png' + }, + "favoritePlayer": 1426, (optional) this corresponds to the Sleeper player ID (https:api.sleeper.app/v1/players/nfl) + "valuePosition": "WR", (optional) Favorite position (QB, WR, RB, TE, etc.) + "rookieOrVets": "Rookies", (optional) 'Rookies' or 'Vets' (anything else and you will need to add a new png to /static/ similar to the 'Rookies.png' and 'Vets.png' currently in there) + "philosophy": "Your fantasy team's philosophy", + "tradingScale": 10, 1 - 10 + "preferredContact": "Text", 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template + }, + { + "roster": 7, ID of the roster that the manager manages (look at the order of the power rankings graph) + "name": "Your Name", + "tookOver": 2020, (optional) used if a manager took over a team, delete this line or change to null otherwise + "location": "Brooklyn", (optional) + "bio": "Lorem ipsum...", + "photo": "/managers/name.jpg", square ratio recommended (no larger than 500x500) + "fantasyStart": 2014, (optional) when did the manager start playing fantasy football + "favoriteTeam": "nyj", (optional) favorite NFL team, (follows convention: nyj, sea, mia, etc.) MUST BE LOWERCASE + "mode": "Win Now", (optional) 'Win Now', 'Dynasty', or 'Rebuild' (anything else and you will need to add a new png to /static/ similar to the 'Rebuild.png' and 'Win Now.png' currently in there) + "rival": { + name: "Rival", Can be anything (usually your rival's name) + link: 6, manager array number within this array, or null to link back to all managers page + image: "/managers/rival.jpg", either a specific manager photo or '/managers/everyone.png' or '/managers/question.png' + }, + "favoritePlayer": 1426, (optional) this corresponds to the Sleeper player ID (https:api.sleeper.app/v1/players/nfl) + "valuePosition": "WR", (optional) Favorite position (QB, WR, RB, TE, etc.) + "rookieOrVets": "Rookies", (optional) 'Rookies' or 'Vets' (anything else and you will need to add a new png to /static/ similar to the 'Rookies.png' and 'Vets.png' currently in there) + "philosophy": "Your fantasy team's philosophy", + "tradingScale": 10, 1 - 10 + "preferredContact": "Text", 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template + }, + { + "roster": 8, ID of the roster that the manager manages (look at the order of the power rankings graph) + "name": "Your Name", + "tookOver": 2020, (optional) used if a manager took over a team, delete this line or change to null otherwise + "location": "Brooklyn", (optional) + "bio": "Lorem ipsum...", + "photo": "/managers/name.jpg", square ratio recommended (no larger than 500x500) + "fantasyStart": 2014, (optional) when did the manager start playing fantasy football + "favoriteTeam": "nyj", (optional) favorite NFL team, (follows convention: nyj, sea, mia, etc.) MUST BE LOWERCASE + "mode": "Win Now", (optional) 'Win Now', 'Dynasty', or 'Rebuild' (anything else and you will need to add a new png to /static/ similar to the 'Rebuild.png' and 'Win Now.png' currently in there) + "rival": { + name: "Rival", Can be anything (usually your rival's name) + link: 6, manager array number within this array, or null to link back to all managers page + image: "/managers/rival.jpg", either a specific manager photo or '/managers/everyone.png' or '/managers/question.png' + }, + "favoritePlayer": 1426, (optional) this corresponds to the Sleeper player ID (https:api.sleeper.app/v1/players/nfl) + "valuePosition": "WR", (optional) Favorite position (QB, WR, RB, TE, etc.) + "rookieOrVets": "Rookies", (optional) 'Rookies' or 'Vets' (anything else and you will need to add a new png to /static/ similar to the 'Rookies.png' and 'Vets.png' currently in there) + "philosophy": "Your fantasy team's philosophy", + "tradingScale": 10, 1 - 10 + "preferredContact": "Text", 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template + }, + { + "roster": 9, ID of the roster that the manager manages (look at the order of the power rankings graph) + "name": "Your Name", + "tookOver": 2020, (optional) used if a manager took over a team, delete this line or change to null otherwise + "location": "Brooklyn", (optional) + "bio": "Lorem ipsum...", + "photo": "/managers/name.jpg", square ratio recommended (no larger than 500x500) + "fantasyStart": 2014, (optional) when did the manager start playing fantasy football + "favoriteTeam": "nyj", (optional) favorite NFL team, (follows convention: nyj, sea, mia, etc.) MUST BE LOWERCASE + "mode": "Win Now", (optional) 'Win Now', 'Dynasty', or 'Rebuild' (anything else and you will need to add a new png to /static/ similar to the 'Rebuild.png' and 'Win Now.png' currently in there) + "rival": { + name: "Rival", Can be anything (usually your rival's name) + link: 6, manager array number within this array, or null to link back to all managers page + image: "/managers/rival.jpg", either a specific manager photo or '/managers/everyone.png' or '/managers/question.png' + }, + "favoritePlayer": 1426, (optional) this corresponds to the Sleeper player ID (https:api.sleeper.app/v1/players/nfl) + "valuePosition": "WR", (optional) Favorite position (QB, WR, RB, TE, etc.) + "rookieOrVets": "Rookies", (optional) 'Rookies' or 'Vets' (anything else and you will need to add a new png to /static/ similar to the 'Rookies.png' and 'Vets.png' currently in there) + "philosophy": "Your fantasy team's philosophy", + "tradingScale": 10, 1 - 10 + "preferredContact": "Text", 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template + }, + { + "roster": 10, ID of the roster that the manager manages (look at the order of the power rankings graph) + "name": "Your Name", + "tookOver": 2020, (optional) used if a manager took over a team, delete this line or change to null otherwise + "location": "Brooklyn", (optional) + "bio": "Lorem ipsum...", + "photo": "/managers/name.jpg", square ratio recommended (no larger than 500x500) + "fantasyStart": 2014, (optional) when did the manager start playing fantasy football + "favoriteTeam": "nyj", (optional) favorite NFL team, (follows convention: nyj, sea, mia, etc.) MUST BE LOWERCASE + "mode": "Win Now", (optional) 'Win Now', 'Dynasty', or 'Rebuild' (anything else and you will need to add a new png to /static/ similar to the 'Rebuild.png' and 'Win Now.png' currently in there) + "rival": { + name: "Rival", Can be anything (usually your rival's name) + link: 6, manager array number within this array, or null to link back to all managers page + image: "/managers/rival.jpg", either a specific manager photo or '/managers/everyone.png' or '/managers/question.png' + }, + "favoritePlayer": 1426, (optional) this corresponds to the Sleeper player ID (https:api.sleeper.app/v1/players/nfl) + "valuePosition": "WR", (optional) Favorite position (QB, WR, RB, TE, etc.) + "rookieOrVets": "Rookies", (optional) 'Rookies' or 'Vets' (anything else and you will need to add a new png to /static/ similar to the 'Rookies.png' and 'Vets.png' currently in there) + "philosophy": "Your fantasy team's philosophy", + "tradingScale": 10, 1 - 10 + "preferredContact": "Text", 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template + }, + { + "roster": 11, ID of the roster that the manager manages (look at the order of the power rankings graph) + "name": "Your Name", + "tookOver": 2020, (optional) used if a manager took over a team, delete this line or change to null otherwise + "location": "Brooklyn", (optional) + "bio": "Lorem ipsum...", + "photo": "/managers/name.jpg", square ratio recommended (no larger than 500x500) + "fantasyStart": 2014, (optional) when did the manager start playing fantasy football + "favoriteTeam": "nyj", (optional) favorite NFL team, (follows convention: nyj, sea, mia, etc.) MUST BE LOWERCASE + "mode": "Win Now", (optional) 'Win Now', 'Dynasty', or 'Rebuild' (anything else and you will need to add a new png to /static/ similar to the 'Rebuild.png' and 'Win Now.png' currently in there) + "rival": { + name: "Rival", Can be anything (usually your rival's name) + link: 6, manager array number within this array, or null to link back to all managers page + image: "/managers/rival.jpg", either a specific manager photo or '/managers/everyone.png' or '/managers/question.png' + }, + "favoritePlayer": 1426, (optional) this corresponds to the Sleeper player ID (https:api.sleeper.app/v1/players/nfl) + "valuePosition": "WR", (optional) Favorite position (QB, WR, RB, TE, etc.) + "rookieOrVets": "Rookies", (optional) 'Rookies' or 'Vets' (anything else and you will need to add a new png to /static/ similar to the 'Rookies.png' and 'Vets.png' currently in there) + "philosophy": "Your fantasy team's philosophy", + "tradingScale": 10, 1 - 10 + "preferredContact": "Text", 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template + }, + { + "roster": 12, ID of the roster that the manager manages (look at the order of the power rankings graph) + "name": "Your Name", + "tookOver": 2020, (optional) used if a manager took over a team, delete this line or change to null otherwise + "location": "Brooklyn", (optional) + "bio": "Lorem ipsum...", + "photo": "/managers/name.jpg", square ratio recommended (no larger than 500x500) + "fantasyStart": 2014, (optional) when did the manager start playing fantasy football + "favoriteTeam": "nyj", (optional) favorite NFL team, (follows convention: nyj, sea, mia, etc.) MUST BE LOWERCASE + "mode": "Win Now", (optional) 'Win Now', 'Dynasty', or 'Rebuild' (anything else and you will need to add a new png to /static/ similar to the 'Rebuild.png' and 'Win Now.png' currently in there) + "rival": { + name: "Rival", Can be anything (usually your rival's name) + link: 6, manager array number within this array, or null to link back to all managers page + image: "/managers/rival.jpg", either a specific manager photo or '/managers/everyone.png' or '/managers/question.png' + }, + "favoritePlayer": 1426, (optional) this corresponds to the Sleeper player ID (https:api.sleeper.app/v1/players/nfl) + "valuePosition": "WR", (optional) Favorite position (QB, WR, RB, TE, etc.) + "rookieOrVets": "Rookies", (optional) 'Rookies' or 'Vets' (anything else and you will need to add a new png to /static/ similar to the 'Rookies.png' and 'Vets.png' currently in there) + "philosophy": "Your fantasy team's philosophy", + "tradingScale": 10, 1 - 10 + "preferredContact": "Text", 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template + }, + ] From 0a839d9f7c85fcc5d8fa583bec3510efae3b1bc4 Mon Sep 17 00:00:00 2001 From: CptTobez <141162879+CptTobez@users.noreply.github.com> Date: Tue, 1 Aug 2023 20:43:15 +0100 Subject: [PATCH 04/53] Update leagueInfo.js --- src/lib/utils/leagueInfo.js | 333 ++++++++---------------------------- 1 file changed, 67 insertions(+), 266 deletions(-) diff --git a/src/lib/utils/leagueInfo.js b/src/lib/utils/leagueInfo.js index 77ebd39ae..c95e03723 100644 --- a/src/lib/utils/leagueInfo.js +++ b/src/lib/utils/leagueInfo.js @@ -22,272 +22,73 @@ https://github.com/nmelhado/league-page/blob/master/TRAINING_WHEELS.md#ii-adding // To omit an optional field, set it's value to null export const managers = [ - { - "roster": 1, ID of the roster that the manager manages (look at the order of the power rankings graph) - "name": "Your Name", - "tookOver": 2020, (optional) used if a manager took over a team, delete this line or change to null otherwise - "location": "Brooklyn", (optional) - "bio": "Lorem ipsum...", - "photo": "/managers/name.jpg", square ratio recommended (no larger than 500x500) - "fantasyStart": 2014, (optional) when did the manager start playing fantasy football - "favoriteTeam": "nyj", (optional) favorite NFL team, (follows convention: nyj, sea, mia, etc.) MUST BE LOWERCASE - "mode": "Win Now", (optional) 'Win Now', 'Dynasty', or 'Rebuild' (anything else and you will need to add a new png to /static/ similar to the 'Rebuild.png' and 'Win Now.png' currently in there) - "rival": { - name: "Rival", Can be anything (usually your rival's name) - link: 6, manager array number within this array, or null to link back to all managers page - image: "/managers/rival.jpg", either a specific manager photo or '/managers/everyone.png' or '/managers/question.png' - }, - "favoritePlayer": 1426, (optional) this corresponds to the Sleeper player ID (https:api.sleeper.app/v1/players/nfl) - "valuePosition": "WR", (optional) Favorite position (QB, WR, RB, TE, etc.) - "rookieOrVets": "Rookies", (optional) 'Rookies' or 'Vets' (anything else and you will need to add a new png to /static/ similar to the 'Rookies.png' and 'Vets.png' currently in there) - "philosophy": "Your fantasy team's philosophy", - "tradingScale": 10, 1 - 10 - "preferredContact": "Text", 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template - }, - { - "roster": 2, ID of the roster that the manager manages (look at the order of the power rankings graph) - "name": "Your Name", - "tookOver": 2020, (optional) used if a manager took over a team, delete this line or change to null otherwise - "location": "Brooklyn", (optional) - "bio": "Lorem ipsum...", - "photo": "/managers/name.jpg", square ratio recommended (no larger than 500x500) - "fantasyStart": 2014, (optional) when did the manager start playing fantasy football - "favoriteTeam": "nyj", (optional) favorite NFL team, (follows convention: nyj, sea, mia, etc.) MUST BE LOWERCASE - "mode": "Win Now", (optional) 'Win Now', 'Dynasty', or 'Rebuild' (anything else and you will need to add a new png to /static/ similar to the 'Rebuild.png' and 'Win Now.png' currently in there) - "rival": { - name: "Rival", Can be anything (usually your rival's name) - link: 6, manager array number within this array, or null to link back to all managers page - image: "/managers/rival.jpg", either a specific manager photo or '/managers/everyone.png' or '/managers/question.png' - }, - "favoritePlayer": 1426, (optional) this corresponds to the Sleeper player ID (https:api.sleeper.app/v1/players/nfl) - "valuePosition": "WR", (optional) Favorite position (QB, WR, RB, TE, etc.) - "rookieOrVets": "Rookies", (optional) 'Rookies' or 'Vets' (anything else and you will need to add a new png to /static/ similar to the 'Rookies.png' and 'Vets.png' currently in there) - "philosophy": "Your fantasy team's philosophy", - "tradingScale": 10, 1 - 10 - "preferredContact": "Text", 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template - }, - { - "roster": 3, ID of the roster that the manager manages (look at the order of the power rankings graph) - "name": "Your Name", - "tookOver": 2020, (optional) used if a manager took over a team, delete this line or change to null otherwise - "location": "Brooklyn", (optional) - "bio": "Lorem ipsum...", - "photo": "/managers/name.jpg", square ratio recommended (no larger than 500x500) - "fantasyStart": 2014, (optional) when did the manager start playing fantasy football - "favoriteTeam": "nyj", (optional) favorite NFL team, (follows convention: nyj, sea, mia, etc.) MUST BE LOWERCASE - "mode": "Win Now", (optional) 'Win Now', 'Dynasty', or 'Rebuild' (anything else and you will need to add a new png to /static/ similar to the 'Rebuild.png' and 'Win Now.png' currently in there) - "rival": { - name: "Rival", Can be anything (usually your rival's name) - link: 6, manager array number within this array, or null to link back to all managers page - image: "/managers/rival.jpg", either a specific manager photo or '/managers/everyone.png' or '/managers/question.png' - }, - "favoritePlayer": 1426, (optional) this corresponds to the Sleeper player ID (https:api.sleeper.app/v1/players/nfl) - "valuePosition": "WR", (optional) Favorite position (QB, WR, RB, TE, etc.) - "rookieOrVets": "Rookies", (optional) 'Rookies' or 'Vets' (anything else and you will need to add a new png to /static/ similar to the 'Rookies.png' and 'Vets.png' currently in there) - "philosophy": "Your fantasy team's philosophy", - "tradingScale": 10, 1 - 10 - "preferredContact": "Text", 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template - }, - { - "roster": 4,, ID of the roster that the manager manages (look at the order of the power rankings graph) - "name": "Your Name", - "tookOver": 2020, (optional) used if a manager took over a team, delete this line or change to null otherwise - "location": "Brooklyn", (optional) - "bio": "Lorem ipsum...", - "photo": "/managers/name.jpg", square ratio recommended (no larger than 500x500) - "fantasyStart": 2014, (optional) when did the manager start playing fantasy football - "favoriteTeam": "nyj", (optional) favorite NFL team, (follows convention: nyj, sea, mia, etc.) MUST BE LOWERCASE - "mode": "Win Now", (optional) 'Win Now', 'Dynasty', or 'Rebuild' (anything else and you will need to add a new png to /static/ similar to the 'Rebuild.png' and 'Win Now.png' currently in there) - "rival": { - name: "Rival", Can be anything (usually your rival's name) - link: 6, manager array number within this array, or null to link back to all managers page - image: "/managers/rival.jpg", either a specific manager photo or '/managers/everyone.png' or '/managers/question.png' - }, - "favoritePlayer": 1426, (optional) this corresponds to the Sleeper player ID (https:api.sleeper.app/v1/players/nfl) - "valuePosition": "WR", (optional) Favorite position (QB, WR, RB, TE, etc.) - "rookieOrVets": "Rookies", (optional) 'Rookies' or 'Vets' (anything else and you will need to add a new png to /static/ similar to the 'Rookies.png' and 'Vets.png' currently in there) - "philosophy": "Your fantasy team's philosophy", - "tradingScale": 10, 1 - 10 - "preferredContact": "Text", 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template - }, - { - "roster": 5, ID of the roster that the manager manages (look at the order of the power rankings graph) - "name": "Your Name", - "tookOver": 2020, (optional) used if a manager took over a team, delete this line or change to null otherwise - "location": "Brooklyn", (optional) - "bio": "Lorem ipsum...", - "photo": "/managers/name.jpg", square ratio recommended (no larger than 500x500) - "fantasyStart": 2014, (optional) when did the manager start playing fantasy football - "favoriteTeam": "nyj", (optional) favorite NFL team, (follows convention: nyj, sea, mia, etc.) MUST BE LOWERCASE - "mode": "Win Now", (optional) 'Win Now', 'Dynasty', or 'Rebuild' (anything else and you will need to add a new png to /static/ similar to the 'Rebuild.png' and 'Win Now.png' currently in there) - "rival": { - name: "Rival", Can be anything (usually your rival's name) - link: 6, manager array number within this array, or null to link back to all managers page - image: "/managers/rival.jpg", either a specific manager photo or '/managers/everyone.png' or '/managers/question.png' - }, - "favoritePlayer": 1426, (optional) this corresponds to the Sleeper player ID (https:api.sleeper.app/v1/players/nfl) - "valuePosition": "WR", (optional) Favorite position (QB, WR, RB, TE, etc.) - "rookieOrVets": "Rookies", (optional) 'Rookies' or 'Vets' (anything else and you will need to add a new png to /static/ similar to the 'Rookies.png' and 'Vets.png' currently in there) - "philosophy": "Your fantasy team's philosophy", - "tradingScale": 10, 1 - 10 - "preferredContact": "Text", 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template - }, - { - "roster": 6, ID of the roster that the manager manages (look at the order of the power rankings graph) - "name": "Your Name", - "tookOver": 2020, (optional) used if a manager took over a team, delete this line or change to null otherwise - "location": "Brooklyn", (optional) - "bio": "Lorem ipsum...", - "photo": "/managers/name.jpg", square ratio recommended (no larger than 500x500) - "fantasyStart": 2014, (optional) when did the manager start playing fantasy football - "favoriteTeam": "nyj", (optional) favorite NFL team, (follows convention: nyj, sea, mia, etc.) MUST BE LOWERCASE - "mode": "Win Now", (optional) 'Win Now', 'Dynasty', or 'Rebuild' (anything else and you will need to add a new png to /static/ similar to the 'Rebuild.png' and 'Win Now.png' currently in there) - "rival": { - name: "Rival", Can be anything (usually your rival's name) - link: 6, manager array number within this array, or null to link back to all managers page - image: "/managers/rival.jpg", either a specific manager photo or '/managers/everyone.png' or '/managers/question.png' - }, - "favoritePlayer": 1426, (optional) this corresponds to the Sleeper player ID (https:api.sleeper.app/v1/players/nfl) - "valuePosition": "WR", (optional) Favorite position (QB, WR, RB, TE, etc.) - "rookieOrVets": "Rookies", (optional) 'Rookies' or 'Vets' (anything else and you will need to add a new png to /static/ similar to the 'Rookies.png' and 'Vets.png' currently in there) - "philosophy": "Your fantasy team's philosophy", - "tradingScale": 10, 1 - 10 - "preferredContact": "Text", 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template - }, - { - "roster": 7, ID of the roster that the manager manages (look at the order of the power rankings graph) - "name": "Your Name", - "tookOver": 2020, (optional) used if a manager took over a team, delete this line or change to null otherwise - "location": "Brooklyn", (optional) - "bio": "Lorem ipsum...", - "photo": "/managers/name.jpg", square ratio recommended (no larger than 500x500) - "fantasyStart": 2014, (optional) when did the manager start playing fantasy football - "favoriteTeam": "nyj", (optional) favorite NFL team, (follows convention: nyj, sea, mia, etc.) MUST BE LOWERCASE - "mode": "Win Now", (optional) 'Win Now', 'Dynasty', or 'Rebuild' (anything else and you will need to add a new png to /static/ similar to the 'Rebuild.png' and 'Win Now.png' currently in there) - "rival": { - name: "Rival", Can be anything (usually your rival's name) - link: 6, manager array number within this array, or null to link back to all managers page - image: "/managers/rival.jpg", either a specific manager photo or '/managers/everyone.png' or '/managers/question.png' - }, - "favoritePlayer": 1426, (optional) this corresponds to the Sleeper player ID (https:api.sleeper.app/v1/players/nfl) - "valuePosition": "WR", (optional) Favorite position (QB, WR, RB, TE, etc.) - "rookieOrVets": "Rookies", (optional) 'Rookies' or 'Vets' (anything else and you will need to add a new png to /static/ similar to the 'Rookies.png' and 'Vets.png' currently in there) - "philosophy": "Your fantasy team's philosophy", - "tradingScale": 10, 1 - 10 - "preferredContact": "Text", 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template - }, - { - "roster": 8, ID of the roster that the manager manages (look at the order of the power rankings graph) - "name": "Your Name", - "tookOver": 2020, (optional) used if a manager took over a team, delete this line or change to null otherwise - "location": "Brooklyn", (optional) - "bio": "Lorem ipsum...", - "photo": "/managers/name.jpg", square ratio recommended (no larger than 500x500) - "fantasyStart": 2014, (optional) when did the manager start playing fantasy football - "favoriteTeam": "nyj", (optional) favorite NFL team, (follows convention: nyj, sea, mia, etc.) MUST BE LOWERCASE - "mode": "Win Now", (optional) 'Win Now', 'Dynasty', or 'Rebuild' (anything else and you will need to add a new png to /static/ similar to the 'Rebuild.png' and 'Win Now.png' currently in there) - "rival": { - name: "Rival", Can be anything (usually your rival's name) - link: 6, manager array number within this array, or null to link back to all managers page - image: "/managers/rival.jpg", either a specific manager photo or '/managers/everyone.png' or '/managers/question.png' - }, - "favoritePlayer": 1426, (optional) this corresponds to the Sleeper player ID (https:api.sleeper.app/v1/players/nfl) - "valuePosition": "WR", (optional) Favorite position (QB, WR, RB, TE, etc.) - "rookieOrVets": "Rookies", (optional) 'Rookies' or 'Vets' (anything else and you will need to add a new png to /static/ similar to the 'Rookies.png' and 'Vets.png' currently in there) - "philosophy": "Your fantasy team's philosophy", - "tradingScale": 10, 1 - 10 - "preferredContact": "Text", 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template - }, - { - "roster": 9, ID of the roster that the manager manages (look at the order of the power rankings graph) - "name": "Your Name", - "tookOver": 2020, (optional) used if a manager took over a team, delete this line or change to null otherwise - "location": "Brooklyn", (optional) - "bio": "Lorem ipsum...", - "photo": "/managers/name.jpg", square ratio recommended (no larger than 500x500) - "fantasyStart": 2014, (optional) when did the manager start playing fantasy football - "favoriteTeam": "nyj", (optional) favorite NFL team, (follows convention: nyj, sea, mia, etc.) MUST BE LOWERCASE - "mode": "Win Now", (optional) 'Win Now', 'Dynasty', or 'Rebuild' (anything else and you will need to add a new png to /static/ similar to the 'Rebuild.png' and 'Win Now.png' currently in there) - "rival": { - name: "Rival", Can be anything (usually your rival's name) - link: 6, manager array number within this array, or null to link back to all managers page - image: "/managers/rival.jpg", either a specific manager photo or '/managers/everyone.png' or '/managers/question.png' - }, - "favoritePlayer": 1426, (optional) this corresponds to the Sleeper player ID (https:api.sleeper.app/v1/players/nfl) - "valuePosition": "WR", (optional) Favorite position (QB, WR, RB, TE, etc.) - "rookieOrVets": "Rookies", (optional) 'Rookies' or 'Vets' (anything else and you will need to add a new png to /static/ similar to the 'Rookies.png' and 'Vets.png' currently in there) - "philosophy": "Your fantasy team's philosophy", - "tradingScale": 10, 1 - 10 - "preferredContact": "Text", 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template - }, - { - "roster": 10, ID of the roster that the manager manages (look at the order of the power rankings graph) - "name": "Your Name", - "tookOver": 2020, (optional) used if a manager took over a team, delete this line or change to null otherwise - "location": "Brooklyn", (optional) - "bio": "Lorem ipsum...", - "photo": "/managers/name.jpg", square ratio recommended (no larger than 500x500) - "fantasyStart": 2014, (optional) when did the manager start playing fantasy football - "favoriteTeam": "nyj", (optional) favorite NFL team, (follows convention: nyj, sea, mia, etc.) MUST BE LOWERCASE - "mode": "Win Now", (optional) 'Win Now', 'Dynasty', or 'Rebuild' (anything else and you will need to add a new png to /static/ similar to the 'Rebuild.png' and 'Win Now.png' currently in there) - "rival": { - name: "Rival", Can be anything (usually your rival's name) - link: 6, manager array number within this array, or null to link back to all managers page - image: "/managers/rival.jpg", either a specific manager photo or '/managers/everyone.png' or '/managers/question.png' - }, - "favoritePlayer": 1426, (optional) this corresponds to the Sleeper player ID (https:api.sleeper.app/v1/players/nfl) - "valuePosition": "WR", (optional) Favorite position (QB, WR, RB, TE, etc.) - "rookieOrVets": "Rookies", (optional) 'Rookies' or 'Vets' (anything else and you will need to add a new png to /static/ similar to the 'Rookies.png' and 'Vets.png' currently in there) - "philosophy": "Your fantasy team's philosophy", - "tradingScale": 10, 1 - 10 - "preferredContact": "Text", 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template - }, - { - "roster": 11, ID of the roster that the manager manages (look at the order of the power rankings graph) - "name": "Your Name", - "tookOver": 2020, (optional) used if a manager took over a team, delete this line or change to null otherwise - "location": "Brooklyn", (optional) - "bio": "Lorem ipsum...", - "photo": "/managers/name.jpg", square ratio recommended (no larger than 500x500) - "fantasyStart": 2014, (optional) when did the manager start playing fantasy football - "favoriteTeam": "nyj", (optional) favorite NFL team, (follows convention: nyj, sea, mia, etc.) MUST BE LOWERCASE - "mode": "Win Now", (optional) 'Win Now', 'Dynasty', or 'Rebuild' (anything else and you will need to add a new png to /static/ similar to the 'Rebuild.png' and 'Win Now.png' currently in there) - "rival": { - name: "Rival", Can be anything (usually your rival's name) - link: 6, manager array number within this array, or null to link back to all managers page - image: "/managers/rival.jpg", either a specific manager photo or '/managers/everyone.png' or '/managers/question.png' - }, - "favoritePlayer": 1426, (optional) this corresponds to the Sleeper player ID (https:api.sleeper.app/v1/players/nfl) - "valuePosition": "WR", (optional) Favorite position (QB, WR, RB, TE, etc.) - "rookieOrVets": "Rookies", (optional) 'Rookies' or 'Vets' (anything else and you will need to add a new png to /static/ similar to the 'Rookies.png' and 'Vets.png' currently in there) - "philosophy": "Your fantasy team's philosophy", - "tradingScale": 10, 1 - 10 - "preferredContact": "Text", 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template - }, - { - "roster": 12, ID of the roster that the manager manages (look at the order of the power rankings graph) - "name": "Your Name", - "tookOver": 2020, (optional) used if a manager took over a team, delete this line or change to null otherwise - "location": "Brooklyn", (optional) - "bio": "Lorem ipsum...", - "photo": "/managers/name.jpg", square ratio recommended (no larger than 500x500) - "fantasyStart": 2014, (optional) when did the manager start playing fantasy football - "favoriteTeam": "nyj", (optional) favorite NFL team, (follows convention: nyj, sea, mia, etc.) MUST BE LOWERCASE - "mode": "Win Now", (optional) 'Win Now', 'Dynasty', or 'Rebuild' (anything else and you will need to add a new png to /static/ similar to the 'Rebuild.png' and 'Win Now.png' currently in there) - "rival": { - name: "Rival", Can be anything (usually your rival's name) - link: 6, manager array number within this array, or null to link back to all managers page - image: "/managers/rival.jpg", either a specific manager photo or '/managers/everyone.png' or '/managers/question.png' - }, - "favoritePlayer": 1426, (optional) this corresponds to the Sleeper player ID (https:api.sleeper.app/v1/players/nfl) - "valuePosition": "WR", (optional) Favorite position (QB, WR, RB, TE, etc.) - "rookieOrVets": "Rookies", (optional) 'Rookies' or 'Vets' (anything else and you will need to add a new png to /static/ similar to the 'Rookies.png' and 'Vets.png' currently in there) - "philosophy": "Your fantasy team's philosophy", - "tradingScale": 10, 1 - 10 - "preferredContact": "Text", 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template - }, - - ] + // { + // "roster": 1, ID of the roster that the manager manages (look at the order of the power rankings graph) + // "name": "Your Name", + // "tookOver": 2020, (optional) used if a manager took over a team, delete this line or change to null otherwise + // "location": "Brooklyn", (optional) + // "bio": "Lorem ipsum...", + // "photo": "/managers/name.jpg", square ratio recommended (no larger than 500x500) + // "fantasyStart": 2014, (optional) when did the manager start playing fantasy football + // "favoriteTeam": "nyj", (optional) favorite NFL team, (follows convention: nyj, sea, mia, etc.) MUST BE LOWERCASE + // "mode": "Win Now", (optional) 'Win Now', 'Dynasty', or 'Rebuild' (anything else and you will need to add a new png to /static/ similar to the 'Rebuild.png' and 'Win Now.png' currently in there) + // "rival": { + // name: "Rival", Can be anything (usually your rival's name) + // link: 6, manager array number within this array, or null to link back to all managers page + // image: "/managers/rival.jpg", either a specific manager photo or '/managers/everyone.png' or '/managers/question.png' + // }, + // "favoritePlayer": 1426, (optional) this corresponds to the Sleeper player ID (https:api.sleeper.app/v1/players/nfl) + // "valuePosition": "WR", (optional) Favorite position (QB, WR, RB, TE, etc.) + // "rookieOrVets": "Rookies", (optional) 'Rookies' or 'Vets' (anything else and you will need to add a new png to /static/ similar to the 'Rookies.png' and 'Vets.png' currently in there) + // "philosophy": "Your fantasy team's philosophy", + // "tradingScale": 10, 1 - 10 + // "preferredContact": "Text", 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template + // }, + // { + // "roster": 2, ID of the roster that the manager manages (look at the order of the power rankings graph) + // "name": "Your Name", + // "tookOver": 2020, (optional) used if a manager took over a team, delete this line or change to null otherwise + // "location": "Brooklyn", (optional) + // "bio": "Lorem ipsum...", + // "photo": "/managers/name.jpg", square ratio recommended (no larger than 500x500) + // "fantasyStart": 2014, (optional) when did the manager start playing fantasy football + // "favoriteTeam": "nyj", (optional) favorite NFL team, (follows convention: nyj, sea, mia, etc.) MUST BE LOWERCASE + // "mode": "Win Now", (optional) 'Win Now', 'Dynasty', or 'Rebuild' (anything else and you will need to add a new png to /static/ similar to the 'Rebuild.png' and 'Win Now.png' currently in there) + // "rival": { + // name: "Rival", Can be anything (usually your rival's name) + // link: 6, manager array number within this array, or null to link back to all managers page + // image: "/managers/rival.jpg", either a specific manager photo or '/managers/everyone.png' or '/managers/question.png' + // }, + // "favoritePlayer": 1426, (optional) this corresponds to the Sleeper player ID (https:api.sleeper.app/v1/players/nfl) + // "valuePosition": "WR", (optional) Favorite position (QB, WR, RB, TE, etc.) + // "rookieOrVets": "Rookies", (optional) 'Rookies' or 'Vets' (anything else and you will need to add a new png to /static/ similar to the 'Rookies.png' and 'Vets.png' currently in there) + // "philosophy": "Your fantasy team's philosophy", + // "tradingScale": 10, 1 - 10 + // "preferredContact": "Text", 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template + // }, + // { + // "roster": 3, ID of the roster that the manager manages (look at the order of the power rankings graph) + // "name": "Your Name", + // "tookOver": 2020, (optional) used if a manager took over a team, delete this line or change to null otherwise + // "location": "Brooklyn", (optional) + // "bio": "Lorem ipsum...", + // "photo": "/managers/name.jpg", square ratio recommended (no larger than 500x500) + // "fantasyStart": 2014, (optional) when did the manager start playing fantasy football + // "favoriteTeam": "nyj", (optional) favorite NFL team, (follows convention: nyj, sea, mia, etc.) MUST BE LOWERCASE + // "mode": "Win Now", (optional) 'Win Now', 'Dynasty', or 'Rebuild' (anything else and you will need to add a new png to /static/ similar to the 'Rebuild.png' and 'Win Now.png' currently in there) + // "rival": { + // name: "Rival", Can be anything (usually your rival's name) + // link: 6, manager array number within this array, or null to link back to all managers page + // image: "/managers/rival.jpg", either a specific manager photo or '/managers/everyone.png' or '/managers/question.png' + // }, + // "favoritePlayer": 1426, (optional) this corresponds to the Sleeper player ID (https:api.sleeper.app/v1/players/nfl) + // "valuePosition": "WR", (optional) Favorite position (QB, WR, RB, TE, etc.) + // "rookieOrVets": "Rookies", (optional) 'Rookies' or 'Vets' (anything else and you will need to add a new png to /static/ similar to the 'Rookies.png' and 'Vets.png' currently in there) + // "philosophy": "Your fantasy team's philosophy", + // "tradingScale": 10, 1 - 10 + // "preferredContact": "Text", 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template + // }, + // ] /* !! !! IMPORTANT !! !! */ From b2d2d4a0bcf42b37077c0d0c035929027ca90b15 Mon Sep 17 00:00:00 2001 From: CptTobez <141162879+CptTobez@users.noreply.github.com> Date: Tue, 1 Aug 2023 20:47:50 +0100 Subject: [PATCH 05/53] Update leagueInfo.js --- src/lib/utils/leagueInfo.js | 134 ++++++++++++++++++------------------ 1 file changed, 67 insertions(+), 67 deletions(-) diff --git a/src/lib/utils/leagueInfo.js b/src/lib/utils/leagueInfo.js index c95e03723..e7f19b40c 100644 --- a/src/lib/utils/leagueInfo.js +++ b/src/lib/utils/leagueInfo.js @@ -22,73 +22,73 @@ https://github.com/nmelhado/league-page/blob/master/TRAINING_WHEELS.md#ii-adding // To omit an optional field, set it's value to null export const managers = [ - // { - // "roster": 1, ID of the roster that the manager manages (look at the order of the power rankings graph) - // "name": "Your Name", - // "tookOver": 2020, (optional) used if a manager took over a team, delete this line or change to null otherwise - // "location": "Brooklyn", (optional) - // "bio": "Lorem ipsum...", - // "photo": "/managers/name.jpg", square ratio recommended (no larger than 500x500) - // "fantasyStart": 2014, (optional) when did the manager start playing fantasy football - // "favoriteTeam": "nyj", (optional) favorite NFL team, (follows convention: nyj, sea, mia, etc.) MUST BE LOWERCASE - // "mode": "Win Now", (optional) 'Win Now', 'Dynasty', or 'Rebuild' (anything else and you will need to add a new png to /static/ similar to the 'Rebuild.png' and 'Win Now.png' currently in there) - // "rival": { - // name: "Rival", Can be anything (usually your rival's name) - // link: 6, manager array number within this array, or null to link back to all managers page - // image: "/managers/rival.jpg", either a specific manager photo or '/managers/everyone.png' or '/managers/question.png' - // }, - // "favoritePlayer": 1426, (optional) this corresponds to the Sleeper player ID (https:api.sleeper.app/v1/players/nfl) - // "valuePosition": "WR", (optional) Favorite position (QB, WR, RB, TE, etc.) - // "rookieOrVets": "Rookies", (optional) 'Rookies' or 'Vets' (anything else and you will need to add a new png to /static/ similar to the 'Rookies.png' and 'Vets.png' currently in there) - // "philosophy": "Your fantasy team's philosophy", - // "tradingScale": 10, 1 - 10 - // "preferredContact": "Text", 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template - // }, - // { - // "roster": 2, ID of the roster that the manager manages (look at the order of the power rankings graph) - // "name": "Your Name", - // "tookOver": 2020, (optional) used if a manager took over a team, delete this line or change to null otherwise - // "location": "Brooklyn", (optional) - // "bio": "Lorem ipsum...", - // "photo": "/managers/name.jpg", square ratio recommended (no larger than 500x500) - // "fantasyStart": 2014, (optional) when did the manager start playing fantasy football - // "favoriteTeam": "nyj", (optional) favorite NFL team, (follows convention: nyj, sea, mia, etc.) MUST BE LOWERCASE - // "mode": "Win Now", (optional) 'Win Now', 'Dynasty', or 'Rebuild' (anything else and you will need to add a new png to /static/ similar to the 'Rebuild.png' and 'Win Now.png' currently in there) - // "rival": { - // name: "Rival", Can be anything (usually your rival's name) - // link: 6, manager array number within this array, or null to link back to all managers page - // image: "/managers/rival.jpg", either a specific manager photo or '/managers/everyone.png' or '/managers/question.png' - // }, - // "favoritePlayer": 1426, (optional) this corresponds to the Sleeper player ID (https:api.sleeper.app/v1/players/nfl) - // "valuePosition": "WR", (optional) Favorite position (QB, WR, RB, TE, etc.) - // "rookieOrVets": "Rookies", (optional) 'Rookies' or 'Vets' (anything else and you will need to add a new png to /static/ similar to the 'Rookies.png' and 'Vets.png' currently in there) - // "philosophy": "Your fantasy team's philosophy", - // "tradingScale": 10, 1 - 10 - // "preferredContact": "Text", 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template - // }, - // { - // "roster": 3, ID of the roster that the manager manages (look at the order of the power rankings graph) - // "name": "Your Name", - // "tookOver": 2020, (optional) used if a manager took over a team, delete this line or change to null otherwise - // "location": "Brooklyn", (optional) - // "bio": "Lorem ipsum...", - // "photo": "/managers/name.jpg", square ratio recommended (no larger than 500x500) - // "fantasyStart": 2014, (optional) when did the manager start playing fantasy football - // "favoriteTeam": "nyj", (optional) favorite NFL team, (follows convention: nyj, sea, mia, etc.) MUST BE LOWERCASE - // "mode": "Win Now", (optional) 'Win Now', 'Dynasty', or 'Rebuild' (anything else and you will need to add a new png to /static/ similar to the 'Rebuild.png' and 'Win Now.png' currently in there) - // "rival": { - // name: "Rival", Can be anything (usually your rival's name) - // link: 6, manager array number within this array, or null to link back to all managers page - // image: "/managers/rival.jpg", either a specific manager photo or '/managers/everyone.png' or '/managers/question.png' - // }, - // "favoritePlayer": 1426, (optional) this corresponds to the Sleeper player ID (https:api.sleeper.app/v1/players/nfl) - // "valuePosition": "WR", (optional) Favorite position (QB, WR, RB, TE, etc.) - // "rookieOrVets": "Rookies", (optional) 'Rookies' or 'Vets' (anything else and you will need to add a new png to /static/ similar to the 'Rookies.png' and 'Vets.png' currently in there) - // "philosophy": "Your fantasy team's philosophy", - // "tradingScale": 10, 1 - 10 - // "preferredContact": "Text", 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template - // }, - // ] + // { + // "roster": 1, // ID of the roster that the manager manages (look at the order of the power rankings graph) + // "name": "Your Name", + // "tookOver": 2020, // (optional) used if a manager took over a team, delete this line or change to null otherwise + // "location": "Brooklyn", // (optional) + // "bio": "Lorem ipsum...", + // "photo": "/managers/name.jpg", // square ratio recommended (no larger than 500x500) + // "fantasyStart": 2014, // (optional) when did the manager start playing fantasy football + // "favoriteTeam": "nyj", // (optional) favorite NFL team, (follows convention: nyj, sea, mia, etc.) MUST BE LOWERCASE + // "mode": "Win Now", // (optional) 'Win Now', 'Dynasty', or 'Rebuild' (anything else and you will need to add a new png to /static/ similar to the 'Rebuild.png' and 'Win Now.png' currently in there) + // "rival": { + // name: "Rival", // Can be anything (usually your rival's name) + // link: 6, // manager array number within this array, or null to link back to all managers page + // image: "/managers/rival.jpg", // either a specific manager photo or '/managers/everyone.png' or '/managers/question.png' + // }, + // "favoritePlayer": 1426, // (optional) this corresponds to the Sleeper player ID (https://api.sleeper.app/v1/players/nfl) + // "valuePosition": "WR", // (optional) Favorite position (QB, WR, RB, TE, etc.) + // "rookieOrVets": "Rookies", // (optional) 'Rookies' or 'Vets' (anything else and you will need to add a new png to /static/ similar to the 'Rookies.png' and 'Vets.png' currently in there) + // "philosophy": "Your fantasy team's philosophy", + // "tradingScale": 10, // 1 - 10 + // "preferredContact": "Text", // 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template + // }, + // { + // "roster": 2, // ID of the roster that the manager manages (look at the order of the power rankings graph) + // "name": "Your Name", + // "tookOver": 2020, // (optional) used if a manager took over a team, delete this line or change to null otherwise + // "location": "Brooklyn", // (optional) + // "bio": "Lorem ipsum...", + // "photo": "/managers/name.jpg", // square ratio recommended (no larger than 500x500) + // "fantasyStart": 2014, // (optional) when did the manager start playing fantasy football + // "favoriteTeam": "nyj", // (optional) favorite NFL team, (follows convention: nyj, sea, mia, etc.) MUST BE LOWERCASE + // "mode": "Win Now", // (optional) 'Win Now', 'Dynasty', or 'Rebuild' (anything else and you will need to add a new png to /static/ similar to the 'Rebuild.png' and 'Win Now.png' currently in there) + // "rival": { + // name: "Rival", // Can be anything (usually your rival's name) + // link: 6, // manager array number within this array, or null to link back to all managers page + // image: "/managers/rival.jpg", // either a specific manager photo or '/managers/everyone.png' or '/managers/question.png' + // }, + // "favoritePlayer": 1426, // (optional) this corresponds to the Sleeper player ID (https://api.sleeper.app/v1/players/nfl) + // "valuePosition": "WR", // (optional) Favorite position (QB, WR, RB, TE, etc.) + // "rookieOrVets": "Rookies", // (optional) 'Rookies' or 'Vets' (anything else and you will need to add a new png to /static/ similar to the 'Rookies.png' and 'Vets.png' currently in there) + // "philosophy": "Your fantasy team's philosophy", + // "tradingScale": 10, // 1 - 10 + // "preferredContact": "Text", // 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template + // }, + // { + // "roster": 3, // ID of the roster that the manager manages (look at the order of the power rankings graph) + // "name": "Your Name", + // "tookOver": 2020, // (optional) used if a manager took over a team, delete this line or change to null otherwise + // "location": "Brooklyn", // (optional) + // "bio": "Lorem ipsum...", + // "photo": "/managers/name.jpg", // square ratio recommended (no larger than 500x500) + // "fantasyStart": 2014, // (optional) when did the manager start playing fantasy football + // "favoriteTeam": "nyj", // (optional) favorite NFL team, (follows convention: nyj, sea, mia, etc.) MUST BE LOWERCASE + // "mode": "Win Now", // (optional) 'Win Now', 'Dynasty', or 'Rebuild' (anything else and you will need to add a new png to /static/ similar to the 'Rebuild.png' and 'Win Now.png' currently in there) + // "rival": { + // name: "Rival", // Can be anything (usually your rival's name) + // link: 6, // manager array number within this array, or null to link back to all managers page + // image: "/managers/rival.jpg", // either a specific manager photo or '/managers/everyone.png' or '/managers/question.png' + // }, + // "favoritePlayer": 1426, // (optional) this corresponds to the Sleeper player ID (https://api.sleeper.app/v1/players/nfl) + // "valuePosition": "WR", // (optional) Favorite position (QB, WR, RB, TE, etc.) + // "rookieOrVets": "Rookies", // (optional) 'Rookies' or 'Vets' (anything else and you will need to add a new png to /static/ similar to the 'Rookies.png' and 'Vets.png' currently in there) + // "philosophy": "Your fantasy team's philosophy", + // "tradingScale": 10, // 1 - 10 + // "preferredContact": "Text", // 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template + // }, + ] /* !! !! IMPORTANT !! !! */ From 8b04cf927c29d0b205f2fc597b0b9f277e6edc55 Mon Sep 17 00:00:00 2001 From: CptTobez <141162879+CptTobez@users.noreply.github.com> Date: Tue, 1 Aug 2023 20:50:10 +0100 Subject: [PATCH 06/53] Update leagueInfo.js --- src/lib/utils/leagueInfo.js | 132 ++++++++++++++++++------------------ 1 file changed, 66 insertions(+), 66 deletions(-) diff --git a/src/lib/utils/leagueInfo.js b/src/lib/utils/leagueInfo.js index e7f19b40c..e95f8a6fe 100644 --- a/src/lib/utils/leagueInfo.js +++ b/src/lib/utils/leagueInfo.js @@ -22,72 +22,72 @@ https://github.com/nmelhado/league-page/blob/master/TRAINING_WHEELS.md#ii-adding // To omit an optional field, set it's value to null export const managers = [ - // { - // "roster": 1, // ID of the roster that the manager manages (look at the order of the power rankings graph) - // "name": "Your Name", - // "tookOver": 2020, // (optional) used if a manager took over a team, delete this line or change to null otherwise - // "location": "Brooklyn", // (optional) - // "bio": "Lorem ipsum...", - // "photo": "/managers/name.jpg", // square ratio recommended (no larger than 500x500) - // "fantasyStart": 2014, // (optional) when did the manager start playing fantasy football - // "favoriteTeam": "nyj", // (optional) favorite NFL team, (follows convention: nyj, sea, mia, etc.) MUST BE LOWERCASE - // "mode": "Win Now", // (optional) 'Win Now', 'Dynasty', or 'Rebuild' (anything else and you will need to add a new png to /static/ similar to the 'Rebuild.png' and 'Win Now.png' currently in there) - // "rival": { - // name: "Rival", // Can be anything (usually your rival's name) - // link: 6, // manager array number within this array, or null to link back to all managers page - // image: "/managers/rival.jpg", // either a specific manager photo or '/managers/everyone.png' or '/managers/question.png' - // }, - // "favoritePlayer": 1426, // (optional) this corresponds to the Sleeper player ID (https://api.sleeper.app/v1/players/nfl) - // "valuePosition": "WR", // (optional) Favorite position (QB, WR, RB, TE, etc.) - // "rookieOrVets": "Rookies", // (optional) 'Rookies' or 'Vets' (anything else and you will need to add a new png to /static/ similar to the 'Rookies.png' and 'Vets.png' currently in there) - // "philosophy": "Your fantasy team's philosophy", - // "tradingScale": 10, // 1 - 10 - // "preferredContact": "Text", // 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template - // }, - // { - // "roster": 2, // ID of the roster that the manager manages (look at the order of the power rankings graph) - // "name": "Your Name", - // "tookOver": 2020, // (optional) used if a manager took over a team, delete this line or change to null otherwise - // "location": "Brooklyn", // (optional) - // "bio": "Lorem ipsum...", - // "photo": "/managers/name.jpg", // square ratio recommended (no larger than 500x500) - // "fantasyStart": 2014, // (optional) when did the manager start playing fantasy football - // "favoriteTeam": "nyj", // (optional) favorite NFL team, (follows convention: nyj, sea, mia, etc.) MUST BE LOWERCASE - // "mode": "Win Now", // (optional) 'Win Now', 'Dynasty', or 'Rebuild' (anything else and you will need to add a new png to /static/ similar to the 'Rebuild.png' and 'Win Now.png' currently in there) - // "rival": { - // name: "Rival", // Can be anything (usually your rival's name) - // link: 6, // manager array number within this array, or null to link back to all managers page - // image: "/managers/rival.jpg", // either a specific manager photo or '/managers/everyone.png' or '/managers/question.png' - // }, - // "favoritePlayer": 1426, // (optional) this corresponds to the Sleeper player ID (https://api.sleeper.app/v1/players/nfl) - // "valuePosition": "WR", // (optional) Favorite position (QB, WR, RB, TE, etc.) - // "rookieOrVets": "Rookies", // (optional) 'Rookies' or 'Vets' (anything else and you will need to add a new png to /static/ similar to the 'Rookies.png' and 'Vets.png' currently in there) - // "philosophy": "Your fantasy team's philosophy", - // "tradingScale": 10, // 1 - 10 - // "preferredContact": "Text", // 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template - // }, - // { - // "roster": 3, // ID of the roster that the manager manages (look at the order of the power rankings graph) - // "name": "Your Name", - // "tookOver": 2020, // (optional) used if a manager took over a team, delete this line or change to null otherwise - // "location": "Brooklyn", // (optional) - // "bio": "Lorem ipsum...", - // "photo": "/managers/name.jpg", // square ratio recommended (no larger than 500x500) - // "fantasyStart": 2014, // (optional) when did the manager start playing fantasy football - // "favoriteTeam": "nyj", // (optional) favorite NFL team, (follows convention: nyj, sea, mia, etc.) MUST BE LOWERCASE - // "mode": "Win Now", // (optional) 'Win Now', 'Dynasty', or 'Rebuild' (anything else and you will need to add a new png to /static/ similar to the 'Rebuild.png' and 'Win Now.png' currently in there) - // "rival": { - // name: "Rival", // Can be anything (usually your rival's name) - // link: 6, // manager array number within this array, or null to link back to all managers page - // image: "/managers/rival.jpg", // either a specific manager photo or '/managers/everyone.png' or '/managers/question.png' - // }, - // "favoritePlayer": 1426, // (optional) this corresponds to the Sleeper player ID (https://api.sleeper.app/v1/players/nfl) - // "valuePosition": "WR", // (optional) Favorite position (QB, WR, RB, TE, etc.) - // "rookieOrVets": "Rookies", // (optional) 'Rookies' or 'Vets' (anything else and you will need to add a new png to /static/ similar to the 'Rookies.png' and 'Vets.png' currently in there) - // "philosophy": "Your fantasy team's philosophy", - // "tradingScale": 10, // 1 - 10 - // "preferredContact": "Text", // 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template - // }, + { + "roster": 1, // ID of the roster that the manager manages (look at the order of the power rankings graph) + "name": "Your Name", + "tookOver": 2020, // (optional) used if a manager took over a team, delete this line or change to null otherwise + "location": "Brooklyn", // (optional) + "bio": "Lorem ipsum...", + "photo": "/managers/name.jpg", // square ratio recommended (no larger than 500x500) + "fantasyStart": 2014, // (optional) when did the manager start playing fantasy football + "favoriteTeam": "nyj", // (optional) favorite NFL team, (follows convention: nyj, sea, mia, etc.) MUST BE LOWERCASE + "mode": "Win Now", // (optional) 'Win Now', 'Dynasty', or 'Rebuild' (anything else and you will need to add a new png to /static/ similar to the 'Rebuild.png' and 'Win Now.png' currently in there) + "rival": { + name: "Rival", // Can be anything (usually your rival's name) + link: 6, // manager array number within this array, or null to link back to all managers page + image: "/managers/rival.jpg", // either a specific manager photo or '/managers/everyone.png' or '/managers/question.png' + }, + "favoritePlayer": 1426, // (optional) this corresponds to the Sleeper player ID (https://api.sleeper.app/v1/players/nfl) + "valuePosition": "WR", // (optional) Favorite position (QB, WR, RB, TE, etc.) + "rookieOrVets": "Rookies", // (optional) 'Rookies' or 'Vets' (anything else and you will need to add a new png to /static/ similar to the 'Rookies.png' and 'Vets.png' currently in there) + "philosophy": "Your fantasy team's philosophy", + "tradingScale": 10, // 1 - 10 + "preferredContact": "Text", // 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template + }, + { + "roster": 2, // ID of the roster that the manager manages (look at the order of the power rankings graph) + "name": "Your Name", + "tookOver": 2020, // (optional) used if a manager took over a team, delete this line or change to null otherwise + "location": "Brooklyn", // (optional) + "bio": "Lorem ipsum...", + "photo": "/managers/name.jpg", // square ratio recommended (no larger than 500x500) + "fantasyStart": 2014, // (optional) when did the manager start playing fantasy football + "favoriteTeam": "nyj", // (optional) favorite NFL team, (follows convention: nyj, sea, mia, etc.) MUST BE LOWERCASE + "mode": "Win Now", // (optional) 'Win Now', 'Dynasty', or 'Rebuild' (anything else and you will need to add a new png to /static/ similar to the 'Rebuild.png' and 'Win Now.png' currently in there) + "rival": { + name: "Rival", // Can be anything (usually your rival's name) + link: 6, // manager array number within this array, or null to link back to all managers page + image: "/managers/rival.jpg", // either a specific manager photo or '/managers/everyone.png' or '/managers/question.png' + }, + "favoritePlayer": 1426, // (optional) this corresponds to the Sleeper player ID (https://api.sleeper.app/v1/players/nfl) + "valuePosition": "WR", // (optional) Favorite position (QB, WR, RB, TE, etc.) + "rookieOrVets": "Rookies", // (optional) 'Rookies' or 'Vets' (anything else and you will need to add a new png to /static/ similar to the 'Rookies.png' and 'Vets.png' currently in there) + "philosophy": "Your fantasy team's philosophy", + "tradingScale": 10, // 1 - 10 + "preferredContact": "Text", // 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template + }, + { + "roster": 3, // ID of the roster that the manager manages (look at the order of the power rankings graph) + "name": "Your Name", + "tookOver": 2020, // (optional) used if a manager took over a team, delete this line or change to null otherwise + "location": "Brooklyn", // (optional) + "bio": "Lorem ipsum...", + "photo": "/managers/name.jpg", // square ratio recommended (no larger than 500x500) + "fantasyStart": 2014, // (optional) when did the manager start playing fantasy football + "favoriteTeam": "nyj", // (optional) favorite NFL team, (follows convention: nyj, sea, mia, etc.) MUST BE LOWERCASE + "mode": "Win Now", // (optional) 'Win Now', 'Dynasty', or 'Rebuild' (anything else and you will need to add a new png to /static/ similar to the 'Rebuild.png' and 'Win Now.png' currently in there) + "rival": { + name: "Rival", // Can be anything (usually your rival's name) + link: 6, // manager array number within this array, or null to link back to all managers page + image: "/managers/rival.jpg", // either a specific manager photo or '/managers/everyone.png' or '/managers/question.png' + }, + "favoritePlayer": 1426, // (optional) this corresponds to the Sleeper player ID (https://api.sleeper.app/v1/players/nfl) + "valuePosition": "WR", // (optional) Favorite position (QB, WR, RB, TE, etc.) + "rookieOrVets": "Rookies", // (optional) 'Rookies' or 'Vets' (anything else and you will need to add a new png to /static/ similar to the 'Rookies.png' and 'Vets.png' currently in there) + "philosophy": "Your fantasy team's philosophy", + "tradingScale": 10, // 1 - 10 + "preferredContact": "Text", // 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template + }, ] From a7edefd229042323a0b4297045bc108c11f88800 Mon Sep 17 00:00:00 2001 From: CptTobez <141162879+CptTobez@users.noreply.github.com> Date: Tue, 1 Aug 2023 20:55:42 +0100 Subject: [PATCH 07/53] Update leagueInfo.js --- src/lib/utils/leagueInfo.js | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/src/lib/utils/leagueInfo.js b/src/lib/utils/leagueInfo.js index e95f8a6fe..00482c58c 100644 --- a/src/lib/utils/leagueInfo.js +++ b/src/lib/utils/leagueInfo.js @@ -88,6 +88,28 @@ export const managers = [ "tradingScale": 10, // 1 - 10 "preferredContact": "Text", // 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template }, + { + "roster": 4, // ID of the roster that the manager manages (look at the order of the power rankings graph) + "name": "Your Name", + "tookOver": 2020, // (optional) used if a manager took over a team, delete this line or change to null otherwise + "location": "Brooklyn", // (optional) + "bio": "Lorem ipsum...", + "photo": "/managers/name.jpg", // square ratio recommended (no larger than 500x500) + "fantasyStart": 2014, // (optional) when did the manager start playing fantasy football + "favoriteTeam": "nyj", // (optional) favorite NFL team, (follows convention: nyj, sea, mia, etc.) MUST BE LOWERCASE + "mode": "Win Now", // (optional) 'Win Now', 'Dynasty', or 'Rebuild' (anything else and you will need to add a new png to /static/ similar to the 'Rebuild.png' and 'Win Now.png' currently in there) + "rival": { + name: "Rival", // Can be anything (usually your rival's name) + link: 6, // manager array number within this array, or null to link back to all managers page + image: "/managers/rival.jpg", // either a specific manager photo or '/managers/everyone.png' or '/managers/question.png' + }, + "favoritePlayer": 1426, // (optional) this corresponds to the Sleeper player ID (https://api.sleeper.app/v1/players/nfl) + "valuePosition": "WR", // (optional) Favorite position (QB, WR, RB, TE, etc.) + "rookieOrVets": "Rookies", // (optional) 'Rookies' or 'Vets' (anything else and you will need to add a new png to /static/ similar to the 'Rookies.png' and 'Vets.png' currently in there) + "philosophy": "Your fantasy team's philosophy", + "tradingScale": 10, // 1 - 10 + "preferredContact": "Text", // 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template + }, ] From 884ad08ab82aa4000ff90681aeb9e95246f904bc Mon Sep 17 00:00:00 2001 From: CptTobez <141162879+CptTobez@users.noreply.github.com> Date: Tue, 1 Aug 2023 20:59:07 +0100 Subject: [PATCH 08/53] Update leagueInfo.js --- src/lib/utils/leagueInfo.js | 176 ++++++++++++++++++++++++++++++++++++ 1 file changed, 176 insertions(+) diff --git a/src/lib/utils/leagueInfo.js b/src/lib/utils/leagueInfo.js index 00482c58c..cf9abe0b4 100644 --- a/src/lib/utils/leagueInfo.js +++ b/src/lib/utils/leagueInfo.js @@ -110,6 +110,182 @@ export const managers = [ "tradingScale": 10, // 1 - 10 "preferredContact": "Text", // 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template }, + { + "roster": 5, // ID of the roster that the manager manages (look at the order of the power rankings graph) + "name": "Your Name", + "tookOver": 2020, // (optional) used if a manager took over a team, delete this line or change to null otherwise + "location": "Brooklyn", // (optional) + "bio": "Lorem ipsum...", + "photo": "/managers/name.jpg", // square ratio recommended (no larger than 500x500) + "fantasyStart": 2014, // (optional) when did the manager start playing fantasy football + "favoriteTeam": "nyj", // (optional) favorite NFL team, (follows convention: nyj, sea, mia, etc.) MUST BE LOWERCASE + "mode": "Win Now", // (optional) 'Win Now', 'Dynasty', or 'Rebuild' (anything else and you will need to add a new png to /static/ similar to the 'Rebuild.png' and 'Win Now.png' currently in there) + "rival": { + name: "Rival", // Can be anything (usually your rival's name) + link: 6, // manager array number within this array, or null to link back to all managers page + image: "/managers/rival.jpg", // either a specific manager photo or '/managers/everyone.png' or '/managers/question.png' + }, + "favoritePlayer": 1426, // (optional) this corresponds to the Sleeper player ID (https://api.sleeper.app/v1/players/nfl) + "valuePosition": "WR", // (optional) Favorite position (QB, WR, RB, TE, etc.) + "rookieOrVets": "Rookies", // (optional) 'Rookies' or 'Vets' (anything else and you will need to add a new png to /static/ similar to the 'Rookies.png' and 'Vets.png' currently in there) + "philosophy": "Your fantasy team's philosophy", + "tradingScale": 10, // 1 - 10 + "preferredContact": "Text", // 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template + }, + { + "roster": 6, // ID of the roster that the manager manages (look at the order of the power rankings graph) + "name": "Your Name", + "tookOver": 2020, // (optional) used if a manager took over a team, delete this line or change to null otherwise + "location": "Brooklyn", // (optional) + "bio": "Lorem ipsum...", + "photo": "/managers/name.jpg", // square ratio recommended (no larger than 500x500) + "fantasyStart": 2014, // (optional) when did the manager start playing fantasy football + "favoriteTeam": "nyj", // (optional) favorite NFL team, (follows convention: nyj, sea, mia, etc.) MUST BE LOWERCASE + "mode": "Win Now", // (optional) 'Win Now', 'Dynasty', or 'Rebuild' (anything else and you will need to add a new png to /static/ similar to the 'Rebuild.png' and 'Win Now.png' currently in there) + "rival": { + name: "Rival", // Can be anything (usually your rival's name) + link: 6, // manager array number within this array, or null to link back to all managers page + image: "/managers/rival.jpg", // either a specific manager photo or '/managers/everyone.png' or '/managers/question.png' + }, + "favoritePlayer": 1426, // (optional) this corresponds to the Sleeper player ID (https://api.sleeper.app/v1/players/nfl) + "valuePosition": "WR", // (optional) Favorite position (QB, WR, RB, TE, etc.) + "rookieOrVets": "Rookies", // (optional) 'Rookies' or 'Vets' (anything else and you will need to add a new png to /static/ similar to the 'Rookies.png' and 'Vets.png' currently in there) + "philosophy": "Your fantasy team's philosophy", + "tradingScale": 10, // 1 - 10 + "preferredContact": "Text", // 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template + }, + { + "roster": 7, // ID of the roster that the manager manages (look at the order of the power rankings graph) + "name": "Your Name", + "tookOver": 2020, // (optional) used if a manager took over a team, delete this line or change to null otherwise + "location": "Brooklyn", // (optional) + "bio": "Lorem ipsum...", + "photo": "/managers/name.jpg", // square ratio recommended (no larger than 500x500) + "fantasyStart": 2014, // (optional) when did the manager start playing fantasy football + "favoriteTeam": "nyj", // (optional) favorite NFL team, (follows convention: nyj, sea, mia, etc.) MUST BE LOWERCASE + "mode": "Win Now", // (optional) 'Win Now', 'Dynasty', or 'Rebuild' (anything else and you will need to add a new png to /static/ similar to the 'Rebuild.png' and 'Win Now.png' currently in there) + "rival": { + name: "Rival", // Can be anything (usually your rival's name) + link: 6, // manager array number within this array, or null to link back to all managers page + image: "/managers/rival.jpg", // either a specific manager photo or '/managers/everyone.png' or '/managers/question.png' + }, + "favoritePlayer": 1426, // (optional) this corresponds to the Sleeper player ID (https://api.sleeper.app/v1/players/nfl) + "valuePosition": "WR", // (optional) Favorite position (QB, WR, RB, TE, etc.) + "rookieOrVets": "Rookies", // (optional) 'Rookies' or 'Vets' (anything else and you will need to add a new png to /static/ similar to the 'Rookies.png' and 'Vets.png' currently in there) + "philosophy": "Your fantasy team's philosophy", + "tradingScale": 10, // 1 - 10 + "preferredContact": "Text", // 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template + }, + { + "roster": 8, // ID of the roster that the manager manages (look at the order of the power rankings graph) + "name": "Your Name", + "tookOver": 2020, // (optional) used if a manager took over a team, delete this line or change to null otherwise + "location": "Brooklyn", // (optional) + "bio": "Lorem ipsum...", + "photo": "/managers/name.jpg", // square ratio recommended (no larger than 500x500) + "fantasyStart": 2014, // (optional) when did the manager start playing fantasy football + "favoriteTeam": "nyj", // (optional) favorite NFL team, (follows convention: nyj, sea, mia, etc.) MUST BE LOWERCASE + "mode": "Win Now", // (optional) 'Win Now', 'Dynasty', or 'Rebuild' (anything else and you will need to add a new png to /static/ similar to the 'Rebuild.png' and 'Win Now.png' currently in there) + "rival": { + name: "Rival", // Can be anything (usually your rival's name) + link: 6, // manager array number within this array, or null to link back to all managers page + image: "/managers/rival.jpg", // either a specific manager photo or '/managers/everyone.png' or '/managers/question.png' + }, + "favoritePlayer": 1426, // (optional) this corresponds to the Sleeper player ID (https://api.sleeper.app/v1/players/nfl) + "valuePosition": "WR", // (optional) Favorite position (QB, WR, RB, TE, etc.) + "rookieOrVets": "Rookies", // (optional) 'Rookies' or 'Vets' (anything else and you will need to add a new png to /static/ similar to the 'Rookies.png' and 'Vets.png' currently in there) + "philosophy": "Your fantasy team's philosophy", + "tradingScale": 10, // 1 - 10 + "preferredContact": "Text", // 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template + }, + { + "roster": 9, // ID of the roster that the manager manages (look at the order of the power rankings graph) + "name": "Your Name", + "tookOver": 2020, // (optional) used if a manager took over a team, delete this line or change to null otherwise + "location": "Brooklyn", // (optional) + "bio": "Lorem ipsum...", + "photo": "/managers/name.jpg", // square ratio recommended (no larger than 500x500) + "fantasyStart": 2014, // (optional) when did the manager start playing fantasy football + "favoriteTeam": "nyj", // (optional) favorite NFL team, (follows convention: nyj, sea, mia, etc.) MUST BE LOWERCASE + "mode": "Win Now", // (optional) 'Win Now', 'Dynasty', or 'Rebuild' (anything else and you will need to add a new png to /static/ similar to the 'Rebuild.png' and 'Win Now.png' currently in there) + "rival": { + name: "Rival", // Can be anything (usually your rival's name) + link: 6, // manager array number within this array, or null to link back to all managers page + image: "/managers/rival.jpg", // either a specific manager photo or '/managers/everyone.png' or '/managers/question.png' + }, + "favoritePlayer": 1426, // (optional) this corresponds to the Sleeper player ID (https://api.sleeper.app/v1/players/nfl) + "valuePosition": "WR", // (optional) Favorite position (QB, WR, RB, TE, etc.) + "rookieOrVets": "Rookies", // (optional) 'Rookies' or 'Vets' (anything else and you will need to add a new png to /static/ similar to the 'Rookies.png' and 'Vets.png' currently in there) + "philosophy": "Your fantasy team's philosophy", + "tradingScale": 10, // 1 - 10 + "preferredContact": "Text", // 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template + }, + { + "roster": 10, // ID of the roster that the manager manages (look at the order of the power rankings graph) + "name": "Your Name", + "tookOver": 2020, // (optional) used if a manager took over a team, delete this line or change to null otherwise + "location": "Brooklyn", // (optional) + "bio": "Lorem ipsum...", + "photo": "/managers/name.jpg", // square ratio recommended (no larger than 500x500) + "fantasyStart": 2014, // (optional) when did the manager start playing fantasy football + "favoriteTeam": "nyj", // (optional) favorite NFL team, (follows convention: nyj, sea, mia, etc.) MUST BE LOWERCASE + "mode": "Win Now", // (optional) 'Win Now', 'Dynasty', or 'Rebuild' (anything else and you will need to add a new png to /static/ similar to the 'Rebuild.png' and 'Win Now.png' currently in there) + "rival": { + name: "Rival", // Can be anything (usually your rival's name) + link: 6, // manager array number within this array, or null to link back to all managers page + image: "/managers/rival.jpg", // either a specific manager photo or '/managers/everyone.png' or '/managers/question.png' + }, + "favoritePlayer": 1426, // (optional) this corresponds to the Sleeper player ID (https://api.sleeper.app/v1/players/nfl) + "valuePosition": "WR", // (optional) Favorite position (QB, WR, RB, TE, etc.) + "rookieOrVets": "Rookies", // (optional) 'Rookies' or 'Vets' (anything else and you will need to add a new png to /static/ similar to the 'Rookies.png' and 'Vets.png' currently in there) + "philosophy": "Your fantasy team's philosophy", + "tradingScale": 10, // 1 - 10 + "preferredContact": "Text", // 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template + }, + { + "roster": 11, // ID of the roster that the manager manages (look at the order of the power rankings graph) + "name": "Your Name", + "tookOver": 2020, // (optional) used if a manager took over a team, delete this line or change to null otherwise + "location": "Brooklyn", // (optional) + "bio": "Lorem ipsum...", + "photo": "/managers/name.jpg", // square ratio recommended (no larger than 500x500) + "fantasyStart": 2014, // (optional) when did the manager start playing fantasy football + "favoriteTeam": "nyj", // (optional) favorite NFL team, (follows convention: nyj, sea, mia, etc.) MUST BE LOWERCASE + "mode": "Win Now", // (optional) 'Win Now', 'Dynasty', or 'Rebuild' (anything else and you will need to add a new png to /static/ similar to the 'Rebuild.png' and 'Win Now.png' currently in there) + "rival": { + name: "Rival", // Can be anything (usually your rival's name) + link: 6, // manager array number within this array, or null to link back to all managers page + image: "/managers/rival.jpg", // either a specific manager photo or '/managers/everyone.png' or '/managers/question.png' + }, + "favoritePlayer": 1426, // (optional) this corresponds to the Sleeper player ID (https://api.sleeper.app/v1/players/nfl) + "valuePosition": "WR", // (optional) Favorite position (QB, WR, RB, TE, etc.) + "rookieOrVets": "Rookies", // (optional) 'Rookies' or 'Vets' (anything else and you will need to add a new png to /static/ similar to the 'Rookies.png' and 'Vets.png' currently in there) + "philosophy": "Your fantasy team's philosophy", + "tradingScale": 10, // 1 - 10 + "preferredContact": "Text", // 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template + }, + { + "roster": 12, // ID of the roster that the manager manages (look at the order of the power rankings graph) + "name": "Your Name", + "tookOver": 2020, // (optional) used if a manager took over a team, delete this line or change to null otherwise + "location": "Brooklyn", // (optional) + "bio": "Lorem ipsum...", + "photo": "/managers/name.jpg", // square ratio recommended (no larger than 500x500) + "fantasyStart": 2014, // (optional) when did the manager start playing fantasy football + "favoriteTeam": "nyj", // (optional) favorite NFL team, (follows convention: nyj, sea, mia, etc.) MUST BE LOWERCASE + "mode": "Win Now", // (optional) 'Win Now', 'Dynasty', or 'Rebuild' (anything else and you will need to add a new png to /static/ similar to the 'Rebuild.png' and 'Win Now.png' currently in there) + "rival": { + name: "Rival", // Can be anything (usually your rival's name) + link: 6, // manager array number within this array, or null to link back to all managers page + image: "/managers/rival.jpg", // either a specific manager photo or '/managers/everyone.png' or '/managers/question.png' + }, + "favoritePlayer": 1426, // (optional) this corresponds to the Sleeper player ID (https://api.sleeper.app/v1/players/nfl) + "valuePosition": "WR", // (optional) Favorite position (QB, WR, RB, TE, etc.) + "rookieOrVets": "Rookies", // (optional) 'Rookies' or 'Vets' (anything else and you will need to add a new png to /static/ similar to the 'Rookies.png' and 'Vets.png' currently in there) + "philosophy": "Your fantasy team's philosophy", + "tradingScale": 10, // 1 - 10 + "preferredContact": "Text", // 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template + }, ] From 7e67fa0bb29f6fd52af6e980533861e582c3f82e Mon Sep 17 00:00:00 2001 From: CptTobez <141162879+CptTobez@users.noreply.github.com> Date: Tue, 1 Aug 2023 21:28:13 +0100 Subject: [PATCH 09/53] Update leagueInfo.js --- src/lib/utils/leagueInfo.js | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/src/lib/utils/leagueInfo.js b/src/lib/utils/leagueInfo.js index cf9abe0b4..b6fe4523c 100644 --- a/src/lib/utils/leagueInfo.js +++ b/src/lib/utils/leagueInfo.js @@ -24,25 +24,24 @@ https://github.com/nmelhado/league-page/blob/master/TRAINING_WHEELS.md#ii-adding export const managers = [ { "roster": 1, // ID of the roster that the manager manages (look at the order of the power rankings graph) - "name": "Your Name", - "tookOver": 2020, // (optional) used if a manager took over a team, delete this line or change to null otherwise - "location": "Brooklyn", // (optional) - "bio": "Lorem ipsum...", + "name": "Toby", + "location": "Sutton, SW London", // (optional) + "bio": "#StraightOuttaSurrey. Career detective yet can't detect a winning roster for the life of me", "photo": "/managers/name.jpg", // square ratio recommended (no larger than 500x500) - "fantasyStart": 2014, // (optional) when did the manager start playing fantasy football - "favoriteTeam": "nyj", // (optional) favorite NFL team, (follows convention: nyj, sea, mia, etc.) MUST BE LOWERCASE - "mode": "Win Now", // (optional) 'Win Now', 'Dynasty', or 'Rebuild' (anything else and you will need to add a new png to /static/ similar to the 'Rebuild.png' and 'Win Now.png' currently in there) + "fantasyStart": 2015, // (optional) when did the manager start playing fantasy football + "favoriteTeam": "dal", // (optional) favorite NFL team, (follows convention: nyj, sea, mia, etc.) MUST BE LOWERCASE + "mode": "Dynasty", // (optional) 'Win Now', 'Dynasty', or 'Rebuild' (anything else and you will need to add a new png to /static/ similar to the 'Rebuild.png' and 'Win Now.png' currently in there) "rival": { - name: "Rival", // Can be anything (usually your rival's name) + name: "Brett", // Can be anything (usually your rival's name) link: 6, // manager array number within this array, or null to link back to all managers page image: "/managers/rival.jpg", // either a specific manager photo or '/managers/everyone.png' or '/managers/question.png' }, - "favoritePlayer": 1426, // (optional) this corresponds to the Sleeper player ID (https://api.sleeper.app/v1/players/nfl) + "favoritePlayer": 6803, // (optional) this corresponds to the Sleeper player ID (https://api.sleeper.app/v1/players/nfl) "valuePosition": "WR", // (optional) Favorite position (QB, WR, RB, TE, etc.) "rookieOrVets": "Rookies", // (optional) 'Rookies' or 'Vets' (anything else and you will need to add a new png to /static/ similar to the 'Rookies.png' and 'Vets.png' currently in there) - "philosophy": "Your fantasy team's philosophy", + "philosophy": "Bouncing Back: a book that's been described as "lovely stuff". Not my words, Michael, the words of Shakin' Stevens.", "tradingScale": 10, // 1 - 10 - "preferredContact": "Text", // 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template + "preferredContact": "WhatsApp", // 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template }, { "roster": 2, // ID of the roster that the manager manages (look at the order of the power rankings graph) From d17c13b1eb7b73d38300cacb8da631831a0decd1 Mon Sep 17 00:00:00 2001 From: CptTobez <141162879+CptTobez@users.noreply.github.com> Date: Tue, 1 Aug 2023 21:29:21 +0100 Subject: [PATCH 10/53] Update leagueInfo.js --- src/lib/utils/leagueInfo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/utils/leagueInfo.js b/src/lib/utils/leagueInfo.js index b6fe4523c..3b9c369c5 100644 --- a/src/lib/utils/leagueInfo.js +++ b/src/lib/utils/leagueInfo.js @@ -39,7 +39,7 @@ export const managers = [ "favoritePlayer": 6803, // (optional) this corresponds to the Sleeper player ID (https://api.sleeper.app/v1/players/nfl) "valuePosition": "WR", // (optional) Favorite position (QB, WR, RB, TE, etc.) "rookieOrVets": "Rookies", // (optional) 'Rookies' or 'Vets' (anything else and you will need to add a new png to /static/ similar to the 'Rookies.png' and 'Vets.png' currently in there) - "philosophy": "Bouncing Back: a book that's been described as "lovely stuff". Not my words, Michael, the words of Shakin' Stevens.", + "philosophy": "Bouncing Back: a book that's been described as 'lovely stuff'. Not my words, Michael, the words of Shakin' Stevens.", "tradingScale": 10, // 1 - 10 "preferredContact": "WhatsApp", // 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template }, From 1d71335d5490f1851c27d32ea3282d1cf305b4af Mon Sep 17 00:00:00 2001 From: CptTobez <141162879+CptTobez@users.noreply.github.com> Date: Fri, 4 Aug 2023 15:55:12 +0100 Subject: [PATCH 11/53] Update leagueInfo.js --- src/lib/utils/leagueInfo.js | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/src/lib/utils/leagueInfo.js b/src/lib/utils/leagueInfo.js index 3b9c369c5..7379e56b7 100644 --- a/src/lib/utils/leagueInfo.js +++ b/src/lib/utils/leagueInfo.js @@ -45,25 +45,24 @@ export const managers = [ }, { "roster": 2, // ID of the roster that the manager manages (look at the order of the power rankings graph) - "name": "Your Name", - "tookOver": 2020, // (optional) used if a manager took over a team, delete this line or change to null otherwise - "location": "Brooklyn", // (optional) - "bio": "Lorem ipsum...", + "name": "Mik", + "location": "Letchworth Garden City", // (optional) + "bio": "From the Midlands and sort of bounced around since uni. Just wanna eat the rich tbh", "photo": "/managers/name.jpg", // square ratio recommended (no larger than 500x500) - "fantasyStart": 2014, // (optional) when did the manager start playing fantasy football - "favoriteTeam": "nyj", // (optional) favorite NFL team, (follows convention: nyj, sea, mia, etc.) MUST BE LOWERCASE - "mode": "Win Now", // (optional) 'Win Now', 'Dynasty', or 'Rebuild' (anything else and you will need to add a new png to /static/ similar to the 'Rebuild.png' and 'Win Now.png' currently in there) + "fantasyStart": 2015, // (optional) when did the manager start playing fantasy football + "favoriteTeam": "phi", // (optional) favorite NFL team, (follows convention: nyj, sea, mia, etc.) MUST BE LOWERCASE + "mode": "Rebuild", // (optional) 'Win Now', 'Dynasty', or 'Rebuild' (anything else and you will need to add a new png to /static/ similar to the 'Rebuild.png' and 'Win Now.png' currently in there) "rival": { - name: "Rival", // Can be anything (usually your rival's name) - link: 6, // manager array number within this array, or null to link back to all managers page + name: "Dean", // Can be anything (usually your rival's name) + link: 7, // manager array number within this array, or null to link back to all managers page image: "/managers/rival.jpg", // either a specific manager photo or '/managers/everyone.png' or '/managers/question.png' }, - "favoritePlayer": 1426, // (optional) this corresponds to the Sleeper player ID (https://api.sleeper.app/v1/players/nfl) + "favoritePlayer": 1283, // (optional) this corresponds to the Sleeper player ID (https://api.sleeper.app/v1/players/nfl) "valuePosition": "WR", // (optional) Favorite position (QB, WR, RB, TE, etc.) - "rookieOrVets": "Rookies", // (optional) 'Rookies' or 'Vets' (anything else and you will need to add a new png to /static/ similar to the 'Rookies.png' and 'Vets.png' currently in there) - "philosophy": "Your fantasy team's philosophy", + "rookieOrVets": "Vets", // (optional) 'Rookies' or 'Vets' (anything else and you will need to add a new png to /static/ similar to the 'Rookies.png' and 'Vets.png' currently in there) + "philosophy": "If I have a shot, go for it.", "tradingScale": 10, // 1 - 10 - "preferredContact": "Text", // 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template + "preferredContact": "WhatsApp", // 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template }, { "roster": 3, // ID of the roster that the manager manages (look at the order of the power rankings graph) From 3c6228d46cc41fd44a516c39138b7de267b283dd Mon Sep 17 00:00:00 2001 From: CptTobez <141162879+CptTobez@users.noreply.github.com> Date: Fri, 4 Aug 2023 16:03:26 +0100 Subject: [PATCH 12/53] Update leagueInfo.js --- src/lib/utils/leagueInfo.js | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/src/lib/utils/leagueInfo.js b/src/lib/utils/leagueInfo.js index 7379e56b7..b32b6510a 100644 --- a/src/lib/utils/leagueInfo.js +++ b/src/lib/utils/leagueInfo.js @@ -88,25 +88,24 @@ export const managers = [ }, { "roster": 4, // ID of the roster that the manager manages (look at the order of the power rankings graph) - "name": "Your Name", - "tookOver": 2020, // (optional) used if a manager took over a team, delete this line or change to null otherwise - "location": "Brooklyn", // (optional) + "name": "Greg Holmes", + "location": "Hull aka 'ull", // (optional) "bio": "Lorem ipsum...", "photo": "/managers/name.jpg", // square ratio recommended (no larger than 500x500) - "fantasyStart": 2014, // (optional) when did the manager start playing fantasy football - "favoriteTeam": "nyj", // (optional) favorite NFL team, (follows convention: nyj, sea, mia, etc.) MUST BE LOWERCASE + "fantasyStart": 2016, // (optional) when did the manager start playing fantasy football + "favoriteTeam": "ten", // (optional) favorite NFL team, (follows convention: nyj, sea, mia, etc.) MUST BE LOWERCASE "mode": "Win Now", // (optional) 'Win Now', 'Dynasty', or 'Rebuild' (anything else and you will need to add a new png to /static/ similar to the 'Rebuild.png' and 'Win Now.png' currently in there) "rival": { - name: "Rival", // Can be anything (usually your rival's name) + name: "League winner, now and forever", // Can be anything (usually your rival's name) link: 6, // manager array number within this array, or null to link back to all managers page image: "/managers/rival.jpg", // either a specific manager photo or '/managers/everyone.png' or '/managers/question.png' }, - "favoritePlayer": 1426, // (optional) this corresponds to the Sleeper player ID (https://api.sleeper.app/v1/players/nfl) - "valuePosition": "WR", // (optional) Favorite position (QB, WR, RB, TE, etc.) + "favoritePlayer": 4046, // (optional) this corresponds to the Sleeper player ID (https://api.sleeper.app/v1/players/nfl) + "valuePosition": "RB", // (optional) Favorite position (QB, WR, RB, TE, etc.) "rookieOrVets": "Rookies", // (optional) 'Rookies' or 'Vets' (anything else and you will need to add a new png to /static/ similar to the 'Rookies.png' and 'Vets.png' currently in there) - "philosophy": "Your fantasy team's philosophy", + "philosophy": "Love drafting rookie's and finding diamonds; but if I'm sniffing playoff run ready to trade up!", "tradingScale": 10, // 1 - 10 - "preferredContact": "Text", // 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template + "preferredContact": "WhatsApp/Sleeper", // 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template }, { "roster": 5, // ID of the roster that the manager manages (look at the order of the power rankings graph) From eaf7be8fb8e7e00ddfd455b9aa50791f0133c475 Mon Sep 17 00:00:00 2001 From: CptTobez <141162879+CptTobez@users.noreply.github.com> Date: Fri, 4 Aug 2023 16:07:23 +0100 Subject: [PATCH 13/53] Update leagueInfo.js --- src/lib/utils/leagueInfo.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/utils/leagueInfo.js b/src/lib/utils/leagueInfo.js index b32b6510a..56b798243 100644 --- a/src/lib/utils/leagueInfo.js +++ b/src/lib/utils/leagueInfo.js @@ -103,9 +103,9 @@ export const managers = [ "favoritePlayer": 4046, // (optional) this corresponds to the Sleeper player ID (https://api.sleeper.app/v1/players/nfl) "valuePosition": "RB", // (optional) Favorite position (QB, WR, RB, TE, etc.) "rookieOrVets": "Rookies", // (optional) 'Rookies' or 'Vets' (anything else and you will need to add a new png to /static/ similar to the 'Rookies.png' and 'Vets.png' currently in there) - "philosophy": "Love drafting rookie's and finding diamonds; but if I'm sniffing playoff run ready to trade up!", + "philosophy": "Love drafting rookie's and finding diamonds; but if I'm sniffing playoff run ready to trade up!", "tradingScale": 10, // 1 - 10 - "preferredContact": "WhatsApp/Sleeper", // 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template + "preferredContact": "WhatsApp", // 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template }, { "roster": 5, // ID of the roster that the manager manages (look at the order of the power rankings graph) From 0d723a3bf1623f63c8239c0964bab085d0b49140 Mon Sep 17 00:00:00 2001 From: CptTobez <141162879+CptTobez@users.noreply.github.com> Date: Fri, 4 Aug 2023 16:11:34 +0100 Subject: [PATCH 14/53] Update leagueInfo.js --- src/lib/utils/leagueInfo.js | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/src/lib/utils/leagueInfo.js b/src/lib/utils/leagueInfo.js index 56b798243..9f919b70e 100644 --- a/src/lib/utils/leagueInfo.js +++ b/src/lib/utils/leagueInfo.js @@ -219,25 +219,24 @@ export const managers = [ }, { "roster": 10, // ID of the roster that the manager manages (look at the order of the power rankings graph) - "name": "Your Name", - "tookOver": 2020, // (optional) used if a manager took over a team, delete this line or change to null otherwise - "location": "Brooklyn", // (optional) - "bio": "Lorem ipsum...", + "name": "Steve/Giff", + "location": "Colliers Wood", // (optional) + "bio": "Bengals and Crystal Palace bemoaner for 10+ years, big bazball fan and Oasis worshipper. Milk last for a brew, I'm not a heathen.", "photo": "/managers/name.jpg", // square ratio recommended (no larger than 500x500) - "fantasyStart": 2014, // (optional) when did the manager start playing fantasy football - "favoriteTeam": "nyj", // (optional) favorite NFL team, (follows convention: nyj, sea, mia, etc.) MUST BE LOWERCASE + "fantasyStart": 2013, // (optional) when did the manager start playing fantasy football + "favoriteTeam": "cin", // (optional) favorite NFL team, (follows convention: nyj, sea, mia, etc.) MUST BE LOWERCASE "mode": "Win Now", // (optional) 'Win Now', 'Dynasty', or 'Rebuild' (anything else and you will need to add a new png to /static/ similar to the 'Rebuild.png' and 'Win Now.png' currently in there) "rival": { - name: "Rival", // Can be anything (usually your rival's name) - link: 6, // manager array number within this array, or null to link back to all managers page + name: "Baards", // Can be anything (usually your rival's name) + link: 12, // manager array number within this array, or null to link back to all managers page image: "/managers/rival.jpg", // either a specific manager photo or '/managers/everyone.png' or '/managers/question.png' }, - "favoritePlayer": 1426, // (optional) this corresponds to the Sleeper player ID (https://api.sleeper.app/v1/players/nfl) + "favoritePlayer": 2896, // (optional) this corresponds to the Sleeper player ID (https://api.sleeper.app/v1/players/nfl) "valuePosition": "WR", // (optional) Favorite position (QB, WR, RB, TE, etc.) "rookieOrVets": "Rookies", // (optional) 'Rookies' or 'Vets' (anything else and you will need to add a new png to /static/ similar to the 'Rookies.png' and 'Vets.png' currently in there) - "philosophy": "Your fantasy team's philosophy", - "tradingScale": 10, // 1 - 10 - "preferredContact": "Text", // 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template + "philosophy": "A rookie is for life, not just for Christmas", + "tradingScale": 7, // 1 - 10 + "preferredContact": "WhatsApp", // 'Text', 'WhatsApp', 'Sleeper', 'Email', 'Phone', 'Discord', and 'Carrier Pigeon' are currently supplied in the template }, { "roster": 11, // ID of the roster that the manager manages (look at the order of the power rankings graph) From d0d991efbbc3410c202cb9b3b10991772cf341b1 Mon Sep 17 00:00:00 2001 From: CptTobez <141162879+CptTobez@users.noreply.github.com> Date: Fri, 4 Aug 2023 16:17:39 +0100 Subject: [PATCH 15/53] Add files via upload --- static/managers/DW Logo.png | Bin 0 -> 93706 bytes static/managers/Giff.png | Bin 0 -> 307198 bytes static/managers/Mik.png | Bin 0 -> 303706 bytes static/managers/Toby.png | Bin 0 -> 113956 bytes 4 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 static/managers/DW Logo.png create mode 100644 static/managers/Giff.png create mode 100644 static/managers/Mik.png create mode 100644 static/managers/Toby.png diff --git a/static/managers/DW Logo.png b/static/managers/DW Logo.png new file mode 100644 index 0000000000000000000000000000000000000000..49db7cc6ed580d76e817adaa61a513211fe6b6f8 GIT binary patch literal 93706 zcmc$^1yEd3ur@fjdvFi#?h+)pI}8%sVQ_~K+}$;}yABrICAho0J0U-LuXf+RTlM~` z-L3k!Z{5@1boV*uySMI{)6;YRF8$pCpvy|iNCF@r004-O1MqhTVo63^{F}0>lBA5h z#D6-50UrX*3IN#IyEv&ziIHjR0LkFC{2F(<-YqH4QadD3(;fpkI*HdN=By38-3_>U-zd6!(@U%*W9PFu#w@y+EezLb(uu-J+R{t|?+>&5R2=DL`hj*7g(z+qBZvGuX) z#w?lUmCr^Nu^o e8lR&P_LU|qpvd}r+HQQo6*d?#@jn=JmvwdL`1LfzV2VA_jBg?f5G z0^%tB@ODKl7T0B+0I04dTm16{wF8EkTF@@upiV! H&J zI~1SgPhDP6*_x=}KGDLl-PTLZXtIW9gA(m e@ZN!Syw1O0hx+-hkj$|lccGWoVQDzG6U2#qir-s{9`!C>p zyI(@kF>XdqX)fnV0B5S;50gVgp4a=A2aRu57sRbjyiXG0VpI1@5)I9X#*%?tMm0Yc z8*CSS4BZ*w8^0NM;v{Qp1!VIijfP|y;LXwC=w=`>ji0Ht8l#A5ajzCi|F0J!m5m&j z3|h>9_)J!_<(Da7j>h3~YOdm_7FnzVSM94FTw0->R9cy73%Nmz@}U2(x~bB_Kk&Q0 zNrkVWdwTbA*SNt?m^5M>>#+JoeMf8=7>ro6{gXTw1pLj zmWbaZdk z)Enz3B>N|hD*i^(9hkc^Xb2bAkgEi0nHAd^^0_K(Y$*;>PCohYBsZfcIQGt`MvTHY zD;o_#9zf={)NsROXGBCst`Gr-w)F=f7Vq&m$KcBuum4{F!;cCF3;C8bc2`Gx78%aU za%xR!JP&cjUEf!D?f!(is?*QO)s&uO7g!G(#I$8 +bs**kbesxDu0g_rF&?Cvo{%`dKj216t<|sgzTwiB(xn=F>o2-2SYC%S^ z+-e9lE@^jY{TNg?0A~1&VId{Qx@;90Beip|r=ZFH58hE^*-DQtF&7T5mdIkt)9h?Y z (z!s%?Yzj7F`TT(TYK;Cxo{FV4FAeIV86*WE2e7#TykB(VsT=}2mgoz~ z32K!IMwU22X _^->yX6^wK^jJ9k>t)wY~&rJpB~yCzQ>GD;_j6X&OH?v`y8X>8zc(4&2rB%r#H< z2AL7c%j!0(9?G9BkFA)W?AlL@Nv^khpAwD$bu;hPaFH_-^u8cjp`Knq>G3@;T#u}i zl+rD&*(mQtnEUJFQT>e7e>?3{yT61Q_RzhlmiMNJ;7*C;&E+w?Wwxc$Y|m9QA$l6Q z5!2TQ7CIbm8|2(9c+ht~4(2jv9`va9SQGJ=xgeU;n5)traz*=;eY+qi+K*%+*oj0u z!PkO4k(PLkIFhw>h-H&(Zfa|_Yk1vp>RNQ9&N;byKIgOd7f>eyJkUr*qxAYZyo?v? z&k_3Fl{bfDVPhyck@3)Dh7e4*&4daysAYHP=?86V=s{KDvUR19NZ=82>>*`*2pQXY zDKX@A+YsM&1g96d%qs{1Hn62WzOWQb@V^1Nw?T!@vyk e0Uv8&!*}i1ve