mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-23 07:38:07 -05:00
Merge branch 'develop' into jobs
This commit is contained in:
commit
3e371f5511
2 changed files with 190 additions and 190 deletions
378
src/routes.json
378
src/routes.json
|
@ -1,16 +1,4 @@
|
|||
[
|
||||
{
|
||||
"name": "splash",
|
||||
"pattern": "^/?$",
|
||||
"routeAlias": "/?$",
|
||||
"view": "splash/splash",
|
||||
"title": "Imagine, Program, Share"
|
||||
},
|
||||
{
|
||||
"name": "splash-redirect",
|
||||
"pattern": "^///?$",
|
||||
"redirect": "/"
|
||||
},
|
||||
{
|
||||
"name": "about",
|
||||
"pattern": "^/about/?$",
|
||||
|
@ -19,25 +7,39 @@
|
|||
"title": "About"
|
||||
},
|
||||
{
|
||||
"name": "guidelines",
|
||||
"pattern": "^/community_guidelines/?$",
|
||||
"routeAlias": "/community_guidelines/?$",
|
||||
"view": "guidelines/guidelines",
|
||||
"title": "Scratch Community Guidelines"
|
||||
"name": "camp",
|
||||
"pattern": "^/camp/?$",
|
||||
"routeAlias": "/camp/?$",
|
||||
"view": "camp/camp",
|
||||
"title": "Down Deep"
|
||||
},
|
||||
{
|
||||
"name": "student-complete-registration",
|
||||
"pattern": "^/classes/complete_registration",
|
||||
"routeAlias": "/classes/(complete_registration|.+/register/.+)",
|
||||
"view": "studentcompleteregistration/studentcompleteregistration",
|
||||
"title": "Complete your Registration"
|
||||
"name": "cards",
|
||||
"pattern": "^/info/cards/?$",
|
||||
"routeAlias": "/info/(cards|communityblocks-interviews|credits|faq)/?$",
|
||||
"view": "cards/cards",
|
||||
"title": "Cards"
|
||||
},
|
||||
{
|
||||
"name": "student-registration",
|
||||
"pattern": "^/classes/:id/register/:token",
|
||||
"routeAlias": "/classes/(complete_registration|.+/register/.+)",
|
||||
"view": "studentregistration/studentregistration",
|
||||
"title": "Class Registration"
|
||||
"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-details-2016",
|
||||
"pattern": "^/conference/2016/:id/details/?$",
|
||||
"routeAlias": "/conference(?!/201[4-5])",
|
||||
"view": "conference/2016/details/details",
|
||||
"title": "Event Details"
|
||||
},
|
||||
{
|
||||
"name": "conference-expectations-2016",
|
||||
"pattern": "^/conference/2016/expect/?$",
|
||||
"routeAlias": "/conference(?!/201[4-5])",
|
||||
"view": "conference/2016/expect/expect",
|
||||
"title": "What to Expect"
|
||||
},
|
||||
{
|
||||
"name": "conference-index",
|
||||
|
@ -62,13 +64,6 @@
|
|||
"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/?$",
|
||||
|
@ -77,11 +72,11 @@
|
|||
"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"
|
||||
"name": "credits",
|
||||
"pattern": "^/info/credits/?$",
|
||||
"routeAlias": "/info/(cards|communityblocks-interviews|credits|faq|donate)/?$",
|
||||
"view": "credits/credits",
|
||||
"title": "Credits"
|
||||
},
|
||||
{
|
||||
"name": "developers",
|
||||
|
@ -98,11 +93,11 @@
|
|||
"title": "DMCA"
|
||||
},
|
||||
{
|
||||
"name": "camp",
|
||||
"pattern": "^/camp/?$",
|
||||
"routeAlias": "/camp/?$",
|
||||
"view": "camp/camp",
|
||||
"title": "Down Deep"
|
||||
"name": "download",
|
||||
"pattern": "^/download/?$",
|
||||
"routeAlias": "/download",
|
||||
"view": "download/download",
|
||||
"title": "Scratch Offline Editor"
|
||||
},
|
||||
{
|
||||
"name": "educator-landing",
|
||||
|
@ -111,6 +106,111 @@
|
|||
"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": "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": "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"
|
||||
},
|
||||
{
|
||||
"name": "privacypolicy",
|
||||
"pattern": "^/privacy_policy/?$",
|
||||
"routeAlias": "/privacy_policy/?$",
|
||||
"view": "privacypolicy/privacypolicy",
|
||||
"title": "Privacy Policy"
|
||||
},
|
||||
{
|
||||
"name": "search",
|
||||
"pattern": "^/search/:projects/?$",
|
||||
"routeAlias": "/search",
|
||||
"view": "search/search",
|
||||
"title": "Search"
|
||||
},
|
||||
{
|
||||
"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/?$",
|
||||
|
@ -133,42 +233,11 @@
|
|||
"title": "Thank you for requesting a Scratch Teacher Account"
|
||||
},
|
||||
{
|
||||
"name": "explore",
|
||||
"pattern": "^/explore/:projects(projects|studios)/:all/?$",
|
||||
"routeAlias": "/explore(?!/ajax)",
|
||||
"view": "explore/explore",
|
||||
"title": "Explore"
|
||||
},
|
||||
{
|
||||
"name": "hoc",
|
||||
"pattern": "^/hoc/?(\\?.*)?$",
|
||||
"routeAlias": "/hoc/?\\??",
|
||||
"redirect": "/tips"
|
||||
},
|
||||
{
|
||||
"name": "cards",
|
||||
"pattern": "^/info/cards/?$",
|
||||
"routeAlias": "/info/(cards|communityblocks-interviews|credits|faq)/?$",
|
||||
"view": "cards/cards",
|
||||
"title": "Cards"
|
||||
},
|
||||
{
|
||||
"name": "things-to-try",
|
||||
"pattern": "^/go/?(\\?.*)?$",
|
||||
"routeAlias": "/go/?\\??",
|
||||
"redirect": "/tips"
|
||||
},
|
||||
{
|
||||
"name": "help",
|
||||
"pattern": "^/help/?(\\?.*)?$",
|
||||
"routeAlias": "/help/?(\\?.*)?$",
|
||||
"redirect": "/tips"
|
||||
},
|
||||
{
|
||||
"name": "info-redirect",
|
||||
"pattern": "^/info/?(\\?.*)?$",
|
||||
"routeAlias": "/info/?(\\?.*)?$",
|
||||
"redirect": "/tips"
|
||||
"name": "terms",
|
||||
"pattern": "^/terms_of_use/?$",
|
||||
"routeAlias": "/terms_of_use/?$",
|
||||
"view": "terms/terms",
|
||||
"title": "Scratch Terms of Use"
|
||||
},
|
||||
{
|
||||
"name": "tips",
|
||||
|
@ -177,75 +246,6 @@
|
|||
"view": "tips/tips",
|
||||
"title": "Tips"
|
||||
},
|
||||
{
|
||||
"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": "credits",
|
||||
"pattern": "^/info/credits/?$",
|
||||
"routeAlias": "/info/(cards|communityblocks-interviews|credits|faq|donate)/?$",
|
||||
"view": "credits/credits",
|
||||
"title": "Credits"
|
||||
},
|
||||
{
|
||||
"name": "download",
|
||||
"pattern": "^/download/?$",
|
||||
"routeAlias": "/download",
|
||||
"view": "download/download",
|
||||
"title": "Scratch Offline Editor"
|
||||
},
|
||||
{
|
||||
"name": "faq",
|
||||
"pattern": "^/info/faq/?$",
|
||||
"routeAlias": "/info/(cards|communityblocks-interviews|credits|faq)/?$",
|
||||
"view": "faq/faq",
|
||||
"title": "FAQ"
|
||||
},
|
||||
{
|
||||
"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": "privacypolicy",
|
||||
"pattern": "^/privacy_policy/?$",
|
||||
"routeAlias": "/privacy_policy/?$",
|
||||
"view": "privacypolicy/privacypolicy",
|
||||
"title": "Privacy Policy"
|
||||
},
|
||||
{
|
||||
"name": "search",
|
||||
"pattern": "^/search/:projects/?$",
|
||||
"routeAlias": "/search",
|
||||
"view": "search/search",
|
||||
"title": "Search"
|
||||
},
|
||||
{
|
||||
"name": "search-redirect",
|
||||
"pattern": "^/search/?$",
|
||||
"routeAlias": "/search",
|
||||
"redirect": "/search/projects"
|
||||
},
|
||||
{
|
||||
"name": "terms",
|
||||
"pattern": "^/terms_of_use/?$",
|
||||
"routeAlias": "/terms_of_use/?$",
|
||||
"view": "terms/terms",
|
||||
"title": "Scratch Terms of Use"
|
||||
},
|
||||
{
|
||||
"name": "wedo2",
|
||||
"pattern": "^/wedo/?$",
|
||||
|
@ -254,22 +254,16 @@
|
|||
"title": "LEGO WeDo 2.0"
|
||||
},
|
||||
{
|
||||
"name": "donate",
|
||||
"name": "donate-redirect",
|
||||
"pattern": "^/info/donate/?",
|
||||
"routeAlias": "/info/(cards|communityblocks-interviews|credits|faq|donate)/?$",
|
||||
"redirect": "https://secure.donationpay.org/scratchfoundation/"
|
||||
},
|
||||
{
|
||||
"name": "store",
|
||||
"pattern": "^/store/?$",
|
||||
"routeAlias": "/store",
|
||||
"redirect": "https://scratch-foundation.myshopify.com"
|
||||
},
|
||||
{
|
||||
"name": "explore-redirect",
|
||||
"pattern": "^/explore/?$",
|
||||
"routeAlias": "/explore(?!/ajax)",
|
||||
"redirect": "/explore/projects/all"
|
||||
"name": "download-redirect",
|
||||
"pattern": "^/scratch2download/?$",
|
||||
"routeAlias": "/scratch2download",
|
||||
"redirect": "/download"
|
||||
},
|
||||
{
|
||||
"name": "explore-projects-redirect",
|
||||
|
@ -277,6 +271,12 @@
|
|||
"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/?$",
|
||||
|
@ -284,44 +284,44 @@
|
|||
"redirect": "/explore/studios/all"
|
||||
},
|
||||
{
|
||||
"name": "download-redirect",
|
||||
"pattern": "^/scratch2download/?$",
|
||||
"routeAlias": "/scratch2download",
|
||||
"redirect": "/download"
|
||||
"name": "help-redirect",
|
||||
"pattern": "^/help/?(\\?.*)?$",
|
||||
"routeAlias": "/help/?(\\?.*)?$",
|
||||
"redirect": "/tips"
|
||||
},
|
||||
{
|
||||
"name": "microworld-art",
|
||||
"pattern": "^/microworlds/art",
|
||||
"routeAlias": "/microworlds",
|
||||
"view": "microworld/art/art",
|
||||
"title": "Art"
|
||||
"name": "hoc-redirect",
|
||||
"pattern": "^/hoc/?(\\?.*)?$",
|
||||
"routeAlias": "/hoc/?\\??",
|
||||
"redirect": "/tips"
|
||||
},
|
||||
{
|
||||
"name": "microworld-hiphop",
|
||||
"pattern": "^/microworlds/hiphop",
|
||||
"routeAlias": "/microworlds",
|
||||
"view": "microworld/hiphop/hiphop",
|
||||
"title": "Hip Hop Dance"
|
||||
"name": "info-redirect",
|
||||
"pattern": "^/info/?(\\?.*)?$",
|
||||
"routeAlias": "/info/?(\\?.*)?$",
|
||||
"redirect": "/tips"
|
||||
},
|
||||
{
|
||||
"name": "microworld-fashion",
|
||||
"pattern": "^/microworlds/fashion",
|
||||
"routeAlias": "/microworlds",
|
||||
"view": "microworld/fashion/fashion",
|
||||
"title": "Fashion"
|
||||
"name": "search-redirect",
|
||||
"pattern": "^/search/?$",
|
||||
"routeAlias": "/search",
|
||||
"redirect": "/search/projects"
|
||||
},
|
||||
{
|
||||
"name": "microworld-soccer",
|
||||
"pattern": "^/microworlds/soccer",
|
||||
"routeAlias": "/microworlds",
|
||||
"view": "microworld/soccer/soccer",
|
||||
"title": "Soccer"
|
||||
"name": "splash-redirect",
|
||||
"pattern": "^///?$",
|
||||
"redirect": "/"
|
||||
},
|
||||
{
|
||||
"name": "microworlds-homepage",
|
||||
"pattern": "^/microworlds/go/?(\\?.*)?$",
|
||||
"routeAlias": "/microworlds",
|
||||
"view": "microworldshomepage/microworldshomepage",
|
||||
"title": "Microworlds"
|
||||
"name": "store",
|
||||
"pattern": "^/store/?$",
|
||||
"routeAlias": "/store",
|
||||
"redirect": "https://scratch-foundation.myshopify.com"
|
||||
},
|
||||
{
|
||||
"name": "things-to-try-redirect",
|
||||
"pattern": "^/go/?(\\?.*)?$",
|
||||
"routeAlias": "/go/?\\??",
|
||||
"redirect": "/tips"
|
||||
}
|
||||
]
|
||||
|
|
|
@ -13,5 +13,5 @@
|
|||
"guidelines.honestybody": "Don’t try to impersonate other Scratchers, spread rumors, or otherwise try to trick the community.",
|
||||
"guidelines.friendlyheader": "Help keep the site friendly.",
|
||||
"guidelines.friendlybody": "If you think a project or comment is mean, insulting, too violent, or otherwise inappropriate, click “Report” to let us know about it.",
|
||||
"guidelines.footer": "Scratch welcomes people of all ages, races, ethnicities, religions, sexual orientations, and gender identities."
|
||||
"guidelines.footer": "Scratch welcomes people of all ages, races, ethnicities, religions, abilities, sexual orientations, and gender identities."
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue