{"componentChunkName":"component---src-templates-blog-template-js","path":"/docs/additional-pages","result":{"data":{"markdownRemark":{"html":"<h2>About Page</h2>\n<p>The store config view has the option to add an \"About\" page. This link will add a link in the banner to <code>/about</code>, and will display the saved text.</p>\n<p><span\n      class=\"gatsby-resp-image-wrapper\"\n      style=\"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 960px; \"\n    >\n      <a\n    class=\"gatsby-resp-image-link\"\n    href=\"/static/0e25b7ca9f478f0d2492bb50fece8cd9/3f8aa/config4-preview.png\"\n    style=\"display: block\"\n    target=\"_blank\"\n    rel=\"noopener\"\n  >\n    <span\n    class=\"gatsby-resp-image-background-image\"\n    style=\"padding-bottom: 38.75%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAICAYAAAD5nd/tAAAACXBIWXMAAAsTAAALEwEAmpwYAAAA1ElEQVQoz52PTYrCQBCF+8AOogPuxEOIjLgZZpX7+IOucgYnbZP0T9Wzq2JC4oAwFny8l6ru6hez+rlg+X3GYnfC7OuI+TaT9XPbMlnvR3ysD396gtyZbg4wv7cGiq1ROY+q80NV2vk19+S7ekbvehg8qq5rEEXE4BEyUpSiaggRPgT1KQa8KsPMiIlxrRycc7D2Bu89OA9lRjSm7z/ggQqmNZRTBDSyiFlf4sGhVxBR7zWh/kZKmkp0eODthWVZoigKXdil+0+NFoqRdNbaPuE7dAvvaaxgfvItAugAAAAASUVORK5CYII='); background-size: cover; display: block;\"\n  ></span>\n  <img\n        class=\"gatsby-resp-image-image\"\n        alt=\"config4 preview\"\n        title=\"config4 preview\"\n        src=\"/static/0e25b7ca9f478f0d2492bb50fece8cd9/d9199/config4-preview.png\"\n        srcset=\"/static/0e25b7ca9f478f0d2492bb50fece8cd9/8ff5a/config4-preview.png 240w,\n/static/0e25b7ca9f478f0d2492bb50fece8cd9/e85cb/config4-preview.png 480w,\n/static/0e25b7ca9f478f0d2492bb50fece8cd9/d9199/config4-preview.png 960w,\n/static/0e25b7ca9f478f0d2492bb50fece8cd9/3f8aa/config4-preview.png 1337w\"\n        sizes=\"(max-width: 960px) 100vw, 960px\"\n        style=\"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;\"\n        loading=\"lazy\"\n      />\n  </a>\n    </span></p>\n<p>To add images, or change the page layout, you can edit the component directly at <code>src/components/AboutPage.js</code></p>\n<p><span\n      class=\"gatsby-resp-image-wrapper\"\n      style=\"position: relative; display: block; margin-left: auto; margin-right: auto; max-width: 911px; \"\n    >\n      <a\n    class=\"gatsby-resp-image-link\"\n    href=\"/static/d62451d165126ff181093c5ae93c16e8/636c2/config4-pages.png\"\n    style=\"display: block\"\n    target=\"_blank\"\n    rel=\"noopener\"\n  >\n    <span\n    class=\"gatsby-resp-image-background-image\"\n    style=\"padding-bottom: 68.75%; position: relative; bottom: 0; left: 0; background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAOCAYAAAAvxDzwAAAACXBIWXMAAAsTAAALEwEAmpwYAAACJUlEQVQ4y41T246iQBT0N3a9DopcFBBoQG6NgCKOOjO7m519mGT//y9qT7eXmBkT96FyIOlTp7rqdMcOK4RpCyfZwK1e4dZvcFd7ZJwjLTfQowKan2JkBRhaIZ4WCSEmLDGY+eibnqwXdBQ7wjwoobEcXrGFk65hhgWMgIMVNChbw05rPDkRxn4OlQRMfC4JhzTkC+GIphrpjvCM6bKAHnPoQUbNEXqmi67uoGe4srFPVX5f/s9kt6Sd4dyHINWJ1Mo3iHmKeZQhrBoYcY0x4xhYTBLdKrngjkIh26XmRnrXNFtwIltkW+hJQ1ZwzIICY7ri5+Z7IIVMHtS9FFZYwqSArOIILd5AjWq4vEFcHWDGJfqiyXxAKMxWWSb9E8SnqzEJMUymS3Uw9x+qu6bM8pYS3VEYOaa0IoK4qy/wbWpLiO+u7p7rQg7tieFnAV1jcQ2uI1gnXoLd+1+0Pz9Qv/xBuD5gnlTIt2/I2h8wI05XLzCLV7Bpjca0hwoFpdoMirPElOxS6KYjOzyFItinpI7Veyy3r2DNEf56D378jez5F7xVQ6gRNi/gL+907gAnzhEmGYVZIli1MJYrTIhDhjIU96eqko9aWkFLSlmnVFVSNQlzjEjVgIYP7ECeFd9d8rlHFnzXHFmFsM7JcAYzX8MqWyhuTC+ASYPlMOtEcFnmwWfcW5sxBTErGph8AyOroXjx9SXcvoi7+PKWpaLgYeP/LLXAPzlxsysu9YQrAAAAAElFTkSuQmCC'); background-size: cover; display: block;\"\n  ></span>\n  <img\n        class=\"gatsby-resp-image-image\"\n        alt=\"config4 pages\"\n        title=\"config4 pages\"\n        src=\"/static/d62451d165126ff181093c5ae93c16e8/636c2/config4-pages.png\"\n        srcset=\"/static/d62451d165126ff181093c5ae93c16e8/8ff5a/config4-pages.png 240w,\n/static/d62451d165126ff181093c5ae93c16e8/e85cb/config4-pages.png 480w,\n/static/d62451d165126ff181093c5ae93c16e8/636c2/config4-pages.png 911w\"\n        sizes=\"(max-width: 911px) 100vw, 911px\"\n        style=\"width:100%;height:100%;margin:0;vertical-align:middle;position:absolute;top:0;left:0;\"\n        loading=\"lazy\"\n      />\n  </a>\n    </span></p>\n<h2>Even More Pages</h2>\n<p>To add a new page to your site (for example, a \"Contact Us\" page), start by creating a component similar to <code>AboutPage.js</code>.</p>\n<p>Next, add a new route for your page in <code>src/App.js</code> inside the <code>render</code> function:</p>\n<pre><code>&#x3C;Route exact path=\"/new-page\" component={NewPage} />\n</code></pre>\n<p>Finally, add your page to the Banner Nav links, go to <code>src/components/ui/Banner.js</code> and add your route to the <code>links</code> array.</p>\n<pre><code>let links = [\n  { url: \"/shop\", label: \"Shop\" },\n  { url: \"/new-page\", label: \"New Page\" }\n];\n</code></pre>","frontmatter":{"path":"/docs/additional-pages","date":"2020-01-06T20:12:33.962Z","header":"Store Configuration","title":"Adding Pages 📄"}}},"pageContext":{"pages":[{"path":"/docs/changelog","title":"Changelog & To Do's 📝","header":"Beluga Next Steps","date":"2020-01-11T17:12:33.962Z"},{"path":"/docs/seo-social","title":"SEO and Social Media 💻","header":"Launching Your Store","date":"2020-01-10T17:12:33.962Z"},{"path":"/docs/deploy-to-heroku","title":"Deploying To Heroku 🚀","header":"Launching Your Store","date":"2020-01-09T17:12:33.962Z"},{"path":"/docs/gmail-oauth","title":"Setting up Gmail Oauth2 📬","header":"Managing Orders","date":"2020-01-07T19:12:33.962Z"},{"path":"/docs/email-templates","title":"Email Templates 🧾","header":"Managing Orders","date":"2020-01-07T18:12:33.962Z"},{"path":"/docs/managing-orders","title":"Order Admin 📦","header":"Managing Orders","date":"2020-01-07T16:12:33.962Z"},{"path":"/docs/custom-products","title":"Advanced: Custom Product Data 💫","header":"Store Configuration","date":"2020-01-06T22:12:33.962Z"},{"path":"/docs/shipping","title":"Checkout & Shipping 🛒","header":"Store Configuration","date":"2020-01-06T21:12:33.962Z"},{"path":"/docs/additional-pages","title":"Adding Pages 📄","header":"Store Configuration","date":"2020-01-06T20:12:33.962Z"},{"path":"/docs/adding-collections","title":"Adding Collections 📂","header":"Store Configuration","date":"2020-01-06T19:12:33.962Z"},{"path":"/docs/adding-products","title":"Adding Products 🎁","header":"Store Configuration","date":"2020-01-06T18:12:33.962Z"},{"path":"/docs/theming-design","title":"Theming & Design 🎨","header":"Store Configuration","date":"2020-01-06T17:12:33.962Z"},{"path":"/docs/store-config","title":"Store Settings 🛠","header":"Store Configuration","date":"2020-01-05T16:12:33.962Z"},{"path":"/docs/stripe","title":"Setting up Stripe 💵","header":"Introduction","date":"2020-01-04T17:12:33.962Z"},{"path":"/docs/new-store","title":"Creating a New Store 🛍","header":"Introduction","date":"2020-01-03T17:12:33.962Z"},{"path":"/docs/dev-environment","title":"Setting up the Dev Environment 🧪","header":"Introduction","date":"2020-01-02T17:12:33.962Z"},{"path":"/docs/project-structure","title":"Overview of Project Structure 🏗","header":"Introduction","date":"2020-01-01T17:12:33.962Z"}]}},"staticQueryHashes":["45326706"]}