This repository has been archived by the owner on Mar 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: externalize images and sass to own asset pipeline to azure blob…
… storage Merge branch 'feat/assets-pipeline' * feat/assets-pipeline: style(pipeline-yaml): move pool obj to root pipeline: add upload assets to blob storage account compile-sass: fix source path, adjust writes, move outside assets/ test: re-enable all tests. match homepage against heading style: use strict sass-middleware: use only in DEV. Other envs use static files or cdn/storage force-https: only in prod dockerfile: add assets dir assets-url: use app service hostname as failback before localhost express: use static assets in prod too - in case CDN fails healthcheck: add ASSETS_BASE_URL and NODE_ENV pass css file as variable to view add compile sass script style: rename ASSETS_DIR to assetsDir ignore compiled css files app: use sass instead of plain css dep: add node-sass and node-sass-middleware move assets dir up 1 level
- Loading branch information
Showing
14 changed files
with
1,152 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
coverage/ | ||
node_modules/ | ||
.DS_Store | ||
*.azcli | ||
*.azcli | ||
|
||
# Compiled CSS | ||
assets/css/*.css |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
$light-text-color: #999; | ||
|
||
body { | ||
font-family: Helvetica, sans-serif; | ||
line-height: 1.3; | ||
color: #333; | ||
} | ||
|
||
a:link, a:visited { | ||
color: #044b7f; | ||
} | ||
|
||
section { | ||
width: 50%; | ||
max-width: 1000px; | ||
margin: 1em auto; | ||
border: 1px solid transparent; | ||
} | ||
|
||
h1 { | ||
margin: 1em 0; | ||
font-size: 2rem; | ||
color: #222; | ||
|
||
.version { | ||
color: $light-text-color; | ||
font-weight: normal; | ||
} | ||
} | ||
|
||
h2 { | ||
margin: 2em 0 1em 0; | ||
} | ||
|
||
h3 { | ||
font-weight: 500; | ||
} | ||
|
||
ul { | ||
padding: 0; | ||
margin: 0; | ||
} | ||
|
||
li { | ||
margin-bottom: 1em; | ||
list-style-type: none; | ||
} | ||
|
||
.row { | ||
display: flex; | ||
flex-direction: row; | ||
flex-wrap: wrap; | ||
width: 100%; | ||
margin-left: auto; | ||
margin-right: auto; | ||
|
||
} | ||
|
||
.column { | ||
display: flex; | ||
flex-direction: column; | ||
flex-basis: 100%; | ||
flex: 1; | ||
} | ||
|
||
.logos { | ||
margin-bottom: 3em; | ||
} | ||
.img-logo { | ||
display: inline-block; | ||
vertical-align: top; | ||
} | ||
|
||
.img-logo--nodejs { | ||
height: 70px; | ||
} | ||
|
||
.img-logo--azure { | ||
margin-left: 20px; | ||
margin-top: 5px; | ||
height: 40px; | ||
} | ||
|
||
footer { | ||
margin: 3rem auto; | ||
padding-top: 1rem; | ||
border-top: 1px solid #dcdcdc; | ||
font-size: 0.85rem; | ||
line-height: 1.6em; | ||
color: $light-text-color; | ||
text-align: left; | ||
} | ||
|
||
footer { | ||
p { | ||
margin: 1em 0 2em; | ||
} | ||
|
||
a:link, | ||
a:visited { | ||
color: $light-text-color; | ||
} | ||
} |
File renamed without changes
File renamed without changes
Oops, something went wrong.