scratch-www/src/routes.json

291 lines
8.7 KiB
JSON
Raw Normal View History

[
{
"name": "splash",
"pattern": "^/?$",
"routeAlias": "/?$",
"view": "splash/splash",
"title": "Imagine, Program, Share"
},
2016-12-08 17:20:34 -05:00
{
"name": "splash-redirect",
2016-12-08 17:37:34 -05:00
"pattern": "^///?$",
2016-12-08 17:20:34 -05:00
"redirect": "/"
},
{
"name": "about",
"pattern": "^/about/?$",
"routeAlias": "/about/?$",
"view": "about/about",
"title": "About"
2015-09-08 10:54:15 -04:00
},
{
2016-07-19 16:51:28 -04:00
"name": "guidelines",
"pattern": "^/community_guidelines/?$",
"routeAlias": "/community_guidelines/?$",
2016-07-19 16:51:28 -04:00
"view": "guidelines/guidelines",
"title": "Scratch Community Guidelines"
},
2016-07-21 16:56:01 -04:00
{
"name": "student-complete-registration",
"pattern": "^/classes/complete_registration",
"routeAlias": "/classes/(complete_registration|.+/register/.+)",
2016-07-21 16:56:01 -04:00
"view": "studentcompleteregistration/studentcompleteregistration",
"title": "Complete your Registration"
},
{
2016-07-19 16:51:28 -04:00
"name": "student-registration",
"pattern": "^/classes/:id/register/:token",
"routeAlias": "/classes/(complete_registration|.+/register/.+)",
2016-07-19 16:51:28 -04:00
"view": "studentregistration/studentregistration",
"title": "Class Registration"
},
{
2016-07-19 16:51:28 -04:00
"name": "conference-index",
"pattern": "^/conference/?$",
"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"
},
{
"name": "conference-index-2016",
"pattern": "^/conference/2016/?$",
"routeAlias": "/conference(?!/201[4-5])",
"view": "conference/2016/index/index",
"title": "Scratch Conference",
"viewportWidth": "device-width"
},
{
"name": "conference-plan-2016",
"pattern": "^/conference/2016/plan/?$",
"routeAlias": "/conference(?!/201[4-5])",
"view": "conference/2016/plan/plan",
"title": "Plan Your Visit"
},
{
"name": "conference-expectations-2016",
"pattern": "^/conference/2016/expect/?$",
"routeAlias": "/conference(?!/201[4-5])",
"view": "conference/2016/expect/expect",
"title": "What to Expect"
},
{
"name": "conference-schedule-2016",
"pattern": "^/conference/2016/schedule/?$",
"routeAlias": "/conference(?!/201[4-5])",
"view": "conference/2016/schedule/schedule",
"title": "Conference Schedule"
},
{
"name": "conference-details-2016",
"pattern": "^/conference/2016/:id/details/?$",
"routeAlias": "/conference(?!/201[4-5])",
"view": "conference/2016/details/details",
"title": "Event Details"
},
{
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
},
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-06-16 10:22:37 -04:00
{
"name": "teacher-faq",
"pattern": "^/educators/faq/?$",
"routeAlias": "/educators(?:/(faq|register|waiting))?/?$",
2016-06-16 10:22:37 -04:00
"view": "teachers/faq/faq",
"title": "Teacher Accounts FAQ"
},
2016-03-29 10:07:23 -04:00
{
"name": "teacherregistration",
"pattern": "^/educators/register/?$",
"routeAlias": "/educators(?:/(faq|register|waiting))?/?$",
2016-03-29 10:07:23 -04:00
"view": "teacherregistration/teacherregistration",
"title": "Teacher Registration"
2016-03-29 10:07:23 -04:00
},
2016-06-22 13:35:38 -04:00
{
"name": "teacherwaitingroom",
"pattern": "^/educators/waiting",
"routeAlias": "/educators(?:/(faq|register|waiting))?/?$",
2016-06-22 13:35:38 -04:00
"view": "teacherwaitingroom/teacherwaitingroom",
"title": "Thank you for requesting a Scratch Teacher Account"
},
{
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
},
{
2016-07-19 16:51:28 -04:00
"name": "hoc",
"pattern": "^/hoc/?(\\?.*)?$",
"routeAlias": "/hoc/?\\??",
"redirect": "/go"
2016-04-21 16:22:39 -04:00
},
{
2016-07-19 16:51:28 -04:00
"name": "cards",
"pattern": "^/info/cards/?$",
"routeAlias": "/info/(cards|communityblocks-interviews|credits|faq)/?$",
2016-07-19 16:51:28 -04:00
"view": "cards/cards",
"title": "Cards"
},
{
"name": "things-to-try",
"pattern": "^/go/?(\\?.*)?$",
2016-11-22 14:56:27 -05:00
"routeAlias": "/go/?\\??",
"view": "thingstotry/thingstotry",
"title": "Things to Try"
},
{
2016-07-19 16:51:28 -04:00
"name": "communityblocks-interviews",
"pattern": "^/info/communityblocks-interviews/?$",
"routeAlias": "/info/(cards|communityblocks-interviews|credits|faq|donate)/?$",
2016-07-19 16:51:28 -04:00
"view": "communityblocks-interviews/communityblocks-interviews",
"title": "Community Blocks Beta Tester Interviews"
},
{
2016-07-19 16:51:28 -04:00
"name": "credits",
"pattern": "^/info/credits/?$",
"routeAlias": "/info/(cards|communityblocks-interviews|credits|faq)/?$",
2016-07-19 16:51:28 -04:00
"view": "credits/credits",
"title": "Credits"
2016-04-23 08:14:17 -04:00
},
2017-04-01 10:55:47 -04:00
{
"name": "download",
"pattern": "^/scratch2download/",
"routeAlias": "/scratch2download/?$",
"view": "download/download",
"title": "Scratch Offline Editor"
},
{
2016-07-19 16:51:28 -04:00
"name": "faq",
"pattern": "^/info/faq/?$",
"routeAlias": "/info/(cards|communityblocks-interviews|credits|faq)/?$",
2016-07-19 16:51:28 -04:00
"view": "faq/faq",
"title": "FAQ"
},
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"
},
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
},
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
{
"name": "search-redirect",
"pattern": "^/search/?$",
2017-02-06 17:00:48 -05:00
"routeAlias": "/search",
2017-02-01 16:15:18 -05:00
"redirect": "/search/projects"
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": "donate",
"pattern": "^/info/donate/?",
"routeAlias": "/info/(cards|communityblocks-interviews|credits|faq|donate)/?$",
2016-07-19 16:51:28 -04:00
"redirect": "https://secure.donationpay.org/scratchfoundation/"
},
{
"name": "explore-redirect",
"pattern": "^/explore/?$",
"routeAlias": "/explore(?!/ajax)",
2016-07-19 16:51:28 -04:00
"redirect": "/explore/projects/all"
},
{
"name": "explore-projects-redirect",
"pattern": "^/explore/projects/?$",
"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"
},
{
"name": "microworld-art",
"pattern": "^/microworlds/art",
2016-09-08 17:06:24 -04:00
"routeAlias": "/microworlds",
"view": "microworld/art/art",
"title": "Art"
},
{
"name": "microworld-hiphop",
"pattern": "^/microworlds/hiphop",
2016-09-08 17:06:24 -04:00
"routeAlias": "/microworlds",
"view": "microworld/hiphop/hiphop",
"title": "Hip Hop Dance"
},
{
"name": "microworld-fashion",
"pattern": "^/microworlds/fashion",
2016-09-08 17:06:24 -04:00
"routeAlias": "/microworlds",
"view": "microworld/fashion/fashion",
"title": "Fashion"
},
{
"name": "microworld-soccer",
"pattern": "^/microworlds/soccer",
2016-09-08 17:06:24 -04:00
"routeAlias": "/microworlds",
"view": "microworld/soccer/soccer",
"title": "Soccer"
},
{
"name": "microworlds-homepage",
"pattern": "^/microworlds/go/?(\\?.*)?$",
"routeAlias": "/microworlds",
"view": "microworldshomepage/microworldshomepage",
"title": "Microworlds"
}
]