├── Procfile ├── .gitignore ├── public ├── images │ ├── fix-logotype.png │ ├── wood-grain.jpg │ ├── social │ │ ├── twitter.png │ │ ├── facebook.png │ │ ├── instagram.png │ │ ├── facebook.svg │ │ ├── twitter.svg │ │ └── instagram.svg │ ├── 071715_Heroku_9883-.jpg │ ├── kits │ │ ├── 071715_Heroku_3346-.jpg │ │ ├── 071715_Heroku_3385-.jpg │ │ ├── 071715_Heroku_3338-Edit-.jpg │ │ ├── 071715_Heroku_3353-Edit-.jpg │ │ └── 071715_Heroku_3376-Edit-.jpg │ └── products │ │ ├── 071715_Heroku_3302.jpg │ │ ├── 071715_Heroku_3209-.jpg │ │ ├── 071715_Heroku_3263-.jpg │ │ └── 071715_Heroku_3270-.jpg ├── reset.css ├── index.html └── main.css ├── README.markdown ├── app.json ├── package.json ├── index.js └── LICENSE /Procfile: -------------------------------------------------------------------------------- 1 | web: npm start 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | *.log 3 | -------------------------------------------------------------------------------- /public/images/fix-logotype.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyric/quick-fix/master/public/images/fix-logotype.png -------------------------------------------------------------------------------- /public/images/wood-grain.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyric/quick-fix/master/public/images/wood-grain.jpg -------------------------------------------------------------------------------- /public/images/social/twitter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyric/quick-fix/master/public/images/social/twitter.png -------------------------------------------------------------------------------- /public/images/social/facebook.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyric/quick-fix/master/public/images/social/facebook.png -------------------------------------------------------------------------------- /public/images/social/instagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyric/quick-fix/master/public/images/social/instagram.png -------------------------------------------------------------------------------- /public/images/071715_Heroku_9883-.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyric/quick-fix/master/public/images/071715_Heroku_9883-.jpg -------------------------------------------------------------------------------- /public/images/kits/071715_Heroku_3346-.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyric/quick-fix/master/public/images/kits/071715_Heroku_3346-.jpg -------------------------------------------------------------------------------- /public/images/kits/071715_Heroku_3385-.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyric/quick-fix/master/public/images/kits/071715_Heroku_3385-.jpg -------------------------------------------------------------------------------- /public/images/products/071715_Heroku_3302.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyric/quick-fix/master/public/images/products/071715_Heroku_3302.jpg -------------------------------------------------------------------------------- /public/images/kits/071715_Heroku_3338-Edit-.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyric/quick-fix/master/public/images/kits/071715_Heroku_3338-Edit-.jpg -------------------------------------------------------------------------------- /public/images/kits/071715_Heroku_3353-Edit-.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyric/quick-fix/master/public/images/kits/071715_Heroku_3353-Edit-.jpg -------------------------------------------------------------------------------- /public/images/kits/071715_Heroku_3376-Edit-.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyric/quick-fix/master/public/images/kits/071715_Heroku_3376-Edit-.jpg -------------------------------------------------------------------------------- /public/images/products/071715_Heroku_3209-.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyric/quick-fix/master/public/images/products/071715_Heroku_3209-.jpg -------------------------------------------------------------------------------- /public/images/products/071715_Heroku_3263-.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyric/quick-fix/master/public/images/products/071715_Heroku_3263-.jpg -------------------------------------------------------------------------------- /public/images/products/071715_Heroku_3270-.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyric/quick-fix/master/public/images/products/071715_Heroku_3270-.jpg -------------------------------------------------------------------------------- /README.markdown: -------------------------------------------------------------------------------- 1 | Quick Fix 2 | ========= 3 | 4 | [](https://heroku.com/deploy?template=https://github.com/heroku/quick-fix) 5 | 6 | Static version of the [FIX eCommerce](https://heroku.github.io/fix) home page. Great for demonstrating [Github flow with Heroku](https://devcenter.heroku.com/articles/github-integration). 7 | -------------------------------------------------------------------------------- /app.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Quick FIX", 3 | "description": "Static home page of FIX eCommerce storefront", 4 | "keywords": [ 5 | "node", 6 | "javascript" 7 | ], 8 | "website": "https://heroku.github.io/fix", 9 | "repository": "https://github.com/lyric/quick-fix.git", 10 | "env": {}, 11 | "addons": [], 12 | "image": "heroku/nodejs" 13 | } 14 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "quick-fix", 3 | "version": "1.0.0", 4 | "description": "FIX eCommerce home page optimized for deployment workflow demos", 5 | "main": "index.js", 6 | "scripts": { 7 | "start": "node index.js", 8 | "test": "echo \"Error: no test specified\" && exit 1" 9 | }, 10 | "engines": { 11 | "node": "0.12.2" 12 | }, 13 | "author": "mars@heroku.com", 14 | "license": "ISC", 15 | "dependencies": { 16 | "express": "4.13.3" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | var express = require('express'); 2 | var app = express(); 3 | 4 | var PORT = process.env.PORT || 3000; 5 | 6 | app.use(function(req, res, next) { 7 | res.setHeader('Strict-Transport-Security', 'max-age=31536000'); 8 | res.setHeader('Content-Security-Policy', "script-src 'self'"); 9 | res.setHeader('X-Frame-Options', 'SAMEORIGIN'); 10 | res.setHeader('X-Xss-Protection', '1; mode=block'); 11 | res.setHeader('X-Content-Type-Options', 'nosniff'); 12 | next(); 13 | }); 14 | 15 | app.use(express.static('public')); 16 | 17 | var server = app.listen(PORT, function () { 18 | var host = server.address().address; 19 | var port = server.address().port; 20 | 21 | console.log('quickfix listening at http://%s:%s', host, port); 22 | }); 23 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright © Heroku 2015 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining 6 | a copy of this software and associated documentation files (the 7 | "Software"), to deal in the Software without restriction, including 8 | without limitation the rights to use, copy, modify, merge, publish, 9 | distribute, sublicense, and/or sell copies of the Software, and to 10 | permit persons to whom the Software is furnished to do so, subject to 11 | the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be 14 | included in all copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 19 | IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 20 | CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 21 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 22 | SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- /public/reset.css: -------------------------------------------------------------------------------- 1 | /* http://meyerweb.com/eric/tools/css/reset/ 2 | v2.0 | 20110126 3 | License: none (public domain) 4 | */ 5 | 6 | html, body, div, span, applet, object, iframe, 7 | h1, h2, h3, h4, h5, h6, p, blockquote, pre, 8 | a, abbr, acronym, address, big, cite, code, 9 | del, dfn, em, img, ins, kbd, q, s, samp, 10 | small, strike, strong, sub, sup, tt, var, 11 | b, u, i, center, 12 | dl, dt, dd, ol, ul, li, 13 | fieldset, form, label, legend, 14 | table, caption, tbody, tfoot, thead, tr, th, td, 15 | article, aside, canvas, details, embed, 16 | figure, figcaption, footer, header, hgroup, 17 | menu, nav, output, ruby, section, summary, 18 | time, mark, audio, video { 19 | margin: 0; 20 | padding: 0; 21 | border: 0; 22 | font-size: 100%; 23 | font: inherit; 24 | vertical-align: baseline; 25 | } 26 | /* HTML5 display-role reset for older browsers */ 27 | article, aside, details, figcaption, figure, 28 | footer, header, hgroup, menu, nav, section { 29 | display: block; 30 | } 31 | body { 32 | line-height: 1; 33 | } 34 | ol, ul { 35 | list-style: none; 36 | } 37 | blockquote, q { 38 | quotes: none; 39 | } 40 | blockquote:before, blockquote:after, 41 | q:before, q:after { 42 | content: ''; 43 | content: none; 44 | } 45 | table { 46 | border-collapse: collapse; 47 | border-spacing: 0; 48 | } 49 | 50 | /* https://css-tricks.com/box-sizing/ 51 | Universal Box Sizing with Inheritance 52 | */ 53 | html { 54 | box-sizing: border-box; 55 | } 56 | *, *:before, *:after { 57 | box-sizing: inherit; 58 | } 59 | -------------------------------------------------------------------------------- /public/images/social/facebook.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /public/images/social/twitter.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /public/images/social/instagram.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /public/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 | 7 |
20 |
43 |
49 |
55 |
61 |
75 |
81 |
87 |
93 |
99 |