scratch-www/src/routes.json
2019-09-03 16:38:38 -04:00

597 lines
17 KiB
JSON

[
{
"name": "about",
"pattern": "^/about/?$",
"routeAlias": "/about/?$",
"view": "about/about",
"title": "About"
},
{
"name": "camp",
"pattern": "^/camp/?$",
"routeAlias": "/camp/?$",
"view": "camp/camp",
"title": "Down Deep"
},
{
"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"
},
{
"name": "conference-index",
"pattern": "^/conference/?(\\?.*)?$",
"routeAlias": "/conference(?!/201[4-9])",
"redirect": "/conference/2019"
},
{
"name": "conference-index-2017",
"pattern": "^/conference/2017/?$",
"routeAlias": "/conference(?!/201[4-9])",
"view": "conference/2017/index/index",
"title": "Scratch Conference",
"viewportWidth": "device-width"
},
{
"name": "conference-details-2018",
"pattern": "^/conference/2018/:id/details/?$",
"routeAlias": "/conference(?!/201[4-9])",
"view": "conference/2018/details/details",
"title": "Event Details"
},
{
"name": "conference-expectations-2018",
"pattern": "^/conference/2018/expect/?$",
"routeAlias": "/conference(?!/201[4-9])",
"view": "conference/2018/expect/expect",
"title": "What to Expect"
},
{
"name": "conference-index-2018",
"pattern": "^/conference/2018/?$",
"routeAlias": "/conference(?!/201[4-9])",
"view": "conference/2018/index/index",
"title": "Scratch Conference",
"viewportWidth": "device-width"
},
{
"name": "conference-plan-2018",
"pattern": "^/conference/2018/plan/?$",
"routeAlias": "/conference(?!/201[4-9])",
"view": "conference/2018/plan/plan",
"title": "Plan Your Visit"
},
{
"name": "conference-schedule-2018",
"pattern": "^/conference/2018/schedule/?$",
"routeAlias": "/conference(?!/201[4-9])",
"view": "conference/2018/schedule/schedule",
"title": "Conference Schedule"
},
{
"name": "conference-index-2019",
"pattern": "^/conference/2019/?$",
"routeAlias": "/conference(?!/201[4-9])",
"view": "conference/2019/index/index",
"title": "Scratch Conferences",
"viewportWidth": "device-width"
},
{
"name": "connect",
"pattern": "^/connect/?$",
"routeAlias": "/connect/?$",
"redirect": "https://eepurl.com/cws7_f"
},
{
"name": "credits",
"pattern": "^/credits/?$",
"routeAlias": "/info/(cards|communityblocks-interviews|credits|faq|donate)/?$",
"view": "credits/credits",
"title": "Credits"
},
{
"name": "developers",
"pattern": "^/developers/?$",
"routeAlias": "/developers/?$",
"view": "developers/developers",
"title": "Developers"
},
{
"name": "dmca",
"pattern": "^/DMCA/?$",
"routeAlias": "/DMCA/?$",
"view": "dmca/dmca",
"title": "DMCA"
},
{
"name": "download",
"pattern": "^/download/?(\\?.*)?$",
"routeAlias": "/download",
"view": "download/download",
"title": "Scratch Offline Editor"
},
{
"name": "educator-landing",
"pattern": "^/educators/?$",
"routeAlias": "/educators(?:/(faq|register|waiting))?/?$",
"view": "teachers/landing/landing",
"title": "Educators"
},
{
"name": "explore",
"pattern": "^/explore/:projects(projects|studios)/:all/?$",
"routeAlias": "/explore(?!/ajax)",
"view": "explore/explore",
"title": "Explore"
},
{
"name": "faq",
"pattern": "^/info/faq/?(\\?.*)?$",
"routeAlias": "/info/(cards|communityblocks-interviews|credits|faq)/?$",
"view": "faq/faq",
"title": "FAQ"
},
{
"name": "guidelines",
"pattern": "^/community_guidelines/?$",
"routeAlias": "/community_guidelines/?$",
"view": "guidelines/guidelines",
"title": "Scratch Community Guidelines"
},
{
"name": "ideas",
"pattern": "^/ideas/?(\\?.*)?$",
"routeAlias": "/ideas/?\\??",
"view": "ideas/ideas",
"title": "Ideas"
},
{
"name": "jobs",
"pattern": "^/jobs/?$",
"routeAlias": "/jobs(/moderator)?/?$",
"view": "jobs/jobs",
"title": "Jobs"
},
{
"name": "jobs-moderator",
"pattern": "^/jobs/moderator/?$",
"routeAlias": "/jobs(/moderator)?/?$",
"view": "jobs/moderator/moderator",
"title": "Community Moderator"
},
{
"name": "join",
"pattern": "^/join/?$",
"routeAlias": "/join/?$",
"view": "join/join",
"title": "Join Scratch"
},
{
"name": "messages",
"pattern": "^/messages/?$",
"routeAlias": "/messages(?!/ajax)",
"view": "messages/container",
"title": "Messages"
},
{
"name": "projects",
"pattern": "^/projects(/editor|(/\\d+(/editor|/fullscreen|/embed)?)?)?/?(\\?.*)?$",
"routeAlias": "/projects/?$",
"view": "preview/preview",
"title": "Scratch Project",
"dynamicMetaTags": true
},
{
"name": "parents",
"pattern": "^/parents/?(\\?.*)?$",
"routeAlias": "/parents/",
"view": "parents/parents",
"title": "For Parents"
},
{
"name": "preview-faq-redirect",
"pattern": "^/preview-faq/?$",
"routeAlias": "/preview-faq",
"redirect": "/3faq"
},
{
"name": "privacypolicy",
"pattern": "^/privacy_policy/?$",
"routeAlias": "/privacy_policy/?$",
"view": "privacypolicy/privacypolicy",
"title": "Privacy Policy"
},
{
"name": "research",
"pattern": "^/research/?$",
"routeAlias": "/research",
"view": "research/research",
"title": "Research"
},
{
"name": "scratch_1.4",
"pattern": "^/scratch_1.4/?$",
"routeAlias": "/scratch_1.4",
"view": "scratch_1.4/scratch_1.4",
"title": "Scratch 1.4"
},
{
"name": "download-scratch2",
"pattern": "^/download/scratch2/?(\\?.*)?$",
"routeAlias": "/download/scratch2",
"view": "download/scratch2/download",
"title": "Scratch 2.0"
},
{
"name": "search",
"pattern": "^/search/:projects/?$",
"routeAlias": "/search",
"view": "search/search",
"title": "Search"
},
{
"name": "splash",
"pattern": "^/?$",
"routeAlias": "/?$",
"view": "splash/splash",
"title": "Imagine, Program, Share"
},
{
"name": "starter-projects",
"pattern": "^/starter-projects/?$",
"routeAlias": "/starter-projects/?$",
"view": "starter-projects/starter-projects",
"title": "Starter Projects"
},
{
"name": "starter-projects-redirect",
"pattern": "^/starter_projects/?$",
"routeAlias": "/starter_projects/?$",
"redirect": "/starter-projects"
},
{
"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"
},
{
"name": "terms",
"pattern": "^/terms_of_use/?$",
"routeAlias": "/terms_of_use/?$",
"view": "terms/terms",
"title": "Scratch Terms of Use"
},
{
"name": "wedo2",
"pattern": "^/wedo/?$",
"routeAlias": "/wedo/?$",
"view": "wedo2/wedo2",
"title": "WeDo 2.0"
},
{
"name": "wedo2-legacy",
"pattern": "^/wedo-legacy/?$",
"routeAlias": "/wedo-legacy/?$",
"view": "wedo2-legacy/wedo2",
"title": "LEGO WeDo"
},
{
"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"
},
{
"name": "vernier",
"pattern": "^/vernier/?$",
"routeAlias": "/vernier/?$",
"view": "gdxfor/gdxfor",
"title": "Vernier Go Direct Force and Acceleration"
},
{
"name": "boost",
"pattern": "^/boost/?$",
"routeAlias": "/boost/?$",
"view": "boost/boost",
"title": "LEGO BOOST"
},
{
"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"
},
{
"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/"
},
{
"name": "download-redirect",
"pattern": "^/scratch2download/?(\\?.*)?$",
"routeAlias": "/scratch2download",
"redirect": "/download"
},
{
"name": "explore-projects-redirect",
"pattern": "^/explore/projects/?$",
"routeAlias": "/explore(?!/ajax)",
"redirect": "/explore/projects/all"
},
{
"name": "explore-redirect",
"pattern": "^/explore/?$",
"routeAlias": "/explore(?!/ajax)",
"redirect": "/explore/projects/all"
},
{
"name": "explore-studios-redirect",
"pattern": "^/explore/studios/?$",
"routeAlias": "/explore(?!/ajax)",
"redirect": "/explore/studios/all"
},
{
"name": "info-cards-redirect",
"pattern": "^/info/cards/?$",
"redirect": "/ideas"
},
{
"name": "help-redirect",
"pattern": "^/help/?(\\?.*)?$",
"routeAlias": "/help/?(\\?.*)?$",
"redirect": "/ideas"
},
{
"name": "hoc-redirect",
"pattern": "^/hoc/?(\\?.*)?$",
"routeAlias": "/hoc/?\\??",
"redirect": "/ideas"
},
{
"name": "hoc2014-redirect",
"pattern": "^/hoc2014/?(\\?.*)?$",
"routeAlias": "/hoc2014/?\\??",
"redirect": "/ideas"
},
{
"name": "info-redirect",
"pattern": "^/info/?(\\?.*)?$",
"routeAlias": "/info/?(\\?.*)?$",
"redirect": "/ideas"
},
{
"name": "research-redirect",
"pattern": "^/info/research/?$",
"routeAlias": "/info/research",
"redirect": "/research"
},
{
"name": "search-redirect",
"pattern": "^/search/?$",
"routeAlias": "/search",
"redirect": "/search/projects"
},
{
"name": "splash-redirect",
"pattern": "^///?$",
"redirect": "/"
},
{
"name": "store",
"pattern": "^/store/?$",
"routeAlias": "/store",
"redirect": "https://scratch-foundation.myshopify.com"
},
{
"name": "tips-redirect",
"pattern": "^/tips/?(\\?.*)?$",
"routeAlias": "/tips/?\\??",
"redirect": "/ideas"
},
{
"name": "things-to-try-redirect",
"pattern": "^/go/?(\\?.*)?$",
"routeAlias": "/go/?\\??",
"redirect": "/ideas"
},
{
"name": "all-tutorials-redirect",
"pattern": "^/tutorials/?$",
"redirect": "/projects/editor/?tutorial=all"
},
{
"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=tell-a-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/?$",
"redirect": "/ideas"
},
{
"name": "dance-tutorial-redirect",
"pattern": "^/dance/?$",
"redirect": "/ideas"
},
{
"name": "fly-tutorial-redirect",
"pattern": "^/fly/?$",
"routeAlias": "/(makeit)?fly/?$",
"redirect": "/ideas"
},
{
"name": "makeitfly-tutorial-redirect",
"pattern": "^/makeitfly/?$",
"routeAlias": "/(makeit)?fly/?$",
"redirect": "/ideas"
},
{
"name": "pet-tutorial-redirect",
"pattern": "^/pet/?$",
"redirect": "/ideas"
},
{
"name": "racegame-tutorial-redirect",
"pattern": "^/racegame/?$",
"redirect": "/ideas"
},
{
"name": "hide-tutorial-redirect",
"pattern": "^/hide/?$",
"redirect": "/ideas"
},
{
"name": "fashion-tutorial-redirect",
"pattern": "^/fashion/?$",
"redirect": "/ideas"
},
{
"name": "dressup-tutorial-redirect",
"pattern": "^/dressup/?$",
"redirect": "/ideas"
},
{
"name": "card-tutorial-redirect",
"pattern": "^/card/?$",
"redirect": "/ideas"
},
{
"name": "valentines-tutorial-redirect",
"pattern": "^/valentines/?$",
"redirect": "/ideas"
},
{
"name": "bearstack-tutorial-redirect",
"pattern": "^/bearstack/?$",
"redirect": "/ideas"
},
{
"name": "favorite-tutorial-redirect",
"pattern": "^/favorite/?$",
"redirect": "/ideas"
},
{
"name": "hoops-tutorial-redirect",
"pattern": "^/hoops/?$",
"redirect": "/ideas"
},
{
"name": "soccer-tutorial-redirect",
"pattern": "^/soccer/?$",
"redirect": "/ideas"
},
{
"name": "codeweek-tutorial-redirect",
"pattern": "^/codeweekeu/?$",
"redirect": "/ideas"
},
{
"name": "madewithcode-tutorial-redirects",
"pattern": "^/madewithcode-(name|card)/?$",
"redirect": "/ideas"
},
{
"name": "odetocode-tutorial-redirect",
"pattern": "^/odetocode/?$",
"redirect": "/ideas"
},
{
"name": "makey-tutorial-redirects",
"pattern": "^/makey(piano|drum)?/?$",
"redirect": "/ideas"
},
{
"name": "bird-redirect",
"pattern": "^/bird/?$",
"redirect": "/ideas"
}
]