├── .babelrc ├── .env.example ├── .eslintignore ├── .eslintrc ├── .gitignore ├── LICENSE ├── README.md ├── app.json ├── bucket.json ├── components ├── views │ ├── about-us.js │ ├── blog.js │ ├── contact.js │ ├── faq.js │ ├── home.js │ ├── page.js │ ├── partials │ │ ├── footer.js │ │ └── header.js │ └── search.js └── widgets │ └── Meta │ └── index.js ├── config └── index.js ├── package-lock.json ├── package.json ├── pages ├── _document.js ├── about-us.js ├── blog.js ├── contact.js ├── faqs.js ├── generic.js ├── index.js └── search.js ├── routes.js ├── screenshots └── medical-professional.png ├── server.js ├── static ├── css │ ├── custom.css │ └── nprogress.css └── js │ ├── jquery.min.js │ └── nprogress.js └── utils ├── helperFuncs.js └── request.js /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "env": { 3 | "development": { 4 | "presets": ["next/babel"], 5 | "plugins": [ 6 | ["module-resolver", { "root": ["./"] }], 7 | ["inline-dotenv"] 8 | ] 9 | }, 10 | "production": { 11 | "presets": ["next/babel"], 12 | "plugins": [ 13 | ["module-resolver", { "root": ["./"] }], 14 | ["inline-dotenv"] 15 | ] 16 | } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /.env.example: -------------------------------------------------------------------------------- 1 | COSMIC_BUCKET= 2 | COSMIC_READ_KEY= 3 | COSMIC_WRITE_KEY= 4 | PORT= -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | /.next 2 | /public/* 3 | /__tests__ 4 | -------------------------------------------------------------------------------- /.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "parser": "babel-eslint", 3 | "plugins": [ 4 | "react" 5 | ], 6 | "parserOptions": { 7 | "ecmaVersion": 6, 8 | "sourceType": "module", 9 | "ecmaFeatures": { 10 | "jsx": true 11 | } 12 | }, 13 | "env": { 14 | "browser": true, 15 | "amd": true, 16 | "es6": true, 17 | "node": true, 18 | "mocha": true 19 | }, 20 | "extends": [ 21 | "airbnb", 22 | "eslint:recommended", 23 | "plugin:import/errors", 24 | "plugin:import/warnings" 25 | ], 26 | "rules": { 27 | "quotes": [ 1, "single" ], 28 | "no-undef": 1, 29 | "no-extra-semi": 1, 30 | "no-console": 1, 31 | "no-unused-vars": 1, 32 | "no-trailing-spaces": [1, { "skipBlankLines": true }], 33 | "no-unreachable": 1, 34 | "react/jsx-uses-react": 1, 35 | "react/jsx-uses-vars": 1, 36 | "react/jsx-filename-extension": 0, 37 | "react/prop-types": 0, 38 | "import/no-unresolved": [0, {"commonjs": true, "amd": true}], 39 | "import/named": 1, 40 | "import/namespace": 1, 41 | "import/default": 1, 42 | "import/export": 1, 43 | "import/no-extraneous-dependencies": 0, 44 | "import/extensions": 0 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | /npm-debug.log 3 | /.next 4 | /coverage 5 | .env -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2018 Cosmic JS 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Next.js Website Boilerplate 2 | ![nextjs-website-boilerplate](https://cosmic-s3.imgix.net/ef914540-3106-11e8-8a87-1d4e79eefafa-nextjs-cosmicjs.jpg) 3 | A website template that satisfies some common website requirements including dynamic pages, blog articles, author management, SEO ability, contact form and website search. Contributions welcome! 4 | 5 | ## Demo 6 | [Click here to view the demo](https://cosmicjs.com/apps/nextjs-website-boilerplate) 7 | 8 | > [Read how this app was built](https://cosmicjs.com/articles/nextjs-website-boilerplate-jeoea8au) 9 | 10 | ## Features 11 | 1. Fully responsive down to mobile w/ [Bootstrap](http://getbootstrap.com) frontend
12 | 2. SEO ready
13 | 3. A contact form that sends an email to your email(s) of choice and to [Cosmic](https://cosmicjs.com) for easy reference
14 | 4. Full-site search functionality
15 | 5. All content is easily managed in [Cosmic](https://cosmicjs.com) including pages, blog and contact info. 16 | 17 | Sign up for [Cosmic](https://cosmicjs.com) to install the demo content and deploy this website. 18 | 19 | ## Getting Started 20 | 21 | ```bash 22 | git clone https://github.com/cosmicjs/nextjs-website-boilerplate 23 | cd nextjs-website-boilerplate 24 | npm install 25 | 26 | # Run in development and serve at localhost:3000 27 | npm run dev 28 | 29 | # build for production 30 | npm run build 31 | 32 | # Run in production and serve at localhost:3000 33 | COSMIC_BUCKET=your-bucket-slug npm start 34 | ``` 35 | Import the `bucket.json` file into your Cosmic Bucket. To do this go to Your Bucket > Settings > Import / Export Data. 36 | 37 | ## Contact form setup 38 | Install and deploy the SendGrid Email Function. 39 | 40 | 41 | 42 | The contact form on the contact page uses the [SendGrid Email Function](https://github.com/cosmicjs/send-email-function) to send emails. To deploy your email function go to Your Bucket > Settings > Functions. Install and deploy the SendGrid Function. You will need an account with [SendGrid](https://sendgrid.com/) to add your SendGrid API key. 43 | 44 | ### Add the SendGrid Function Endpoint 45 | 46 | #### in development 47 | Go to `config/index.js` and edit `SENDGRID_FUNCTION_ENDPOINT` to manually add the URL for testing. 48 | 49 | #### in production 50 | If you are using the Web Hosting option that's included with every Bucket: 51 | 1. Go to Your Bucket > Settings > Web Hosting 52 | 2. Deploy your Website 53 | 3. Click 'Set Environment Variables' tab and add the SendGrid Function endpoint: 54 | 55 | Key | Value 56 | --- | --- 57 | | SENDGRID_FUNCTION_ENDPOINT | https://your-lambda-endpoint.amazonaws.com/dev/send-email 58 | -------------------------------------------------------------------------------- /app.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Next.js Website Boilerplate", 3 | "description": "A website boilerplate built using Next.js and Cosmic JS", 4 | "repository": "https://github.com/cosmicjs/nextjs-website-boilerplate", 5 | "logo": "https://cosmicjs.com/images/logo.svg", 6 | "keywords": ["react", "next.js", "website"] 7 | } 8 | -------------------------------------------------------------------------------- /bucket.json: -------------------------------------------------------------------------------- 1 | {"bucket":{"_id":"5a9d3846031ee26c33735b6e","slug":"eb179f60-2070-11e8-89e4-db7642b320e6","title":"medical-professional","object_types":[{"title":"Globals","slug":"globals","singular":"Global","metafields":[],"options":{"slug_field":1,"content_editor":0,"add_metafields":0,"metafields_title":0,"metafields_key":0},"localization":false,"locales":""},{"title":"Pages","slug":"pages","singular":"Page","metafields":[{"edit":1,"value":"This is the SEO description. Keep it short.","key":"seo_description","title":"SEO Description","type":"textarea","children":null}],"options":{"slug_field":1,"content_editor":1,"add_metafields":0,"metafields_title":0,"metafields_key":0},"localization":false,"locales":""},{"title":"Blogs","slug":"blogs","singular":"Blog","metafields":[{"value":"","key":"hero","title":"Hero","type":"file","children":false},{"edit":1,"value":"","key":"teaser","title":"Teaser","type":"textarea","children":null},{"value":"This is the SEO description. Keep it short.","key":"seo_description","title":"SEO Description","type":"textarea","children":false},{"object_type":"authors","value":"","key":"author","title":"Author","type":"object","children":false}],"options":{"slug_field":1,"content_editor":1,"add_metafields":0,"metafields_title":0,"metafields_key":0},"localization":false,"locales":""},{"title":"Form Submissions","slug":"form-submissions","singular":"Form Submission","metafields":[],"options":{"slug_field":1,"content_editor":1,"add_metafields":0,"metafields_title":0,"metafields_key":0},"localization":false,"locales":""},{"title":"Authors","slug":"authors","singular":"Author","metafields":[{"edit":1,"value":"","key":"image","title":"Image","type":"file","children":null}],"options":{"slug_field":1,"content_editor":1,"add_metafields":1,"metafields_title":1,"metafields_key":1}}],"links":[],"objects":[{"_id":"5a9d384785e79769d995433a","old_id":"5794f5af1d63ddee30001300","bucket":"5a9d3846031ee26c33735b6e","slug":"chad-henly","title":"Chad Henly","content":"","metafields":[{"value":"2c9b41c0-52a6-11e6-a069-734be6eb1ef6-doc.png","key":"image","title":"Image","type":"file","children":false}],"type_slug":"authors","created":"2018-03-05T12:29:59.574Z","created_at":"2018-03-05T12:29:59.574Z","user_id":"5982e43580aaa862200007ac","options":{"slug_field":1,"content_editor":1},"order":0,"status":"published"},{"_id":"5a9d384785e79769d9954339","old_id":"5794f5af1d63ddee30001302","bucket":"5a9d3846031ee26c33735b6e","slug":"contact-form","title":"Contact Form","content":"","metafields":[{"edit":1,"value":"tony@cosmicjs.com","key":"to","title":"To","type":"text","children":null},{"edit":1,"value":"A new form submission on your website","key":"subject","title":"Subject","type":"text","children":null}],"type_slug":"globals","created":"2018-03-05T12:29:59.573Z","created_at":"2018-03-05T12:29:59.573Z","user_id":"5982e43580aaa862200007ac","options":{"slug_field":1,"content_editor":0},"order":0,"status":null},{"_id":"5a9d384785e79769d995433b","old_id":"579525e11d63ddee300017cf","bucket":"5a9d3846031ee26c33735b6e","slug":"a-very-important-topic-your-health","title":"A Very Important Topic: Your Health","content":"

Aerobic activity alcoholism animal dander arthritis body type certified diabetes educators (cdes) diagnosis ear canal external otitis genes glucagon growth hormone hormone ibuprofen joints keratin ketones myopia nebulizer optometrist retina rheumatologist sternutation varicella zoster violence virus. Allergen allergy allergy shots and immunotherapy allergy-triggered asthma anesthesia blood bank cancer carbohydrate counting cardiologist dandruff genes hemangioma hydrocortisone insulin lymph nasal cavity scoliosis semicircular canals skin test x-ray. Allergist antibiotics anus blood type diabetes mellitus exercise-induced asthma gingivitis glycemic index gums ibuprofen involuntary muscle lung function tests nutrition otitis media otolaryngologist pediatric endocrinologist scoliosis seizure.

Alignment astigmatism astringents blood bank blood type bronchial tubes cancer cerumen dermatologist emotions enuresis fracture heredity humidifier keratin lacrimal glands optician optometrist peak flow meter pneumonia rx scar sphenopalatineganglioneuralgia stethoscope urticaria vertebrae virus whitehead. Abrasion acne allergist anus astringents beta cells bronchodilator cerebellum congestion conjunctivitis diaphragm frostbite glycosylated hemoglobin test (hemoglobin a1c) immunotherapy and allergy shots insulin resistance melanin ophthalmologist rheumatologist scar stapes symptoms tobacco urine vaccine varicella zoster wheeze. Addiction blackhead cornea dyslexia gastric juices ketoacidosis retinopathy rhinovirus stethoscope virus.

Airway obstruction alcoholism alignment amputate anus bone marrow braces bronchodilator caries ear canal enuresis farsighted frenulum frostbite hydrogen peroxide hyperopia involuntary muscle iv ketones larynx microscope nutrition perspiration pinna social worker ultrasound urinalysis violence virus. Alignment anesthesia body type bone marrow chromosomes corticosteroids dehydration dna exercise-induced asthma external otitis fats frostbite gastroenteritis genes gluteus maximus hormone hyperglycemia influenza malocclusion petroleum jelly prosthesis sclera taste buds triggers. Abrasion conjunctivitis dust mites dyslexia genes genetics growth hormone laparoscopy nearsighted optician saliva skin test social worker strep screen triggers.

Cancer cardiologist chromosomes cone ct scan or cat scan dust mites glycogen hormone icu immunizations lymph node mucus pediatric endocrinologist polyphagia saliva stress sulfites tinnitus triggers. Biopsy bronchial tubes bronchoconstriction certified diabetes educators (cdes) dandruff diarrhea enamel er fluoride gingivitis icu lymph node occupational therapy oncologist optometrist rheumatologist tobacco triggers ultrasound urticaria vaccine vertebrae. Allergen allergy shots and immunotherapy body type bronchoconstriction bruise dermatologist diagnosis eczema exercise-induced asthma gastric juices genetics gluteus maximus hydrogen peroxide immunizations insulin lymph node nebulizer sphenopalatineganglioneuralgia spirometer stress suture umbilical cord.

Carbohydrate counting ct scan or cat scan diagnosis er genes humidifier ketoacidosis night guard pupil retractions sulfites virus. Allergen antihistamines braces cerebellum chronic congestion decongestants eustachian tube floss genetics hematoma hydrogen peroxide hyperopia lacrimal glands optometrist sebaceous glands skin test social worker sphenopalatineganglioneuralgia suture urinalysis urticaria violence. Antibiotics arteries and veins eeg (electroencephalogram) gastroenteritis hyperopia ibuprofen insulin injections ketones laxatives nephropathy nervous system rhinovirus stapes taste buds. Bruxism cardiologist cornea heredity insulin resistance involuntary muscle occupational therapist optician pulmonologist skin test.

","metafields":[{"value":"71f30d70-52d3-11e6-a069-734be6eb1ef6-shutterstock_208763188.png","key":"hero","title":"Hero","type":"file","children":false},{"value":"This is the SEO description. Keep it short.","key":"seo_description","title":"SEO Description","type":"textarea","children":false},{"object_type":"authors","value":"5a9d384785e79769d995433a","key":"author","title":"Author","type":"object","children":false},{"value":"Aerobic activity alcoholism animal dander arthritis body type certified diabetes educators (cdes) diagnosis ear canal external otitis genes glucagon growth hormone hormone ibuprofen joints keratin ketones myopia nebulizer optometrist retina rheumatologist sternutation varicella zoster violence virus.","key":"teaser","title":"Teaser","type":"textarea","children":false}],"type_slug":"blogs","created":"2018-03-05T12:29:59.575Z","created_at":"2018-03-05T12:29:59.575Z","user_id":"5982e43580aaa862200007ac","options":{"slug_field":1,"content_editor":1},"order":0,"status":"published"},{"_id":"5a9d384785e79769d995433c","old_id":"5794f5af1d63ddee300012ff","bucket":"5a9d3846031ee26c33735b6e","slug":"new-york-medical-services","title":"New York Medical Services","content":"

Aerobic activity alcoholism animal dander arthritis body type certified diabetes educators (cdes) diagnosis ear canal external otitis genes glucagon growth hormone hormone ibuprofen joints keratin ketones myopia nebulizer optometrist retina rheumatologist sternutation varicella zoster violence virus. Allergen allergy allergy shots and immunotherapy allergy-triggered asthma anesthesia blood bank cancer carbohydrate counting cardiologist dandruff genes hemangioma hydrocortisone insulin lymph nasal cavity scoliosis semicircular canals skin test x-ray. Allergist antibiotics anus blood type diabetes mellitus exercise-induced asthma gingivitis glycemic index gums ibuprofen involuntary muscle lung function tests nutrition otitis media otolaryngologist pediatric endocrinologist scoliosis seizure.

Alignment astigmatism astringents blood bank blood type bronchial tubes cancer cerumen dermatologist emotions enuresis fracture heredity humidifier keratin lacrimal glands optician optometrist peak flow meter pneumonia rx scar sphenopalatineganglioneuralgia stethoscope urticaria vertebrae virus whitehead. Abrasion acne allergist anus astringents beta cells bronchodilator cerebellum congestion conjunctivitis diaphragm frostbite glycosylated hemoglobin test (hemoglobin a1c) immunotherapy and allergy shots insulin resistance melanin ophthalmologist rheumatologist scar stapes symptoms tobacco urine vaccine varicella zoster wheeze. Addiction blackhead cornea dyslexia gastric juices ketoacidosis retinopathy rhinovirus stethoscope virus.

Airway obstruction alcoholism alignment amputate anus bone marrow braces bronchodilator caries ear canal enuresis farsighted frenulum frostbite hydrogen peroxide hyperopia involuntary muscle iv ketones larynx microscope nutrition perspiration pinna social worker ultrasound urinalysis violence virus. Alignment anesthesia body type bone marrow chromosomes corticosteroids dehydration dna exercise-induced asthma external otitis fats frostbite gastroenteritis genes gluteus maximus hormone hyperglycemia influenza malocclusion petroleum jelly prosthesis sclera taste buds triggers. Abrasion conjunctivitis dust mites dyslexia genes genetics growth hormone laparoscopy nearsighted optician saliva skin test social worker strep screen triggers.

Cancer cardiologist chromosomes cone ct scan or cat scan dust mites glycogen hormone icu immunizations lymph node mucus pediatric endocrinologist polyphagia saliva stress sulfites tinnitus triggers. Biopsy bronchial tubes bronchoconstriction certified diabetes educators (cdes) dandruff diarrhea enamel er fluoride gingivitis icu lymph node occupational therapy oncologist optometrist rheumatologist tobacco triggers ultrasound urticaria vaccine vertebrae. Allergen allergy shots and immunotherapy body type bronchoconstriction bruise dermatologist diagnosis eczema exercise-induced asthma gastric juices genetics gluteus maximus hydrogen peroxide immunizations insulin lymph node nebulizer sphenopalatineganglioneuralgia spirometer stress suture umbilical cord.

Carbohydrate counting ct scan or cat scan diagnosis er genes humidifier ketoacidosis night guard pupil retractions sulfites virus. Allergen antihistamines braces cerebellum chronic congestion decongestants eustachian tube floss genetics hematoma hydrogen peroxide hyperopia lacrimal glands optometrist sebaceous glands skin test social worker sphenopalatineganglioneuralgia suture urinalysis urticaria violence. Antibiotics arteries and veins eeg (electroencephalogram) gastroenteritis hyperopia ibuprofen insulin injections ketones laxatives nephropathy nervous system rhinovirus stapes taste buds. Bruxism cardiologist cornea heredity insulin resistance involuntary muscle occupational therapist optician pulmonologist skin test.

","metafields":[{"value":"This is the SEO description. Keep it short.","key":"seo_description","title":"SEO Description","type":"textarea","children":false}],"type_slug":"pages","created":"2018-03-05T12:29:59.577Z","created_at":"2018-03-05T12:29:59.577Z","user_id":"5982e43580aaa862200007ac","options":{"slug_field":1,"content_editor":1},"order":0,"status":"published"},{"_id":"5a9d384785e79769d995433d","old_id":"5794f5af1d63ddee30001303","bucket":"5a9d3846031ee26c33735b6e","slug":"los-angeles-medical-services","title":"Los Angeles Medical Services","content":"

Aerobic activity alcoholism animal dander arthritis body type certified diabetes educators (cdes) diagnosis ear canal external otitis genes glucagon growth hormone hormone ibuprofen joints keratin ketones myopia nebulizer optometrist retina rheumatologist sternutation varicella zoster violence virus. Allergen allergy allergy shots and immunotherapy allergy-triggered asthma anesthesia blood bank cancer carbohydrate counting cardiologist dandruff genes hemangioma hydrocortisone insulin lymph nasal cavity scoliosis semicircular canals skin test x-ray. Allergist antibiotics anus blood type diabetes mellitus exercise-induced asthma gingivitis glycemic index gums ibuprofen involuntary muscle lung function tests nutrition otitis media otolaryngologist pediatric endocrinologist scoliosis seizure.

Alignment astigmatism astringents blood bank blood type bronchial tubes cancer cerumen dermatologist emotions enuresis fracture heredity humidifier keratin lacrimal glands optician optometrist peak flow meter pneumonia rx scar sphenopalatineganglioneuralgia stethoscope urticaria vertebrae virus whitehead. Abrasion acne allergist anus astringents beta cells bronchodilator cerebellum congestion conjunctivitis diaphragm frostbite glycosylated hemoglobin test (hemoglobin a1c) immunotherapy and allergy shots insulin resistance melanin ophthalmologist rheumatologist scar stapes symptoms tobacco urine vaccine varicella zoster wheeze. Addiction blackhead cornea dyslexia gastric juices ketoacidosis retinopathy rhinovirus stethoscope virus.

Airway obstruction alcoholism alignment amputate anus bone marrow braces bronchodilator caries ear canal enuresis farsighted frenulum frostbite hydrogen peroxide hyperopia involuntary muscle iv ketones larynx microscope nutrition perspiration pinna social worker ultrasound urinalysis violence virus. Alignment anesthesia body type bone marrow chromosomes corticosteroids dehydration dna exercise-induced asthma external otitis fats frostbite gastroenteritis genes gluteus maximus hormone hyperglycemia influenza malocclusion petroleum jelly prosthesis sclera taste buds triggers. Abrasion conjunctivitis dust mites dyslexia genes genetics growth hormone laparoscopy nearsighted optician saliva skin test social worker strep screen triggers.

Cancer cardiologist chromosomes cone ct scan or cat scan dust mites glycogen hormone icu immunizations lymph node mucus pediatric endocrinologist polyphagia saliva stress sulfites tinnitus triggers. Biopsy bronchial tubes bronchoconstriction certified diabetes educators (cdes) dandruff diarrhea enamel er fluoride gingivitis icu lymph node occupational therapy oncologist optometrist rheumatologist tobacco triggers ultrasound urticaria vaccine vertebrae. Allergen allergy shots and immunotherapy body type bronchoconstriction bruise dermatologist diagnosis eczema exercise-induced asthma gastric juices genetics gluteus maximus hydrogen peroxide immunizations insulin lymph node nebulizer sphenopalatineganglioneuralgia spirometer stress suture umbilical cord.

Carbohydrate counting ct scan or cat scan diagnosis er genes humidifier ketoacidosis night guard pupil retractions sulfites virus. Allergen antihistamines braces cerebellum chronic congestion decongestants eustachian tube floss genetics hematoma hydrogen peroxide hyperopia lacrimal glands optometrist sebaceous glands skin test social worker sphenopalatineganglioneuralgia suture urinalysis urticaria violence. Antibiotics arteries and veins eeg (electroencephalogram) gastroenteritis hyperopia ibuprofen insulin injections ketones laxatives nephropathy nervous system rhinovirus stapes taste buds. Bruxism cardiologist cornea heredity insulin resistance involuntary muscle occupational therapist optician pulmonologist skin test.

","metafields":[{"value":"This is the SEO description. Keep it short.","key":"seo_description","title":"SEO Description","type":"textarea","children":false}],"type_slug":"pages","created":"2018-03-05T12:29:59.578Z","created_at":"2018-03-05T12:29:59.578Z","user_id":"5982e43580aaa862200007ac","options":{"slug_field":1,"content_editor":1},"order":1,"status":"published"},{"_id":"5a9d384785e79769d995433e","old_id":"5794f5af1d63ddee30001306","bucket":"5a9d3846031ee26c33735b6e","slug":"chicago-medical-services","title":"Chicago Medical Services","content":"

Aerobic activity alcoholism animal dander arthritis body type certified diabetes educators (cdes) diagnosis ear canal external otitis genes glucagon growth hormone hormone ibuprofen joints keratin ketones myopia nebulizer optometrist retina rheumatologist sternutation varicella zoster violence virus. Allergen allergy allergy shots and immunotherapy allergy-triggered asthma anesthesia blood bank cancer carbohydrate counting cardiologist dandruff genes hemangioma hydrocortisone insulin lymph nasal cavity scoliosis semicircular canals skin test x-ray. Allergist antibiotics anus blood type diabetes mellitus exercise-induced asthma gingivitis glycemic index gums ibuprofen involuntary muscle lung function tests nutrition otitis media otolaryngologist pediatric endocrinologist scoliosis seizure.

Alignment astigmatism astringents blood bank blood type bronchial tubes cancer cerumen dermatologist emotions enuresis fracture heredity humidifier keratin lacrimal glands optician optometrist peak flow meter pneumonia rx scar sphenopalatineganglioneuralgia stethoscope urticaria vertebrae virus whitehead. Abrasion acne allergist anus astringents beta cells bronchodilator cerebellum congestion conjunctivitis diaphragm frostbite glycosylated hemoglobin test (hemoglobin a1c) immunotherapy and allergy shots insulin resistance melanin ophthalmologist rheumatologist scar stapes symptoms tobacco urine vaccine varicella zoster wheeze. Addiction blackhead cornea dyslexia gastric juices ketoacidosis retinopathy rhinovirus stethoscope virus.

Airway obstruction alcoholism alignment amputate anus bone marrow braces bronchodilator caries ear canal enuresis farsighted frenulum frostbite hydrogen peroxide hyperopia involuntary muscle iv ketones larynx microscope nutrition perspiration pinna social worker ultrasound urinalysis violence virus. Alignment anesthesia body type bone marrow chromosomes corticosteroids dehydration dna exercise-induced asthma external otitis fats frostbite gastroenteritis genes gluteus maximus hormone hyperglycemia influenza malocclusion petroleum jelly prosthesis sclera taste buds triggers. Abrasion conjunctivitis dust mites dyslexia genes genetics growth hormone laparoscopy nearsighted optician saliva skin test social worker strep screen triggers.

Cancer cardiologist chromosomes cone ct scan or cat scan dust mites glycogen hormone icu immunizations lymph node mucus pediatric endocrinologist polyphagia saliva stress sulfites tinnitus triggers. Biopsy bronchial tubes bronchoconstriction certified diabetes educators (cdes) dandruff diarrhea enamel er fluoride gingivitis icu lymph node occupational therapy oncologist optometrist rheumatologist tobacco triggers ultrasound urticaria vaccine vertebrae. Allergen allergy shots and immunotherapy body type bronchoconstriction bruise dermatologist diagnosis eczema exercise-induced asthma gastric juices genetics gluteus maximus hydrogen peroxide immunizations insulin lymph node nebulizer sphenopalatineganglioneuralgia spirometer stress suture umbilical cord.

Carbohydrate counting ct scan or cat scan diagnosis er genes humidifier ketoacidosis night guard pupil retractions sulfites virus. Allergen antihistamines braces cerebellum chronic congestion decongestants eustachian tube floss genetics hematoma hydrogen peroxide hyperopia lacrimal glands optometrist sebaceous glands skin test social worker sphenopalatineganglioneuralgia suture urinalysis urticaria violence. Antibiotics arteries and veins eeg (electroencephalogram) gastroenteritis hyperopia ibuprofen insulin injections ketones laxatives nephropathy nervous system rhinovirus stapes taste buds. Bruxism cardiologist cornea heredity insulin resistance involuntary muscle occupational therapist optician pulmonologist skin test.

","metafields":[{"value":"This is the SEO description. Keep it short.","key":"seo_description","title":"SEO Description","type":"textarea","children":false}],"type_slug":"pages","created":"2018-03-05T12:29:59.579Z","created_at":"2018-03-05T12:29:59.579Z","user_id":"5982e43580aaa862200007ac","options":{"slug_field":1,"content_editor":1},"order":2,"status":"published"},{"_id":"5a9d384785e79769d995433f","old_id":"5794f5af1d63ddee30001308","bucket":"5a9d3846031ee26c33735b6e","slug":"header","title":"Header","content":"","metafields":[{"value":"991f6b90-51c1-11e6-9e30-fb7e1b19bdc0-Screen Shot 2016-07-24 at 12.10.24 PM.png","key":"logo","title":"Logo","type":"file","children":false},{"value":"Medicenter | Your one-stop shop for all medical needs","key":"site_title","title":"Site Title","type":"text","children":false},{"value":"0713f190-51ca-11e6-9e30-fb7e1b19bdc0-Screen Shot 2016-07-24 at 1.11.05 PM.png","key":"favicon","title":"Favicon","type":"file","children":false}],"type_slug":"globals","created":"2018-03-05T12:29:59.580Z","created_at":"2018-03-05T12:29:59.580Z","user_id":"5982e43580aaa862200007ac","options":{"slug_field":1,"content_editor":0,"add_metafields":0,"metafields_title":0,"metafields_key":0},"order":3,"status":"published"},{"_id":"5a9d384785e79769d9954340","old_id":"5794f5af1d63ddee30001309","bucket":"5a9d3846031ee26c33735b6e","slug":"contact","title":"Contact Us","content":"

Aerobic activity alcoholism animal dander arthritis body type certified diabetes educators (cdes) diagnosis ear canal external otitis genes glucagon growth hormone hormone ibuprofen joints keratin ketones myopia nebulizer optometrist retina rheumatologist sternutation varicella zoster violence virus.

","metafields":[{"value":"This is the SEO description. Keep it short.","key":"seo_description","title":"SEO Description","type":"textarea","children":false},{"value":"Success! A rep from our office will be in touch soon!","key":"contact_form_success_message","title":"Contact Form Success Message","type":"textarea","children":false}],"type_slug":"pages","created":"2018-03-05T12:29:59.581Z","created_at":"2018-03-05T12:29:59.581Z","user_id":"5982e43580aaa862200007ac","options":{"slug_field":1,"content_editor":1},"order":3,"status":"published"},{"_id":"5a9d384785e79769d9954341","old_id":"579528151d63ddee3000183b","bucket":"5a9d3846031ee26c33735b6e","slug":"nav","title":"Nav","content":"","metafields":[{"value":"/","key":"home","title":"Home","type":"text","children":false},{"value":"/about-us","key":"about_us","title":"About Us","type":"text","children":false},{"value":"","key":"services","title":"Services","type":"text","children":[{"value":"/deciding-on-care","key":"deciding_on_care","title":"Deciding on Care","type":"text","children":false},{"value":"/specialty-centers-and-programs","key":"specialty_centers_and_programs","title":"Specialty Centers and Programs","type":"text","children":false}]},{"value":"","key":"areas_served","title":"Areas Served","type":"text","children":[{"value":"new-york-medical-services","key":"new_york","title":"New York","type":"text","children":false},{"value":"los-angeles-medical-services","key":"los_angeles","title":"Los Angeles","type":"text","children":false},{"value":"chicago-medical-services","key":"chicago","title":"Chicago","type":"text","children":false}]},{"value":"/blog","key":"blog","title":"Blog","type":"text","children":false},{"value":"/faqs","key":"faqs","title":"FAQs","type":"text","children":false},{"value":"/contact","key":"contact_us","title":"Contact Us","type":"text","children":false},{"value":"/search","key":"search","title":"Search","type":"text","children":false}],"type_slug":"globals","created":"2018-03-05T12:29:59.582Z","created_at":"2018-03-05T12:29:59.582Z","user_id":"5982e43580aaa862200007ac","options":{"slug_field":1,"content_editor":0},"order":4,"status":"published"},{"_id":"5a9d384785e79769d9954342","old_id":"5794f5af1d63ddee3000130b","bucket":"5a9d3846031ee26c33735b6e","slug":"faqs","title":"FAQs","content":"","metafields":[{"value":"","key":"faqs","title":"FAQs","type":"text","children":[{"value":"Aerobic activity alcoholism animal dander arthritis body type certified diabetes educators (cdes) diagnosis ear canal external otitis genes glucagon growth hormone hormone ibuprofen joints keratin ketones myopia nebulizer optometrist retina rheumatologist sternutation varicella zoster violence virus.","key":"how_long_does_a_procedure_take","title":"How long does a procedure take?","type":"textarea","children":false},{"value":"Aerobic activity alcoholism animal dander arthritis body type certified diabetes educators (cdes) diagnosis ear canal external otitis genes glucagon growth hormone hormone ibuprofen joints keratin ketones myopia nebulizer optometrist retina rheumatologist sternutation varicella zoster violence virus.","key":"what_insurance_providers_do_you_accept","title":"What insurance providers do you accept?","type":"textarea","children":false},{"value":"Aerobic activity alcoholism animal dander arthritis body type certified diabetes educators (cdes) diagnosis ear canal external otitis genes glucagon growth hormone hormone ibuprofen joints keratin ketones myopia nebulizer optometrist retina rheumatologist sternutation varicella zoster violence virus.","key":"how_do_i_know_if_i_need_treatment","title":"How do I know if I need treatment?","type":"textarea","children":false}]},{"value":"This is the SEO description. Keep it short.","key":"seo_description","title":"SEO Description","type":"textarea","children":false}],"type_slug":"pages","created":"2018-03-05T12:29:59.583Z","created_at":"2018-03-05T12:29:59.583Z","user_id":"5982e43580aaa862200007ac","options":{"slug_field":1,"content_editor":0,"add_metafields":0,"metafields_title":0,"metafields_key":0},"order":4,"status":"published"},{"_id":"5a9d384785e79769d9954343","old_id":"5794f5af1d63ddee3000130d","bucket":"5a9d3846031ee26c33735b6e","slug":"blog","title":"Blog","content":"","metafields":[{"value":"This is the SEO description. Keep it short.","key":"seo_description","title":"SEO Description","type":"textarea","children":false}],"type_slug":"pages","created":"2018-03-05T12:29:59.584Z","created_at":"2018-03-05T12:29:59.584Z","user_id":"5982e43580aaa862200007ac","options":{"slug_field":1,"content_editor":1},"order":5,"status":null},{"_id":"5a9d384785e79769d9954344","old_id":"5794f5af1d63ddee3000130c","bucket":"5a9d3846031ee26c33735b6e","slug":"social","title":"Social","content":"","metafields":[{"value":"https://www.facebook.com","key":"facebook","title":"Facebook","type":"text","children":false},{"value":"https://twitter.com","key":"twitter","title":"Twitter","type":"text","children":false},{"value":"https://plus.google.com","key":"google_plus","title":"Google Plus","type":"text","children":false}],"type_slug":"globals","created":"2018-03-05T12:29:59.585Z","created_at":"2018-03-05T12:29:59.585Z","user_id":"5982e43580aaa862200007ac","options":{"slug_field":1,"content_editor":0},"order":5,"status":"published"},{"_id":"5a9d384785e79769d9954345","old_id":"5794f5af1d63ddee3000130f","bucket":"5a9d3846031ee26c33735b6e","slug":"search","title":"Search","content":"","metafields":[{"value":"This is the SEO description. Keep it short.","key":"seo_description","title":"SEO Description","type":"textarea","children":false}],"type_slug":"pages","created":"2018-03-05T12:29:59.586Z","created_at":"2018-03-05T12:29:59.586Z","user_id":"5982e43580aaa862200007ac","options":{"slug_field":1,"content_editor":1},"order":6,"status":null},{"_id":"5a9d384785e79769d9954346","old_id":"5794f5af1d63ddee3000130e","bucket":"5a9d3846031ee26c33735b6e","slug":"contact-info","title":"Contact Info","content":"","metafields":[{"value":"555-555-5555","key":"phone","title":"Phone","type":"text","children":false},{"value":"medical-pro@untitled.tld","key":"email","title":"Email","type":"text","children":false},{"value":"

12345 Medical Rd
Everywhere, USA

","key":"address","title":"Address","type":"html-textarea","children":false}],"type_slug":"globals","created":"2018-03-05T12:29:59.587Z","created_at":"2018-03-05T12:29:59.587Z","user_id":"5982e43580aaa862200007ac","options":{"slug_field":1,"content_editor":0},"order":6,"status":"published"},{"_id":"5a9d384785e79769d9954347","old_id":"5794f5af1d63ddee30001310","bucket":"5a9d3846031ee26c33735b6e","slug":"footer","title":"Footer","content":"","metafields":[{"value":"Medicenter","key":"company_title","title":"Company Title","type":"text","children":false}],"type_slug":"globals","created":"2018-03-05T12:29:59.588Z","created_at":"2018-03-05T12:29:59.588Z","user_id":"5982e43580aaa862200007ac","options":{"slug_field":1,"content_editor":0},"order":7,"status":"published"},{"_id":"5a9d384785e79769d9954348","old_id":"5794f5af1d63ddee30001311","bucket":"5a9d3846031ee26c33735b6e","slug":"home","title":"Home","content":"","metafields":[{"value":"Medicenter Cares for You","key":"headline","title":"Headline","type":"text","children":false},{"value":"We offer services for any patient that needs to get well","key":"subheadline","title":"Subheadline","type":"text","children":false},{"value":"","key":"carousel","title":"Carousel","type":"text","children":[{"value":"77b3c3c0-52ca-11e6-a069-734be6eb1ef6-shutterstock_218199787.png","key":"image","title":"Image","type":"file","children":false},{"value":"79e210f0-51c3-11e6-9e30-fb7e1b19bdc0-image1.jpg","key":"image","title":"Image","type":"file","children":false},{"value":"85707fc0-52cb-11e6-a069-734be6eb1ef6-shutterstock_59961622.png","key":"image","title":"Image","type":"file","children":false}]},{"value":"","key":"blurbs","title":"Blurbs","type":"text","children":[{"value":"Our Services","key":"blurb_1","title":"Blurb 1","type":"text","children":[{"value":"591595b0-52d4-11e6-a069-734be6eb1ef6-shutterstock_102057916.png","key":"image","title":"Image","type":"file","children":false},{"value":"Aerobic activity alcoholism animal dander arthritis body type certified diabetes educators (cdes) diagnosis ear canal external otitis genes glucagon growth hormone hormone ibuprofen joints keratin ketones myopia nebulizer optometrist retina rheumatologist sternutation varicella zoster violence virus.","key":"blurb_content","title":"Blurb Content","type":"textarea","children":false}]},{"value":"Patient Care","key":"blurb_1","title":"Blurb 1","type":"text","children":[{"value":"3dd962e0-52d4-11e6-a069-734be6eb1ef6-shutterstock_136759886.png","key":"image","title":"Image","type":"file","children":false},{"value":"Aerobic activity alcoholism animal dander arthritis body type certified diabetes educators (cdes) diagnosis ear canal external otitis genes glucagon growth hormone hormone ibuprofen joints keratin ketones myopia nebulizer optometrist retina rheumatologist sternutation varicella zoster violence virus.","key":"blurb_content","title":"Blurb Content","type":"textarea","children":false}]},{"value":"Patient Reviews","key":"blurb_1","title":"Blurb 1","type":"text","children":[{"value":"49f70e80-52cd-11e6-a069-734be6eb1ef6-shutterstock_270747038.png","key":"image","title":"Image","type":"file","children":false},{"value":"Aerobic activity alcoholism animal dander arthritis body type certified diabetes educators (cdes) diagnosis ear canal external otitis genes glucagon growth hormone hormone ibuprofen joints keratin ketones myopia nebulizer optometrist retina rheumatologist sternutation varicella zoster violence virus.","key":"blurb_content","title":"Blurb Content","type":"textarea","children":false}]}]},{"value":"Talk to a Medicenter Specialist","key":"call_to_action_text","title":"Call To Action Text","type":"text","children":false},{"value":"Let’s Get Started!","key":"call_to_action_subtext","title":"Call To Action Subtext","type":"text","children":false},{"value":"Contact Us","key":"call_to_action_button_text","title":"Call To Action Button Text","type":"text","children":false},{"value":"/contact","key":"call_to_action_button_link","title":"Call To Action Button Link","type":"text","children":false},{"value":"This is the SEO description. Keep it short.","key":"seo_description","title":"SEO Description","type":"textarea","children":false}],"type_slug":"pages","created":"2018-03-05T12:29:59.589Z","created_at":"2018-03-05T12:29:59.589Z","user_id":"5982e43580aaa862200007ac","options":{"slug_field":1,"content_editor":1},"order":8,"status":"published"},{"_id":"5a9d384785e79769d9954349","old_id":"5794f5af1d63ddee30001312","bucket":"5a9d3846031ee26c33735b6e","slug":"specialty-centers-and-programs","title":"Specialty Centers and Programs","content":"

Abdominals acne addiction allergist biopsy blackhead body type bowels canine teeth constipation cornea emotions exercise-induced asthma gastric juices grieving icu immunizations larynx melanin neuropathy operation ophthalmologist semicircular canals sphenopalatineganglioneuralgia stethoscope stress tinnitus violence. Aerobic activity antibiotics asthma flare-up astringents beta cells cast dandruff growth hormone immunotherapy and allergy shots influenza insulin injections keratin nausea pancreas perspiration red blood cells rx sebaceous glands sternutation surgery symptoms tinnitus tragus wheeze. Adhd braces bronchial tubes bruise cone dust mites epiglottis gastroenteritis gluteus maximus growth hormone gums hydrogen peroxide immunotherapy and allergy shots inhaler intensive care unit larynx microscope nicotine otitis media pancreas papillae pediatric endocrinologist polydipsia retractions rx suture ultrasound urine wisdom teeth.

Allergy shots and immunotherapy astringents blood glucose meter cerebral cortex chemotherapy diabetes mellitus eeg (electroencephalogram) genes hematoma immune system night guard oncologist otitis media rem rx. Anemia blood bank braces cancer cerebellum chromosomes contact lenses diagnosis enamel epiglottis hormones hyperglycemia ibuprofen insulin resistance laparoscopy nutrition orthodontist pupil retinopathy spacer virus. Addiction conjunctivitis eczema exchange meal plan exhale growth hormone hematoma hormones inhale insulin pump myopia red blood cells sclera spirometer taste buds zoonosis. Eardrum enamel eustachian tube fats fluoride grieving hormones larynx mucous membrane neuropathy optician pinna retina rheumatologist stapes stethoscope veins and arteries.

Allergy antihistamines bacteria bolus braces cerebral cortex diarrhea dislocation enamel epidermis exercise-induced asthma fluoride heredity perspiration polyphagia retina saliva tragus urticaria. Acne airway obstruction airways allergy shots and immunotherapy arteries and veins arthritis bruise bruxism canine teeth cornea disinfectants glycosylated hemoglobin test (hemoglobin a1c) lacrimal glands laparoscopy mucus nervous system ophthalmologist pimple seizure tragus. Alcoholism astigmatism braces cast disinfectants exercise-induced asthma gums histamine immunotherapy and allergy shots navel otitis media pilomotor reflex pimple radiologist rheumatologist urinalysis urticaria x-ray. Acne asthma flare-up astringents eardrum exhale floss gluteus maximus grieving icu lunula nausea papillae tobacco vaccine.

Addiction airway obstruction animal dander asthma flare-up blood glucose level braces constipation dna ketones malocclusion pediatric endocrinologist pulse rescue medications tobacco whitehead x-ray. Alignment anesthesia arthritis ear canal epiglottis fracture genetics glucose iris keratin laxatives polydipsia rem urine wheeze yawn. Adhd cerebral cortex enamel frenulum gluteus maximus gurney heredity hyperglycemia neurologist sebum tympanogram. Anesthesia cerebral cortex depressant diaphragm ear canal epiglottis floss genes hyperopia immunizations inhale melanin red blood cells stress tympanogram urine white blood cells. Blood glucose meter certified diabetes educators (cdes) chronic conjunctivitis depression enamel insulin pump involuntary muscle laxatives platelets.

Acne addiction antibiotics bolus cancer cardiologist certified diabetes educators (cdes) conjunctivitis decongestants dietitian dna emotions exchange meal plan gluteus maximus islet cells larynx lunula prosthesis red blood cells rescue medications retractions rheumatologist sebaceous glands semicircular canals sphenopalatineganglioneuralgia suture tobacco. Allergen allergy shots and immunotherapy anesthesia antibiotics contact lenses diaphragm enuresis exchange meal plan gastroenteritis insulin pump lens nasal cavity plaque prosthesis sclera sphenopalatineganglioneuralgia stapes triggers vitreous body. Blackhead cough dyslexia fatty acids glucose influenza occupational therapist optometrist pulmonologist rhinovirus semicircular canals.

","metafields":[{"value":"This is the SEO description. Keep it short.","key":"seo_description","title":"SEO Description","type":"textarea","children":false}],"type_slug":"pages","created":"2018-03-05T12:29:59.590Z","created_at":"2018-03-05T12:29:59.590Z","user_id":"5982e43580aaa862200007ac","options":{"slug_field":1,"content_editor":1},"order":9,"status":"published"},{"_id":"5a9d384785e79769d995434a","old_id":"5794f5af1d63ddee30001313","bucket":"5a9d3846031ee26c33735b6e","slug":"deciding-on-care","title":"Deciding on Care","content":"

Abdominals acne addiction allergist biopsy blackhead body type bowels canine teeth constipation cornea emotions exercise-induced asthma gastric juices grieving icu immunizations larynx melanin neuropathy operation ophthalmologist semicircular canals sphenopalatineganglioneuralgia stethoscope stress tinnitus violence. Aerobic activity antibiotics asthma flare-up astringents beta cells cast dandruff growth hormone immunotherapy and allergy shots influenza insulin injections keratin nausea pancreas perspiration red blood cells rx sebaceous glands sternutation surgery symptoms tinnitus tragus wheeze. Adhd braces bronchial tubes bruise cone dust mites epiglottis gastroenteritis gluteus maximus growth hormone gums hydrogen peroxide immunotherapy and allergy shots inhaler intensive care unit larynx microscope nicotine otitis media pancreas papillae pediatric endocrinologist polydipsia retractions rx suture ultrasound urine wisdom teeth.

Allergy shots and immunotherapy astringents blood glucose meter cerebral cortex chemotherapy diabetes mellitus eeg (electroencephalogram) genes hematoma immune system night guard oncologist otitis media rem rx. Anemia blood bank braces cancer cerebellum chromosomes contact lenses diagnosis enamel epiglottis hormones hyperglycemia ibuprofen insulin resistance laparoscopy nutrition orthodontist pupil retinopathy spacer virus. Addiction conjunctivitis eczema exchange meal plan exhale growth hormone hematoma hormones inhale insulin pump myopia red blood cells sclera spirometer taste buds zoonosis. Eardrum enamel eustachian tube fats fluoride grieving hormones larynx mucous membrane neuropathy optician pinna retina rheumatologist stapes stethoscope veins and arteries.

Allergy antihistamines bacteria bolus braces cerebral cortex diarrhea dislocation enamel epidermis exercise-induced asthma fluoride heredity perspiration polyphagia retina saliva tragus urticaria. Acne airway obstruction airways allergy shots and immunotherapy arteries and veins arthritis bruise bruxism canine teeth cornea disinfectants glycosylated hemoglobin test (hemoglobin a1c) lacrimal glands laparoscopy mucus nervous system ophthalmologist pimple seizure tragus. Alcoholism astigmatism braces cast disinfectants exercise-induced asthma gums histamine immunotherapy and allergy shots navel otitis media pilomotor reflex pimple radiologist rheumatologist urinalysis urticaria x-ray. Acne asthma flare-up astringents eardrum exhale floss gluteus maximus grieving icu lunula nausea papillae tobacco vaccine.

Addiction airway obstruction animal dander asthma flare-up blood glucose level braces constipation dna ketones malocclusion pediatric endocrinologist pulse rescue medications tobacco whitehead x-ray. Alignment anesthesia arthritis ear canal epiglottis fracture genetics glucose iris keratin laxatives polydipsia rem urine wheeze yawn. Adhd cerebral cortex enamel frenulum gluteus maximus gurney heredity hyperglycemia neurologist sebum tympanogram. Anesthesia cerebral cortex depressant diaphragm ear canal epiglottis floss genes hyperopia immunizations inhale melanin red blood cells stress tympanogram urine white blood cells. Blood glucose meter certified diabetes educators (cdes) chronic conjunctivitis depression enamel insulin pump involuntary muscle laxatives platelets.

Acne addiction antibiotics bolus cancer cardiologist certified diabetes educators (cdes) conjunctivitis decongestants dietitian dna emotions exchange meal plan gluteus maximus islet cells larynx lunula prosthesis red blood cells rescue medications retractions rheumatologist sebaceous glands semicircular canals sphenopalatineganglioneuralgia suture tobacco. Allergen allergy shots and immunotherapy anesthesia antibiotics contact lenses diaphragm enuresis exchange meal plan gastroenteritis insulin pump lens nasal cavity plaque prosthesis sclera sphenopalatineganglioneuralgia stapes triggers vitreous body. Blackhead cough dyslexia fatty acids glucose influenza occupational therapist optometrist pulmonologist rhinovirus semicircular canals.

","metafields":[{"value":"This is the SEO description. Keep it short.","key":"seo_description","title":"SEO Description","type":"textarea","children":false}],"type_slug":"pages","created":"2018-03-05T12:29:59.591Z","created_at":"2018-03-05T12:29:59.591Z","user_id":"5982e43580aaa862200007ac","options":{"slug_field":1,"content_editor":1},"order":10,"status":"published"},{"_id":"5a9d384785e79769d995434b","old_id":"5794f5af1d63ddee30001314","bucket":"5a9d3846031ee26c33735b6e","slug":"about-us","title":"About us","content":"

Aerobic activity alcoholism animal dander arthritis body type certified diabetes educators (cdes) diagnosis ear canal external otitis genes glucagon growth hormone hormone ibuprofen joints keratin ketones myopia nebulizer optometrist retina rheumatologist sternutation varicella zoster violence virus. Allergen allergy allergy shots and immunotherapy allergy-triggered asthma anesthesia blood bank cancer carbohydrate counting cardiologist dandruff genes hemangioma hydrocortisone insulin lymph nasal cavity scoliosis semicircular canals skin test x-ray. Allergist antibiotics anus blood type diabetes mellitus exercise-induced asthma gingivitis glycemic index gums ibuprofen involuntary muscle lung function tests nutrition otitis media otolaryngologist pediatric endocrinologist scoliosis seizure.

Alignment astigmatism astringents blood bank blood type bronchial tubes cancer cerumen dermatologist emotions enuresis fracture heredity humidifier keratin lacrimal glands optician optometrist peak flow meter pneumonia rx scar sphenopalatineganglioneuralgia stethoscope urticaria vertebrae virus whitehead. Abrasion acne allergist anus astringents beta cells bronchodilator cerebellum congestion conjunctivitis diaphragm frostbite glycosylated hemoglobin test (hemoglobin a1c) immunotherapy and allergy shots insulin resistance melanin ophthalmologist rheumatologist scar stapes symptoms tobacco urine vaccine varicella zoster wheeze. Addiction blackhead cornea dyslexia gastric juices ketoacidosis retinopathy rhinovirus stethoscope virus.

","metafields":[{"value":"This is the SEO description. Keep it short.","key":"seo_description","title":"SEO Description","type":"textarea","children":false}],"type_slug":"pages","created":"2018-03-05T12:29:59.592Z","created_at":"2018-03-05T12:29:59.592Z","user_id":"5982e43580aaa862200007ac","options":{"slug_field":1,"content_editor":1},"order":11,"status":"published"}],"media":[{"_id":"5a9d384785e79769d995434c","name":"991f6b90-51c1-11e6-9e30-fb7e1b19bdc0-Screen Shot 2016-07-24 at 12.10.24 PM.png","original_name":"Screen Shot 2016-07-24 at 12.10.24 PM.png","size":14453,"type":"image/png","bucket":"5a9d3846031ee26c33735b6e","created":"2016-07-24T17:11:02.091Z","folder":null,"location":"https://s3-us-west-2.amazonaws.com/cosmicjs"},{"_id":"5a9d384785e79769d995434d","name":"79e210f0-51c3-11e6-9e30-fb7e1b19bdc0-image1.jpg","original_name":"image1.jpg","size":582298,"type":"image/jpeg","bucket":"5a9d3846031ee26c33735b6e","created":"2016-07-24T17:24:28.732Z","folder":null,"location":"https://s3-us-west-2.amazonaws.com/cosmicjs"},{"_id":"5a9d384785e79769d995434e","name":"0713f190-51ca-11e6-9e30-fb7e1b19bdc0-Screen Shot 2016-07-24 at 1.11.05 PM.png","original_name":"Screen Shot 2016-07-24 at 1.11.05 PM.png","size":9067,"type":"image/png","bucket":"5a9d3846031ee26c33735b6e","created":"2016-07-24T18:11:22.539Z","folder":null,"location":"https://s3-us-west-2.amazonaws.com/cosmicjs"},{"_id":"5a9d384785e79769d995434f","name":"2c9b41c0-52a6-11e6-a069-734be6eb1ef6-doc.png","original_name":"doc.png","size":97142,"type":"image/png","bucket":"5a9d3846031ee26c33735b6e","created":"2016-07-25T20:27:14.838Z","folder":null,"location":"https://s3-us-west-2.amazonaws.com/cosmicjs"},{"_id":"5a9d384785e79769d9954350","name":"77b3c3c0-52ca-11e6-a069-734be6eb1ef6-shutterstock_218199787.png","original_name":"shutterstock_218199787.png","size":646705,"type":"image/png","bucket":"5a9d3846031ee26c33735b6e","created":"2016-07-26T00:47:02.672Z","folder":null,"location":"https://s3-us-west-2.amazonaws.com/cosmicjs"},{"_id":"5a9d384785e79769d9954351","name":"85707fc0-52cb-11e6-a069-734be6eb1ef6-shutterstock_59961622.png","original_name":"shutterstock_59961622.png","size":1671542,"type":"image/png","bucket":"5a9d3846031ee26c33735b6e","created":"2016-07-26T00:54:35.216Z","folder":null,"location":"https://s3-us-west-2.amazonaws.com/cosmicjs"},{"_id":"5a9d384785e79769d9954352","name":"71f30d70-52d3-11e6-a069-734be6eb1ef6-shutterstock_208763188.png","original_name":"shutterstock_208763188.png","size":1882015,"type":"image/png","bucket":"5a9d3846031ee26c33735b6e","created":"2016-07-26T01:51:18.517Z","folder":null,"location":"https://s3-us-west-2.amazonaws.com/cosmicjs"},{"_id":"5a9d384785e79769d9954353","name":"3dd962e0-52d4-11e6-a069-734be6eb1ef6-shutterstock_136759886.png","original_name":"shutterstock_136759886.png","size":1553225,"type":"image/png","bucket":"5a9d3846031ee26c33735b6e","created":"2016-07-26T01:57:00.579Z","folder":null,"location":"https://s3-us-west-2.amazonaws.com/cosmicjs"},{"_id":"5a9d384785e79769d9954354","name":"591595b0-52d4-11e6-a069-734be6eb1ef6-shutterstock_102057916.png","original_name":"shutterstock_102057916.png","size":3303055,"type":"image/png","bucket":"5a9d3846031ee26c33735b6e","created":"2016-07-26T01:57:46.354Z","folder":null,"location":"https://s3-us-west-2.amazonaws.com/cosmicjs"}],"media_folders":[],"extensions":[],"thumbnail":null}} -------------------------------------------------------------------------------- /components/views/about-us.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | class AboutUs extends React.Component { 3 | render() { 4 | const { aboutUs } = this.props; 5 | return ( 6 |
7 |
8 |

{aboutUs.title}

9 |
10 |
11 |
12 | ); 13 | } 14 | } 15 | 16 | export default AboutUs; 17 | -------------------------------------------------------------------------------- /components/views/blog.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import {Link} from 'routes'; 3 | class Chicago extends React.Component { 4 | render() { 5 | const { blogs, blog } = this.props; 6 | return ( 7 |
8 |
9 | { 10 | !!blog && 11 |
12 |
13 |

{blog.title}

14 | Avatar 15 | {blog.metadata.author.title} Wed, Sep 28 2016 16 |
17 |
18 |
19 |
20 |
21 | Photo of sunset 22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 | } 31 | { 32 | !blog && !!blogs && blogs.map((blog_item, index) => 33 |
34 |
35 |

{blog_item.title}

36 | Avatar 37 | {blog_item.metadata.author.title} Wed, Sep 28 2016 38 |
39 |
40 |
41 |
42 |
43 | Photo of sunset 44 |
45 |
46 |
47 |
48 |
49 |

{blog_item.metadata.teaser}

50 | 51 | Read more... 52 | 53 |
54 |
55 | ) 56 | } 57 |
58 |
59 | ); 60 | } 61 | } 62 | 63 | export default Chicago; 64 | -------------------------------------------------------------------------------- /components/views/contact.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | class Faq extends React.Component { 3 | render() { 4 | const { contact, form, formValidation, submitForm, handleChange, formStatus } = this.props; 5 | return ( 6 |
7 |
8 |
9 |

{contact.title}

10 |
11 |
12 |
13 |
14 | 15 | 16 |
17 |
18 | 19 | 20 |
21 |
22 | 23 | 24 |
25 |
26 | 27 | 28 |
29 | { 30 | formStatus.status == 'success' && 31 |
32 | { formStatus.message } 33 |
34 | } 35 | { 36 | formStatus.status == 'error' && 37 |
38 | { formStatus.message } 39 |
40 | } 41 | submitForm()}>Submit 42 |
43 |
44 |
45 | ); 46 | } 47 | } 48 | 49 | export default Faq; 50 | -------------------------------------------------------------------------------- /components/views/faq.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | class Faq extends React.Component { 3 | render() { 4 | const { faq } = this.props; 5 | return ( 6 |
7 |

{faq.title}

8 | { 9 | !!faq.faqs && faq.faqs.map((f, index) => 10 |
11 |

{f.title}

12 |

{f.value}

13 |
14 | ) 15 | } 16 |
17 | ); 18 | } 19 | } 20 | 21 | export default Faq; 22 | -------------------------------------------------------------------------------- /components/views/home.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import Link from 'next/link' 3 | class Home extends React.Component { 4 | render() { 5 | const { home } = this.props; 6 | return ( 7 |
8 |
9 |
    10 |
  1. 11 |
  2. 12 |
  3. 13 |
14 | 15 |
16 | { 17 | !!home.carousel && home.carousel.map((item,index) => ( 18 |
19 |
20 | )) 21 | } 22 |
23 | 24 | 25 | 26 | Previous 27 | 28 | 29 | 30 | Next 31 | 32 |
33 |
34 |
35 |
36 |

{home.headline.value}

37 |

{home.subheadline.value}

38 |
39 |
40 |
41 |
42 | { 43 | !!home.blurbs && home.blurbs.map((blurb, index) => 44 |
45 |
{blurb.value}
46 |
47 |
48 |
49 | {blurb.children[1].value} 50 |
51 |
52 | ) 53 | } 54 |
55 |
56 |
57 |
58 |

{home.call_to_action_text.value}

59 |

{home.call_to_action_subtext.value}

60 |
61 | {home.call_to_action_button_text.value} 62 |
63 |
64 |
65 |
66 | ); 67 | } 68 | } 69 | 70 | export default Home; 71 | -------------------------------------------------------------------------------- /components/views/page.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | class Page extends React.Component { 3 | render() { 4 | const { page } = this.props; 5 | return ( 6 |
7 |
8 |

{page.title}

9 |
10 |
11 |
12 | ); 13 | } 14 | } 15 | 16 | export default Page; -------------------------------------------------------------------------------- /components/views/partials/footer.js: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | * Header 4 | * 5 | */ 6 | 7 | import React from 'react'; 8 | import Link from 'next/link' 9 | 10 | 11 | class Header extends React.Component { // eslint-disable-line react/prefer-stateless-function 12 | 13 | render() { 14 | const { footer, contactInfo, social } = this.props; 15 | return ( 16 |
17 | 60 |
61 | ); 62 | } 63 | } 64 | 65 | export default Header; 66 | -------------------------------------------------------------------------------- /components/views/partials/header.js: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | * Header 4 | * 5 | */ 6 | 7 | import React from 'react'; 8 | import Link from 'next/link' 9 | 10 | 11 | class Header extends React.Component { // eslint-disable-line react/prefer-stateless-function 12 | 13 | render() { 14 | const { header, nav } = this.props; 15 | return ( 16 |
17 |
18 | 19 |
20 | 60 |
61 | ); 62 | } 63 | } 64 | 65 | export default Header; 66 | -------------------------------------------------------------------------------- /components/views/search.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import Link from 'next/link'; 3 | class Search extends React.Component { 4 | render() { 5 | const { searchResult, searchField, handleChange } = this.props; 6 | return ( 7 |
8 |
9 |
10 |

Search

11 |
12 | 13 |
14 |
15 | { 16 | !!searchResult && searchResult.map((s, index) => 17 |
18 |

19 | {s.title} 20 |

21 |

22 | {s.teaser} 23 |

24 |
25 | Read more 26 |
27 |
28 | ) 29 | } 30 |
31 |
32 | ); 33 | } 34 | } 35 | 36 | export default Search; 37 | -------------------------------------------------------------------------------- /components/widgets/Meta/index.js: -------------------------------------------------------------------------------- 1 | import NProgress from 'nprogress'; 2 | import Router from 'next/router'; 3 | 4 | Router.onRouteChangeStart = () => NProgress.start() 5 | Router.onRouteChangeComplete = () => NProgress.done() 6 | Router.onRouteChangeError = () => NProgress.done() 7 | 8 | export default (props) => ( 9 |
10 | {props.children} 11 |
12 | ) 13 | -------------------------------------------------------------------------------- /config/index.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | bucket: { 3 | slug: process.env.COSMIC_BUCKET || 'nextjs-medical-website', 4 | read_key: process.env.COSMIC_READ_KEY, 5 | write_key: process.env.COSMIC_WRITE_KEY 6 | }, 7 | env: { 8 | SENDGRID_FUNCTION_ENDPOINT: process.env.SENDGRID_FUNCTION_ENDPOINT || 'https://xmzcgubnyi.execute-api.us-east-1.amazonaws.com/dev/send-email' 9 | } 10 | } -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "medical-professional-next", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "index.js", 6 | "scripts": { 7 | "dev": "babel-node server.js --presets es2015 stage-2", 8 | "build": "next build", 9 | "start": "babel-node server.js --presets es2015 stage-2", 10 | "start-production": "npm run build && cross-env NODE_ENV=production npm run start", 11 | "lint": "eslint --ext .js,.js .", 12 | "test": "echo \"Error: no test specified\" && exit 1", 13 | "heroku-postbuild": "npm run build" 14 | }, 15 | "repository": { 16 | "type": "git", 17 | "url": "git+https://github.com/cosmicjs/nextjs-website-boilerplate.git" 18 | }, 19 | "author": "BitBytes", 20 | "license": "ISC", 21 | "bugs": { 22 | "url": "https://github.com/cosmicjs/nextjs-website-boilerplate/issues" 23 | }, 24 | "homepage": "https://github.com/cosmicjs/nextjs-website-boilerplate#readme", 25 | "dependencies": { 26 | "axios": "^0.18.0", 27 | "babel-cli": "^6.26.0", 28 | "babel-core": "^6.26.0", 29 | "babel-eslint": "^8.1.2", 30 | "babel-plugin-inline-dotenv": "^1.1.2", 31 | "babel-plugin-module-resolver": "^3.0.0", 32 | "babel-plugin-transform-define": "^1.3.0", 33 | "babel-preset-es2015": "^6.24.1", 34 | "babel-preset-stage-2": "^6.24.1", 35 | "babel-register": "^6.26.0", 36 | "bluebird": "^3.5.1", 37 | "compression": "^1.7.1", 38 | "cosmicjs": "^3.1.2", 39 | "cross-env": "^5.1.3", 40 | "es6-promise": "^4.2.2", 41 | "eslint": "^4.14.0", 42 | "eslint-config-airbnb": "^16.1.0", 43 | "eslint-loader": "^1.9.0", 44 | "eslint-plugin-import": "^2.8.0", 45 | "eslint-plugin-jsx-a11y": "^6.0.3", 46 | "eslint-plugin-react": "^7.5.1", 47 | "express": "^4.16.2", 48 | "lodash": "^4.17.4", 49 | "mailgun.js": "^2.0.1", 50 | "next": "^5.0.0", 51 | "next-routes": "^1.3.0", 52 | "nodemon": "^1.14.3", 53 | "nprogress": "^0.2.0", 54 | "prop-types": "^15.6.0", 55 | "react": "^16.2.0", 56 | "react-addons-test-utils": "^15.6.2", 57 | "react-dom": "^16.2.0" 58 | } 59 | } 60 | -------------------------------------------------------------------------------- /pages/_document.js: -------------------------------------------------------------------------------- 1 | import Document, { Head, Main, NextScript } from 'next/document'; 2 | 3 | export default class MyDocument extends Document { 4 | 5 | render () { 6 | return ( 7 | 8 | 9 | 10 | 11 | 12 | {/* CSS Files */} 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | ) 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /pages/about-us.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import Router from 'next/router'; 3 | 4 | import { mapGlobals } from 'utils/helperFuncs'; 5 | import Head from 'next/head'; 6 | import Meta from 'components/widgets/Meta'; 7 | import AboutUs from 'components/views/about-us' 8 | import Header from 'components/views/partials/header' 9 | import Footer from 'components/views/partials/footer' 10 | import Request from 'utils/request'; 11 | 12 | class AboutUsPage extends React.Component { 13 | 14 | static async getInitialProps({ req, query }) { 15 | const Response = await Request.getGlobals(); 16 | const aboutResponse = await Request.getObject('about-us'); 17 | const aboutUs = aboutResponse.object; 18 | const globals = mapGlobals(Response.objects); 19 | return { globals, aboutUs }; 20 | } 21 | 22 | constructor(props){ 23 | super(props); 24 | this.state = { 25 | header: props.globals.header, 26 | contact_form: props.globals.contact_form, 27 | nav: props.globals.nav, 28 | social: props.globals.social, 29 | contactInfo: props.globals.contact_info.metadata, 30 | footer: props.globals.footer, 31 | aboutUs: props.aboutUs 32 | } 33 | } 34 | 35 | render() { 36 | return ( 37 | 38 | 39 | Medical Professional ~ Cosmic JS Next Js App 40 | 41 | 42 | 43 | 44 |
45 | 46 |