@@ -23,28 +23,44 @@ export default function expressApp(functionName) {
2323 const html = `
2424 <html>
2525 <head>
26+ <style>
27+ body {
28+ padding: 30px;
29+ }
30+ </style>
2631 </head>
2732 <body>
2833 <h1>Express via '${ functionName } ' ⊂◉‿◉つ</h1>
2934
30- <p>I'm using Express running via a Netlify Function. Choose a route:</p>
35+ <p>I'm using Express running via a <a href='https://www.netlify.com/docs/functions/' target='_blank'>Netlify Function</a>.</p>
36+
37+ <p>Choose a route:</p>
3138
3239 <div>
3340 <a href='/.netlify/functions/${ functionName } /users'>View /users route</a>
3441 </div>
3542
3643 <div>
37- <div>
38- <a href='/.netlify/functions/${ functionName } /hello'>View /hello route</a>
39- </div>
44+ <a href='/.netlify/functions/${ functionName } /hello'>View /hello route</a>
4045 </div>
4146
4247 <br/>
4348 <br/>
49+
50+ <div>
51+ <a href='/'>
52+ Go back to demo homepage
53+ </a>
54+ </div>
55+
4456 <br/>
45- <a href='/'>
46- Go back to demo homepage
47- </a>
57+ <br/>
58+
59+ <div>
60+ <a href='https://github.com/DavidWells/netlify-functions-express' target='_blank'>
61+ See the source code on github
62+ </a>
63+ </div>
4864 </body>
4965 </html>
5066 `
0 commit comments