scratch-www/src/routes.json

415 lines
12 KiB
JSON
Raw Normal View History

[
{
"name": "about",
"pattern": "^/about/?$",
"routeAlias": "/about/?$",
"view": "about/about",
"title": "About"
2015-09-08 10:54:15 -04:00
},
{
2017-07-21 07:30:42 -04:00
"name": "camp",
"pattern": "^/camp/?$",
"routeAlias": "/camp/?$",
"view": "camp/camp",
"title": "Down Deep"
},
2016-07-21 16:56:01 -04:00
{
2017-07-21 07:30:42 -04:00
"name": "cards",
"pattern": "^/info/cards/?$",
"routeAlias": "/info/(cards|communityblocks-interviews|credits|faq)/?$",
"view": "cards/cards",
"title": "Cards"
2016-07-21 16:56:01 -04:00
},
{
2017-07-21 07:30:42 -04:00
"name": "communityblocks-interviews",
"pattern": "^/info/communityblocks-interviews/?$",
"routeAlias": "/info/(cards|communityblocks-interviews|credits|faq|donate)/?$",
"view": "communityblocks-interviews/communityblocks-interviews",
"title": "Community Blocks Beta Tester Interviews"
},
{
2016-07-19 16:51:28 -04:00
"name": "conference-index",
"pattern": "^/conference/?(\\?.*)?$",
"routeAlias": "/conference(?!/201[4-5])",
"view": "conference/2018/index/index",
"title": "Scratch Conference",
"viewportWidth": "device-width"
},
{
"name": "conference-index-2017",
"pattern": "^/conference/2017/?$",
"routeAlias": "/conference(?!/201[4-5])",
2017-02-15 08:35:10 -05:00
"view": "conference/2017/index/index",
2016-07-19 16:51:28 -04:00
"title": "Scratch Conference",
"viewportWidth": "device-width"
},
{
2018-05-22 14:34:47 -04:00
"name": "conference-details-2018",
"pattern": "^/conference/2018/:id/details/?$",
"routeAlias": "/conference(?!/201[4-5])",
2018-05-22 14:34:47 -04:00
"view": "conference/2018/details/details",
"title": "Event Details"
},
{
"name": "conference-expectations-2018",
"pattern": "^/conference/2018/expect/?$",
"routeAlias": "/conference(?!/201[4-5])",
"view": "conference/2018/expect/expect",
"title": "What to Expect"
},
{
"name": "conference-index-2018",
"pattern": "^/conference/2018/?$",
"routeAlias": "/conference(?!/201[4-5])",
"view": "conference/2018/index/index",
"title": "Scratch Conference",
"viewportWidth": "device-width"
},
{
2018-05-22 14:34:47 -04:00
"name": "conference-plan-2018",
"pattern": "^/conference/2018/plan/?$",
"routeAlias": "/conference(?!/201[4-5])",
2018-05-22 14:34:47 -04:00
"view": "conference/2018/plan/plan",
"title": "Plan Your Visit"
},
{
2018-05-22 14:34:47 -04:00
"name": "conference-schedule-2018",
"pattern": "^/conference/2018/schedule/?$",
"routeAlias": "/conference(?!/201[4-5])",
2018-05-22 14:34:47 -04:00
"view": "conference/2018/schedule/schedule",
"title": "Conference Schedule"
},
{
"name": "connect",
"pattern": "^/connect/?$",
"routeAlias": "/connect/?$",
"redirect": "https://eepurl.com/cws7_f"
},
{
2017-07-21 07:30:42 -04:00
"name": "credits",
"pattern": "^/info/credits/?$",
"routeAlias": "/info/(cards|communityblocks-interviews|credits|faq|donate)/?$",
"view": "credits/credits",
"title": "Credits"
},
{
2016-07-19 16:51:28 -04:00
"name": "developers",
"pattern": "^/developers/?$",
"routeAlias": "/developers/?$",
2016-07-19 16:51:28 -04:00
"view": "developers/developers",
"title": "Developers"
2016-01-31 13:02:10 -05:00
},
2016-06-01 11:57:50 -04:00
{
2016-07-19 16:51:28 -04:00
"name": "dmca",
"pattern": "^/DMCA/?$",
"routeAlias": "/DMCA/?$",
2016-07-19 16:51:28 -04:00
"view": "dmca/dmca",
"title": "DMCA"
2016-06-01 11:57:50 -04:00
},
2017-07-21 07:30:42 -04:00
{
"name": "download",
"pattern": "^/download/?$",
"routeAlias": "/download",
"view": "download/download",
"title": "Scratch Offline Editor"
Down Deep - Scratch Camp 2017 Page (#1409) * Add files via upload * Create downdeep.jsx * Delete downdeep.jsx * Delete downdeep.scss * Delete l10n.json * Delete downdeep.jsx * Create dd.jsx * Rename dd.jsx to filler.jsx * Add files via upload * Delete dd.jsx * Delete filler.jsx * Create filler.jsx * Add files via upload * Delete filler.jsx * Update routes.json * whoops * travis * Update downdeep.jsx * Update downdeep.scss * Update downdeep.scss * Update _colors.scss * what i get for rushing * Update downdeep.jsx * Update l10n.json * thisandagain's changes * Carl's Changes * carl's changes * carl's changes * Update downdeep.jsx * Rename downdeep.jsx to camp.jsx * Rename downdeep.scss to camp.scss * Rename src/views/downdeep/camp.jsx to src/views/camp/camp.jsx * Rename src/views/downdeep/camp.scss to src/views/camp/camp.scss * Rename src/views/downdeep/l10n.json to src/views/camp/l10n.json * Update camp.jsx * Add files via upload * Update camp.jsx * Update camp.scss * Update l10n.json * Create filler * Add files via upload * Delete bubbles.svg * Delete dolphin.svg * Delete fish-divider.svg * Delete fish-divider2.svg * Delete map.svg * Delete ocean-bottom.svg * Delete ocean-top.svg * Delete treasure.svg * Update camp.scss * Update camp.scss * Update camp.scss * Update camp.jsx * whoops * Update camp.scss * Update l10n.json * Update camp.scss * Update camp.jsx * Update _colors.scss * Update camp.scss * Update camp.scss * Update camp.scss * Update camp.scss * Update _colors.scss * Update camp.scss * Update camp.scss
2017-07-19 11:48:29 -04:00
},
2016-06-23 17:26:28 -04:00
{
"name": "educator-landing",
"pattern": "^/educators/?$",
"routeAlias": "/educators(?:/(faq|register|waiting))?/?$",
2016-06-23 17:26:28 -04:00
"view": "teachers/landing/landing",
"title": "Educators"
},
{
2016-07-19 16:51:28 -04:00
"name": "explore",
"pattern": "^/explore/:projects(projects|studios)/:all/?$",
"routeAlias": "/explore(?!/ajax)",
2016-07-19 16:51:28 -04:00
"view": "explore/explore",
"title": "Explore"
2016-04-21 16:22:39 -04:00
},
{
2017-07-21 07:30:42 -04:00
"name": "faq",
"pattern": "^/info/faq/?$",
"routeAlias": "/info/(cards|communityblocks-interviews|credits|faq)/?$",
2017-07-21 07:30:42 -04:00
"view": "faq/faq",
"title": "FAQ"
},
{
2017-07-21 07:30:42 -04:00
"name": "guidelines",
"pattern": "^/community_guidelines/?$",
"routeAlias": "/community_guidelines/?$",
"view": "guidelines/guidelines",
"title": "Scratch Community Guidelines"
},
2016-04-23 08:14:17 -04:00
{
2016-07-19 16:51:28 -04:00
"name": "jobs",
"pattern": "^/jobs/?$",
"routeAlias": "/jobs(/moderator)?/?$",
2016-07-19 16:51:28 -04:00
"view": "jobs/jobs",
"title": "Jobs"
2016-05-13 20:45:48 -04:00
},
2017-02-23 11:53:29 -05:00
{
"name": "jobs-moderator",
2017-02-28 09:33:18 -05:00
"pattern": "^/jobs/moderator/?$",
"routeAlias": "/jobs(/moderator)?/?$",
2017-02-23 11:53:29 -05:00
"view": "jobs/moderator/moderator",
"title": "Community Moderator"
},
{
"name": "messages",
"pattern": "^/messages/?$",
"routeAlias": "/messages(?!/ajax)",
"view": "messages/container",
"title": "Messages"
},
2017-07-21 07:30:42 -04:00
{
"name": "microworld-art",
"pattern": "^/microworlds/art",
"routeAlias": "/microworlds",
"view": "microworld/art/art",
"title": "Art"
},
{
"name": "microworld-fashion",
"pattern": "^/microworlds/fashion",
"routeAlias": "/microworlds",
"view": "microworld/fashion/fashion",
"title": "Fashion"
},
{
"name": "microworld-hiphop",
"pattern": "^/microworlds/hiphop",
"routeAlias": "/microworlds",
"view": "microworld/hiphop/hiphop",
"title": "Hip Hop Dance"
},
{
"name": "microworld-soccer",
"pattern": "^/microworlds/soccer",
"routeAlias": "/microworlds",
"view": "microworld/soccer/soccer",
"title": "Soccer"
},
{
"name": "microworlds-homepage",
"pattern": "^/microworlds/go/?(\\?.*)?$",
"routeAlias": "/microworlds",
"view": "microworldshomepage/microworldshomepage",
"title": "Microworlds"
},
2018-02-20 17:04:45 -05:00
{
"name": "preview",
"pattern": "^/preview(/editor|(/\\d+(/editor|/fullscreen)?)?)?/?$",
2018-02-20 17:04:45 -05:00
"routeAlias": "/preview/?$",
"view": "preview/preview",
"title": "Scratch 3.0 Preview"
},
2018-01-08 13:39:29 -05:00
{
"name": "3faq",
"pattern": "^/3faq/?$",
"routeAlias": "/3faq/?$",
"view": "preview-faq/preview-faq",
"title": "Scratch 3.0 FAQ"
},
{
"name": "preview-faq-redirect",
2018-01-08 13:39:29 -05:00
"pattern": "^/preview-faq/?$",
"routeAlias": "/preview-faq",
"redirect": "/3faq"
2018-01-08 13:39:29 -05:00
},
2016-05-13 20:45:48 -04:00
{
"name": "privacypolicy",
"pattern": "^/privacy_policy/?$",
"routeAlias": "/privacy_policy/?$",
2016-05-13 20:45:48 -04:00
"view": "privacypolicy/privacypolicy",
"title": "Privacy Policy"
2016-05-18 21:37:06 -04:00
},
{
"name": "research",
"pattern": "^/research/?$",
"routeAlias": "/research",
"view": "research/research",
"title": "Research"
},
2016-07-19 16:51:28 -04:00
{
"name": "search",
"pattern": "^/search/:projects/?$",
"routeAlias": "/search",
2016-07-19 16:51:28 -04:00
"view": "search/search",
"title": "Search"
},
2017-02-01 15:57:04 -05:00
{
2017-07-21 07:30:42 -04:00
"name": "splash",
"pattern": "^/?$",
"routeAlias": "/?$",
"view": "splash/splash",
"title": "Imagine, Program, Share"
},
{
"name": "student-complete-registration",
"pattern": "^/classes/complete_registration",
"routeAlias": "/classes/(complete_registration|.+/register/.+)",
"view": "studentcompleteregistration/studentcompleteregistration",
"title": "Complete your Registration"
},
{
"name": "student-registration",
"pattern": "^/classes/:id/register/:token",
"routeAlias": "/classes/(complete_registration|.+/register/.+)",
"view": "studentregistration/studentregistration",
"title": "Class Registration"
},
{
"name": "teacher-faq",
"pattern": "^/educators/faq/?$",
"routeAlias": "/educators(?:/(faq|register|waiting))?/?$",
"view": "teachers/faq/faq",
"title": "Teacher Accounts FAQ"
},
{
"name": "teacherregistration",
"pattern": "^/educators/register/?$",
"routeAlias": "/educators(?:/(faq|register|waiting))?/?$",
"view": "teacherregistration/teacherregistration",
"title": "Teacher Registration"
},
{
"name": "teacherwaitingroom",
"pattern": "^/educators/waiting",
"routeAlias": "/educators(?:/(faq|register|waiting))?/?$",
"view": "teacherwaitingroom/teacherwaitingroom",
"title": "Thank you for requesting a Scratch Teacher Account"
2017-02-01 15:57:04 -05:00
},
2016-05-18 21:37:06 -04:00
{
2016-05-26 11:31:54 -04:00
"name": "terms",
2016-05-18 21:37:06 -04:00
"pattern": "^/terms_of_use/?$",
"routeAlias": "/terms_of_use/?$",
2016-05-26 11:31:54 -04:00
"view": "terms/terms",
2016-05-18 21:37:06 -04:00
"title": "Scratch Terms of Use"
2016-07-19 16:51:28 -04:00
},
2017-07-21 07:30:42 -04:00
{
"name": "tips",
"pattern": "^/tips/?(\\?.*)?$",
"routeAlias": "/tips/?\\??",
"view": "tips/tips",
"title": "Tips"
},
2016-07-19 16:51:28 -04:00
{
"name": "wedo2",
"pattern": "^/wedo/?$",
"routeAlias": "/wedo/?$",
2016-07-19 16:51:28 -04:00
"view": "wedo2/wedo2",
"title": "LEGO WeDo 2.0"
},
{
"name": "wedo-legacy",
"pattern": "^/wedo-legacy/?$",
"routeAlias": "/wedo-legacy/?$",
"view": "wedo2-legacy/wedo2",
"title": "LEGO WeDo"
},
Add landing pages for the micro:bit and EV3 extensions (#1981) * start building ev3 landing page structure * Inject translations, add more content and structure to ev3 landing page * Add ev3 route * add active styles for os chooser buttons * Add ev3 assets * Add content and intial styles for everything down to "Sample Projects" * Add correct padding to all sections on ev3 page * Add more margins to match the mockup * Create os chooser component for reuse on other landing pages * Make EV3 page stateful, add OS logic, change step styles, fix images on Chrome * Add sample project cards and styles * Add fixed ev3 icon svg * Add app store badges (no href on links yet) * Add section separator, fix sample project card margins * Add border to project cards, make project cards clickable links * Add FAQ boilerplate and styling from InformationPage component * Add indented ol style, example * Add link style with underline * Add EV3 retail link * Content updates * Fix some z-index issues with os chooser * micro:bit page mega-commit * os chooser should not have a higher z-index than nav * Update starter projects * Localize OS chooser * Add localization configuration for EV3 page * Localize section titles on ev3 page * Add starter project images and descriptions * Add link to microbit.org * Fix tip box width on microbit and ev3 pages * add l10n strings up to things to try on ev3 page * Fix lint error in ev3.scss * Add download link style to ev3 * microbit getting started text and images * Remove tip about microbit name * Hex file and starter project download links * microbit wording updates * update images * Fix issues with download link style * text fix * Add ev3 starter project downloads * Add microbit l10n file and config * Add l10n strings for microbit header and scratch link sections * Add l10n strings for microbit page up to faq * content updates * Fix some page overflow issues * microbit faq content and style * Use zipped version of microbit hex file * Add platform name to scratch link download button * Add EV3 faq to l10n.json * Add final strings from micro:bit and EV3 pages to l10n.json files * Add white download asset * Tweak styles for ev3 and microbit * Add some final tweaks to the EV3 page styles * Add TODO comments about refactoring duplicate code
2018-07-19 18:08:44 -04:00
{
"name": "ev3",
"pattern": "^/ev3/?$",
"routeAlias": "/ev3/?$",
"view": "ev3/ev3",
"title": "LEGO MINDSTORMS EV3"
},
{
"name": "microbit",
"pattern": "^/microbit/?$",
"routeAlias": "/microbit/?$",
"view": "microbit/microbit",
"title": "micro:bit"
},
2017-07-26 10:26:32 -04:00
{
"name": "donate-redirect",
"pattern": "^/info/donate/?",
"routeAlias": "/info/(cards|communityblocks-interviews|credits|faq|donate)/?$",
"redirect": "https://secure.donationpay.org/scratchfoundation/"
},
{
"name": "donate-redirect2",
"pattern": "^/donate/?$",
"routeAlias": "/donate/?$",
"redirect": "https://secure.donationpay.org/scratchfoundation/"
},
2016-07-19 16:51:28 -04:00
{
2017-07-21 07:30:42 -04:00
"name": "download-redirect",
"pattern": "^/scratch2download/?$",
"routeAlias": "/scratch2download",
"redirect": "/download"
2017-06-20 14:38:14 -04:00
},
2016-07-19 16:51:28 -04:00
{
2017-07-21 07:30:42 -04:00
"name": "explore-projects-redirect",
"pattern": "^/explore/projects/?$",
"routeAlias": "/explore(?!/ajax)",
2016-07-19 16:51:28 -04:00
"redirect": "/explore/projects/all"
},
{
2017-07-21 07:30:42 -04:00
"name": "explore-redirect",
"pattern": "^/explore/?$",
"routeAlias": "/explore(?!/ajax)",
2016-07-19 16:51:28 -04:00
"redirect": "/explore/projects/all"
},
{
"name": "explore-studios-redirect",
"pattern": "^/explore/studios/?$",
"routeAlias": "/explore(?!/ajax)",
2016-07-19 16:51:28 -04:00
"redirect": "/explore/studios/all"
},
2017-07-21 09:51:45 -04:00
{
"name": "help-redirect",
"pattern": "^/help/?(\\?.*)?$",
"routeAlias": "/help/?(\\?.*)?$",
"redirect": "/tips"
},
{
"name": "hoc-redirect",
"pattern": "^/hoc/?(\\?.*)?$",
"routeAlias": "/hoc/?\\??",
"redirect": "/tips"
},
2017-12-02 12:19:45 -05:00
{
"name": "hoc2014-redirect",
"pattern": "^/hoc2014/?(\\?.*)?$",
"routeAlias": "/hoc2014/?\\??",
"redirect": "/tips"
},
{
2017-07-21 07:30:42 -04:00
"name": "info-redirect",
"pattern": "^/info/?(\\?.*)?$",
"routeAlias": "/info/?(\\?.*)?$",
"redirect": "/tips"
},
2018-04-03 09:13:30 -04:00
{
"name": "research-redirect",
"pattern": "^/info/research/?$",
"routeAlias": "/info/research",
"redirect": "/research"
},
{
2017-07-21 07:30:42 -04:00
"name": "search-redirect",
"pattern": "^/search/?$",
"routeAlias": "/search",
"redirect": "/search/projects"
},
{
2017-07-21 07:30:42 -04:00
"name": "splash-redirect",
"pattern": "^///?$",
"redirect": "/"
},
{
2017-07-21 07:30:42 -04:00
"name": "store",
"pattern": "^/store/?$",
"routeAlias": "/store",
"redirect": "https://scratch-foundation.myshopify.com"
2017-07-21 09:51:45 -04:00
},
{
"name": "things-to-try-redirect",
"pattern": "^/go/?(\\?.*)?$",
"routeAlias": "/go/?\\??",
"redirect": "/tips"
}
]