chore(routing): fix routing for nonexistent pages and update background

This commit is contained in:
Naomi Black
2015-10-15 00:41:57 -07:00
parent 876f2dd6b6
commit 0870c7a3ac
9 changed files with 30 additions and 9 deletions
+22
View File
@@ -1,6 +1,28 @@
{
"firebase": "angular-io",
"public": "www",
"rewrites": [
{
"source": "/docs/dart/latest/testing",
"destination": "/docs/dart/latest/index.html"
},
{
"source": "/docs/dart/latest/tutorial",
"destination": "/docs/dart/latest/index.html"
},
{
"source": "/docs/js/latest/testing",
"destination": "/docs/js/latest/index.html"
},
{
"source": "/docs/js/latest/tutorial",
"destination": "/docs/js/latest/index.html"
},
{
"source": "/docs/ts/latest/guide/setup.html",
"destination": "/docs/ts/latest/index.html"
}
],
"ignore": [
"firebase.json",
"**/.*",
+1 -4
View File
@@ -55,8 +55,5 @@
"q": "^1.4.1",
"typescript": "~1.5.3",
"yargs": "^3.23.0"
},
"contributors": [
"Jay Traband <jayt@ideablade.com>"
]
}
}
+4
View File
@@ -0,0 +1,4 @@
.l-main-section
h2 404
p Whoops. Looks like what you're looking for can't be found.
-2
View File
@@ -1,2 +0,0 @@
#404
###Whoops. Looks like what you're looking for can't be found.
+1 -1
View File
@@ -1,5 +1,5 @@
header(class="background-sky")
.hero.background-sf-paper.is-large
.hero.background-lon-paper.is-large
h1.text-headline.hero-logo #{title}
.hero-cta
+2 -2
View File
@@ -36,8 +36,8 @@
*
*/
.background-sf-paper {
background: url('/resources/images/backgrounds/sf-paper.png') bottom center no-repeat;
.background-lon-paper {
background: url('/resources/images/backgrounds/lon-paper.png') bottom center no-repeat;
background-size: 100%;
background-position: fixed;
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 336 KiB