scratch-www/src/routes.json

553 lines
16 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"
},
{
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": "^/credits/?$",
2017-07-21 07:30:42 -04:00
"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/?(.+)?$",
2017-07-21 07:30:42 -04:00
"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"
},
2018-12-13 10:49:04 -05:00
{
"name": "ideas",
"pattern": "^/ideas/?(\\?.*)?$",
"routeAlias": "/ideas/?\\??",
"view": "ideas/ideas",
"title": "Ideas"
},
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"
},
2018-02-20 17:04:45 -05:00
{
2018-11-19 14:59:56 -05:00
"name": "projects",
"pattern": "^/projects(/editor|(/\\d+(/editor|/fullscreen|/embed)?)?)?/?(\\?.*)?$",
2018-11-19 14:59:56 -05:00
"routeAlias": "/projects/?$",
2018-02-20 17:04:45 -05:00
"view": "preview/preview",
"title": "Scratch Project",
"dynamicMetaTags": true
2018-02-20 17:04:45 -05:00
},
2018-10-15 05:16:17 -04:00
{
"name": "parents",
"pattern": "^/parents/?$",
"routeAlias": "/parents/",
"view": "parents/parents",
"title": "For Parents"
},
{
"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"
},
2018-10-26 19:22:03 -04:00
{
"name": "scratch_1.4",
"pattern": "^/scratch_1.4/?$",
"routeAlias": "/scratch_1.4",
"view": "scratch_1.4/scratch_1.4",
"title": "Scratch 1.4"
},
{
"name": "scratch2",
"pattern": "^/download/scratch2/?$",
"routeAlias": "/download/scratch2",
"view": "download/scratch2/download",
"title": "Scratch 2.0"
},
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
},
{
"name": "wedo2",
"pattern": "^/wedo/?$",
"routeAlias": "/wedo/?$",
2016-07-19 16:51:28 -04:00
"view": "wedo2/wedo2",
"title": "LEGO WeDo 2.0"
},
{
"name": "wedo2-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"
},
2018-12-20 10:12:21 -05:00
{
"name":"3-faq-redirect",
"pattern": "^/3faq/?$",
"routeAlias": "/3faq/?$",
"redirect": "info/faq#scratch3"
},
{
"name" : "credits-redirect",
"pattern": "^/info/credits/?$",
"routeAlias": "/info/(cards|communityblocks-interviews|credits|faq|donate)/?$",
"redirect" : "/credits"
},
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"
},
2018-12-03 21:47:14 -05:00
{
"name": "info-cards-redirect",
"pattern": "^/info/cards/?$",
"redirect": "/ideas"
},
2017-07-21 09:51:45 -04:00
{
"name": "help-redirect",
"pattern": "^/help/?(\\?.*)?$",
"routeAlias": "/help/?(\\?.*)?$",
2018-12-13 10:49:04 -05:00
"redirect": "/ideas"
2017-07-21 09:51:45 -04:00
},
{
"name": "hoc-redirect",
"pattern": "^/hoc/?(\\?.*)?$",
"routeAlias": "/hoc/?\\??",
2018-12-13 10:49:04 -05:00
"redirect": "/ideas"
2017-07-21 09:51:45 -04:00
},
2017-12-02 12:19:45 -05:00
{
"name": "hoc2014-redirect",
"pattern": "^/hoc2014/?(\\?.*)?$",
"routeAlias": "/hoc2014/?\\??",
2018-12-13 10:49:04 -05:00
"redirect": "/ideas"
2017-12-02 12:19:45 -05:00
},
{
2017-07-21 07:30:42 -04:00
"name": "info-redirect",
"pattern": "^/info/?(\\?.*)?$",
"routeAlias": "/info/?(\\?.*)?$",
2018-12-13 10:49:04 -05:00
"redirect": "/ideas"
},
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
},
2018-12-13 10:49:04 -05:00
{
"name": "tips-redirect",
"pattern": "^/tips/?(\\?.*)?$",
"routeAlias": "/tips/?\\??",
"redirect": "/ideas"
},
2017-07-21 09:51:45 -04:00
{
"name": "things-to-try-redirect",
"pattern": "^/go/?(\\?.*)?$",
"routeAlias": "/go/?\\??",
2018-12-13 10:49:04 -05:00
"redirect": "/ideas"
},
{
"name": "create-tutorial-redirect",
"pattern": "^/create/?$",
"redirect": "/projects/editor/?tutorial=getStarted"
},
{
"name": "name-tutorial-redirect",
"pattern": "^/name/?$",
"redirect": "/projects/editor/?tutorial=name"
},
{
"name": "music-tutorial-redirect",
"pattern": "^/music/?$",
"redirect": "/projects/editor/?tutorial=music"
},
{
"name": "story-tutorial-redirect",
"pattern": "^/story/?$",
"redirect": "/projects/editor/?tutorial=story"
},
{
"name": "pong-tutorial-redirect",
"pattern": "^/pong/?$",
"redirect": "/projects/editor/?tutorial=pong"
},
{
"name": "clicker-tutorial-redirect",
"pattern": "^/clicker/?$",
"redirect": "/projects/editor/?tutorial=clicker-game"
},
{
"name": "chase-tutorial-redirect",
"pattern": "^/chase/?$",
"redirect": "/projects/editor/?tutorial=chase-game"
},
{
"name": "jazz-tutorial-redirect",
"pattern": "^/jazz/?$",
"redirect": "/projects/editor/?tutorial=music"
},
{
"name": "catch-tutorial-redirect",
"pattern": "^/catch/?$",
2018-12-13 10:49:04 -05:00
"redirect": "/ideas"
},
{
"name": "dance-tutorial-redirect",
"pattern": "^/dance/?$",
2018-12-13 10:49:04 -05:00
"redirect": "/ideas"
},
{
"name": "fly-tutorial-redirect",
"pattern": "^/fly/?$",
"routeAlias": "/(makeit)?fly/?$",
2018-12-13 10:49:04 -05:00
"redirect": "/ideas"
},
{
"name": "makeitfly-tutorial-redirect",
"pattern": "^/makeitfly/?$",
"routeAlias": "/(makeit)?fly/?$",
2018-12-13 10:49:04 -05:00
"redirect": "/ideas"
},
{
"name": "pet-tutorial-redirect",
"pattern": "^/pet/?$",
2018-12-13 10:49:04 -05:00
"redirect": "/ideas"
},
{
"name": "racegame-tutorial-redirect",
"pattern": "^/racegame/?$",
2018-12-13 10:49:04 -05:00
"redirect": "/ideas"
},
{
"name": "hide-tutorial-redirect",
"pattern": "^/hide/?$",
2018-12-13 10:49:04 -05:00
"redirect": "/ideas"
},
{
"name": "fashion-tutorial-redirect",
"pattern": "^/fashion/?$",
2018-12-13 10:49:04 -05:00
"redirect": "/ideas"
},
{
"name": "dressup-tutorial-redirect",
"pattern": "^/dressup/?$",
2018-12-13 10:49:04 -05:00
"redirect": "/ideas"
},
{
"name": "card-tutorial-redirect",
"pattern": "^/card/?$",
2018-12-13 10:49:04 -05:00
"redirect": "/ideas"
},
{
"name": "valentines-tutorial-redirect",
"pattern": "^/valentines/?$",
2018-12-13 10:49:04 -05:00
"redirect": "/ideas"
},
{
"name": "bearstack-tutorial-redirect",
"pattern": "^/bearstack/?$",
2018-12-13 10:49:04 -05:00
"redirect": "/ideas"
},
{
"name": "favorite-tutorial-redirect",
"pattern": "^/favorite/?$",
2018-12-13 10:49:04 -05:00
"redirect": "/ideas"
},
{
"name": "hoops-tutorial-redirect",
"pattern": "^/hoops/?$",
2018-12-13 10:49:04 -05:00
"redirect": "/ideas"
},
{
"name": "soccer-tutorial-redirect",
"pattern": "^/soccer/?$",
2018-12-13 10:49:04 -05:00
"redirect": "/ideas"
},
{
"name": "codeweek-tutorial-redirect",
"pattern": "^/codeweekeu/?$",
2018-12-13 10:49:04 -05:00
"redirect": "/ideas"
},
{
"name": "madewithcode-tutorial-redirects",
"pattern": "^/madewithcode-(name|card)/?$",
2018-12-13 10:49:04 -05:00
"redirect": "/ideas"
},
{
"name": "odetocode-tutorial-redirect",
"pattern": "^/odetocode/?$",
2018-12-13 10:49:04 -05:00
"redirect": "/ideas"
},
{
"name": "makey-tutorial-redirects",
"pattern": "^/makey(piano|drum)?/?$",
2018-12-13 10:49:04 -05:00
"redirect": "/ideas"
},
{
"name": "bird-redirect",
"pattern": "^/bird/?$",
2018-12-13 10:49:04 -05:00
"redirect": "/ideas"
}
]