scratch-www/src/routes.json

252 lines
7.5 KiB
JSON
Raw Normal View History

[
{
"name": "splash",
"pattern": "^/?$",
"routeAlias": "/?$",
"view": "splash/splash",
"title": "Imagine, Program, Share"
},
{
"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])",
2016-07-19 16:51:28 -04:00
"view": "conference/index/index",
"title": "Scratch Conference",
"viewportWidth": "device-width"
},
{
2016-07-19 16:51:28 -04:00
"name": "conference-plan",
"pattern": "^/conference/plan/?$",
"routeAlias": "/conference(?!/201[4-5])",
2016-07-19 16:51:28 -04:00
"view": "conference/plan/plan",
"title": "Plan Your Visit"
},
{
2016-07-19 16:51:28 -04:00
"name": "conference-expectations",
"pattern": "^/conference/expect/?$",
"routeAlias": "/conference(?!/201[4-5])",
2016-07-19 16:51:28 -04:00
"view": "conference/expect/expect",
"title": "What to Expect"
},
{
2016-07-19 16:51:28 -04:00
"name": "conference-schedule",
"pattern": "^/conference/schedule/?$",
"routeAlias": "/conference(?!/201[4-5])",
2016-07-19 16:51:28 -04:00
"view": "conference/schedule/schedule",
"title": "Conference Schedule"
},
{
2016-07-19 16:51:28 -04:00
"name": "conference-details",
"pattern": "^/conference/:id/details/?$",
"routeAlias": "/conference(?!/201[4-5])",
2016-07-19 16:51:28 -04:00
"view": "conference/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/: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/?\\??",
2016-07-19 16:51:28 -04:00
"view": "hoc/hoc",
"title": "Hour of Code"
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"
},
2016-11-07 15:07:07 -05:00
{
"name": "things-to-try",
"pattern": "^/go/?$",
"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
},
{
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/?$",
2016-07-19 16:51:28 -04:00
"view": "jobs/jobs",
"title": "Jobs"
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"
},
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"
}
]