From c45af1af429586c8bfcd768e8c9f88030fad407c Mon Sep 17 00:00:00 2001 From: nm Date: Mon, 9 Aug 2021 22:43:46 -0400 Subject: [PATCH] remove managers.js --- src/routes/managers/index.svelte | 2 +- src/routes/managers/managers.js | 76 -------------------------------- 2 files changed, 1 insertion(+), 77 deletions(-) delete mode 100644 src/routes/managers/managers.js diff --git a/src/routes/managers/index.svelte b/src/routes/managers/index.svelte index 3c6bc12c5..7b4e049de 100644 --- a/src/routes/managers/index.svelte +++ b/src/routes/managers/index.svelte @@ -31,7 +31,7 @@ props.manager = manager; } - return { props, managers }; + return { props }; } diff --git a/src/routes/managers/managers.js b/src/routes/managers/managers.js deleted file mode 100644 index a12a0cc57..000000000 --- a/src/routes/managers/managers.js +++ /dev/null @@ -1,76 +0,0 @@ -/* -3 managers as an example. Uncomment (remove the //) before each line to make it live code -If you're having trouble, reference the Training Wheels' Manager Section -https://github.com/nmelhado/league-page/blob/master/TRAINING_WHEELS.md#2-add-managers -*/ - -// 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' 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' 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' and 'Carrier Pigeon' are currently supplied in the template - // }, -] \ No newline at end of file