mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-23 07:38:07 -05:00
fbd54998e6
Created a HOC Landing View. Currently all the SCSS lives at the view level and needs to be made into componets. After building out some Global style sheets I will revisit.
29 lines
820 B
JSON
29 lines
820 B
JSON
[
|
|
{
|
|
"pattern": "/",
|
|
"view": "splash",
|
|
"static": false
|
|
},
|
|
{
|
|
"pattern": "/about",
|
|
"view": "about",
|
|
"title": "About",
|
|
"static": false
|
|
},
|
|
{
|
|
"pattern": "/components",
|
|
"view": "components",
|
|
"static": false
|
|
},
|
|
{
|
|
"pattern": "/hoc",
|
|
"view": "hoc",
|
|
"static": false
|
|
},
|
|
{
|
|
"static": true,
|
|
"resolve": "_path.resolve(__dirname, '../build')",
|
|
"attributes": { "lastModified": true, "maxAge": "1y" },
|
|
"_todo": " TODO: Define a specification for how each entry is used/expected to look like, given the nginx conf generator's needs and stand-alone run-time needs. An outline of this so far: static requires resolve/attributes but could use pattern too. ..."
|
|
}
|
|
]
|