├── template ├── .gitignore ├── src │ ├── routes │ │ ├── notfound │ │ │ ├── style.css │ │ │ └── index.js │ │ ├── contact-success │ │ │ ├── index.js │ │ │ └── style.css │ │ ├── contact │ │ │ ├── style.css │ │ │ └── index.js │ │ ├── blog │ │ │ ├── style.css │ │ │ └── index.js │ │ ├── blogs │ │ │ ├── style.css │ │ │ └── index.js │ │ └── home │ │ │ ├── style.css │ │ │ └── index.js │ ├── index.js │ ├── assets │ │ ├── favicon.ico │ │ ├── profile.jpg │ │ ├── icons │ │ │ ├── favicon-16x16.png │ │ │ ├── favicon-32x32.png │ │ │ ├── mstile-150x150.png │ │ │ ├── apple-touch-icon.png │ │ │ ├── android-chrome-192x192.png │ │ │ └── android-chrome-512x512.png │ │ ├── brett-jordan-1329359-unsplash.jpg │ │ ├── cody-black-nm89mzvar5i-unsplash.jpg │ │ ├── lucas-ludwig-dh2ztme9kni-unsplash.jpg │ │ └── quotes.svg │ ├── components │ │ ├── header │ │ │ ├── index.js │ │ │ └── style.css │ │ └── app.js │ ├── static │ │ ├── admin.html │ │ └── config.yml │ ├── manifest.json │ ├── style │ │ └── index.css │ ├── template.html │ └── crawler │ │ └── index.js ├── netlify.toml ├── content │ ├── images │ │ ├── cyclist.md │ │ └── lighthouse.md │ └── blog │ │ ├── visiting-goa.md │ │ ├── wanderlust.md │ │ └── how-to-share-a-screenshot-of-the-page.md ├── tests │ ├── __mocks__ │ │ ├── fileMocks.js │ │ └── browserMocks.js │ └── header.test.js ├── preact.config.js ├── prerender-urls.js ├── README.md └── package.json ├── .gitignore └── README.md /template/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .vscode 3 | build 4 | -------------------------------------------------------------------------------- /template/src/routes/notfound/style.css: -------------------------------------------------------------------------------- 1 | .notfound { 2 | padding: 0 5%; 3 | } -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | *.lock 4 | *.log 5 | template/package-lock.json 6 | -------------------------------------------------------------------------------- /template/src/index.js: -------------------------------------------------------------------------------- 1 | import './style'; 2 | import App from './components/app'; 3 | 4 | export default App; 5 | -------------------------------------------------------------------------------- /template/src/assets/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/preactjs-templates/netlify/HEAD/template/src/assets/favicon.ico -------------------------------------------------------------------------------- /template/src/assets/profile.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/preactjs-templates/netlify/HEAD/template/src/assets/profile.jpg -------------------------------------------------------------------------------- /template/src/assets/icons/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/preactjs-templates/netlify/HEAD/template/src/assets/icons/favicon-16x16.png -------------------------------------------------------------------------------- /template/src/assets/icons/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/preactjs-templates/netlify/HEAD/template/src/assets/icons/favicon-32x32.png -------------------------------------------------------------------------------- /template/src/assets/icons/mstile-150x150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/preactjs-templates/netlify/HEAD/template/src/assets/icons/mstile-150x150.png -------------------------------------------------------------------------------- /template/src/assets/icons/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/preactjs-templates/netlify/HEAD/template/src/assets/icons/apple-touch-icon.png -------------------------------------------------------------------------------- /template/src/assets/brett-jordan-1329359-unsplash.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/preactjs-templates/netlify/HEAD/template/src/assets/brett-jordan-1329359-unsplash.jpg -------------------------------------------------------------------------------- /template/src/assets/icons/android-chrome-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/preactjs-templates/netlify/HEAD/template/src/assets/icons/android-chrome-192x192.png -------------------------------------------------------------------------------- /template/src/assets/icons/android-chrome-512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/preactjs-templates/netlify/HEAD/template/src/assets/icons/android-chrome-512x512.png -------------------------------------------------------------------------------- /template/src/assets/cody-black-nm89mzvar5i-unsplash.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/preactjs-templates/netlify/HEAD/template/src/assets/cody-black-nm89mzvar5i-unsplash.jpg -------------------------------------------------------------------------------- /template/src/assets/lucas-ludwig-dh2ztme9kni-unsplash.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/preactjs-templates/netlify/HEAD/template/src/assets/lucas-ludwig-dh2ztme9kni-unsplash.jpg -------------------------------------------------------------------------------- /template/netlify.toml: -------------------------------------------------------------------------------- 1 | 2 | [build] 3 | command = "yarn build" 4 | publish = "build" 5 | [build.environment] 6 | YARN_VERSION = "1.9.4" 7 | YARN_FLAGS = "--no-ignore-optional" -------------------------------------------------------------------------------- /template/content/images/cyclist.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Cyclist 3 | date: 2019-08-27T18:55:16.273Z 4 | photo: /assets/brett-jordan-1329359-unsplash.jpg 5 | --- 6 | Cyclist through a city 7 | -------------------------------------------------------------------------------- /template/content/images/lighthouse.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Lighthouse 3 | date: 2019-10-10T23:57:09.340Z 4 | photo: /assets/lucas-ludwig-dh2ztme9kni-unsplash.jpg 5 | --- 6 | A light house captured from the shore 7 | -------------------------------------------------------------------------------- /template/tests/__mocks__/fileMocks.js: -------------------------------------------------------------------------------- 1 | // This fixed an error related to the CSS and loading gif breaking my Jest test 2 | // See https://facebook.github.io/jest/docs/en/webpack.html#handling-static-assets 3 | module.exports = 'test-file-stub'; -------------------------------------------------------------------------------- /template/src/routes/contact-success/index.js: -------------------------------------------------------------------------------- 1 | import { h } from 'preact'; 2 | import style from './style'; 3 | 4 | const photographs = (props) => { 5 | return ( 6 |
That page doesn't exist.
11 |10 |
41 | {blog.preview} 42 |
43 |35 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do 36 | eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad 37 | minim veniam, quis nostrud exercitation ullamco laboris nisi ut 38 | aliquip ex ea commodo consequat. Duis aute irure dolor in 39 | reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla 40 | pariatur. Excepteur sint occaecat cupidatat non proident, sunt in 41 | culpa qui officia deserunt mollit anim id est laborum. 42 |
43 |44 | Sed ut perspiciatis unde omnis iste natus error sit voluptatem 45 | accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae 46 | ab illo inventore veritatis et quasi architecto beatae vitae dicta 47 | sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit 48 | aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos 49 | qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui 50 | dolorem ipsum quia dolor sit amet, consectetur. 51 |
52 |