mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-23 07:38:07 -05:00
Add device-width
by default
Now that we have mobile nav/footer
This commit is contained in:
parent
acb363f93f
commit
9a11e49444
2 changed files with 7 additions and 13 deletions
|
@ -4,8 +4,7 @@
|
||||||
"pattern": "^/?$",
|
"pattern": "^/?$",
|
||||||
"routeAlias": "/?$",
|
"routeAlias": "/?$",
|
||||||
"view": "splash/splash",
|
"view": "splash/splash",
|
||||||
"title": "Imagine, Program, Share",
|
"title": "Imagine, Program, Share"
|
||||||
"viewportWidth": "device-width"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "about",
|
"name": "about",
|
||||||
|
@ -48,32 +47,28 @@
|
||||||
"pattern": "^/conference/plan/?$",
|
"pattern": "^/conference/plan/?$",
|
||||||
"routeAlias": "/conference(?!/201[4-5])",
|
"routeAlias": "/conference(?!/201[4-5])",
|
||||||
"view": "conference/plan/plan",
|
"view": "conference/plan/plan",
|
||||||
"title": "Plan Your Visit",
|
"title": "Plan Your Visit"
|
||||||
"viewportWidth": "device-width"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "conference-expectations",
|
"name": "conference-expectations",
|
||||||
"pattern": "^/conference/expect/?$",
|
"pattern": "^/conference/expect/?$",
|
||||||
"routeAlias": "/conference(?!/201[4-5])",
|
"routeAlias": "/conference(?!/201[4-5])",
|
||||||
"view": "conference/expect/expect",
|
"view": "conference/expect/expect",
|
||||||
"title": "What to Expect",
|
"title": "What to Expect"
|
||||||
"viewportWidth": "device-width"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "conference-schedule",
|
"name": "conference-schedule",
|
||||||
"pattern": "^/conference/schedule/?$",
|
"pattern": "^/conference/schedule/?$",
|
||||||
"routeAlias": "/conference(?!/201[4-5])",
|
"routeAlias": "/conference(?!/201[4-5])",
|
||||||
"view": "conference/schedule/schedule",
|
"view": "conference/schedule/schedule",
|
||||||
"title": "Conference Schedule",
|
"title": "Conference Schedule"
|
||||||
"viewportWidth": "device-width"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "conference-details",
|
"name": "conference-details",
|
||||||
"pattern": "^/conference/:id/details/?$",
|
"pattern": "^/conference/:id/details/?$",
|
||||||
"routeAlias": "/conference(?!/201[4-5])",
|
"routeAlias": "/conference(?!/201[4-5])",
|
||||||
"view": "conference/details/details",
|
"view": "conference/details/details",
|
||||||
"title": "Event Details",
|
"title": "Event Details"
|
||||||
"viewportWidth": "device-width"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "developers",
|
"name": "developers",
|
||||||
|
@ -108,8 +103,7 @@
|
||||||
"pattern": "^/educators/register/?$",
|
"pattern": "^/educators/register/?$",
|
||||||
"routeAlias": "/educators(?:/(faq|register|waiting))?/?$",
|
"routeAlias": "/educators(?:/(faq|register|waiting))?/?$",
|
||||||
"view": "teacherregistration/teacherregistration",
|
"view": "teacherregistration/teacherregistration",
|
||||||
"title": "Teacher Registration",
|
"title": "Teacher Registration"
|
||||||
"viewportWidth": "device-width"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "teacherwaitingroom",
|
"name": "teacherwaitingroom",
|
||||||
|
|
|
@ -7,7 +7,7 @@ module.exports = {
|
||||||
'and animations.',
|
'and animations.',
|
||||||
|
|
||||||
// override if mobile-friendly
|
// override if mobile-friendly
|
||||||
viewportWidth: 942,
|
viewportWidth: 'device-width',
|
||||||
|
|
||||||
// Open graph
|
// Open graph
|
||||||
og_image: 'https://scratch.mit.edu/images/scratch-og.png',
|
og_image: 'https://scratch.mit.edu/images/scratch-og.png',
|
||||||
|
|
Loading…
Reference in a new issue