├── .editorconfig
├── .eslintrc.js
├── .gitignore
├── LICENSE
├── README.md
├── assets
└── README.md
├── bucket.json
├── common
└── request.js
├── components
├── AppLogo.vue
├── README.md
└── partials
│ ├── footer.vue
│ └── header.vue
├── config
├── config.js
└── env.js
├── layouts
├── README.md
├── default.vue
└── error.vue
├── middleware
└── README.md
├── nuxt.config.js
├── package-lock.json
├── package.json
├── pages
├── README.md
├── _name.vue
├── about-us.vue
├── blog
│ ├── _id.vue
│ └── index.vue
├── contact.vue
├── faqs.vue
├── index.vue
└── search.vue
├── plugins
└── README.md
├── screenshots
└── main-image.png
├── static
├── README.md
├── favicon.ico
├── img_avatar3.png
└── md.png
└── store
├── README.md
└── index.js
/.editorconfig:
--------------------------------------------------------------------------------
1 | # editorconfig.org
2 | root = true
3 |
4 | [*]
5 | indent_size = 2
6 | indent_style = space
7 | end_of_line = lf
8 | charset = utf-8
9 | trim_trailing_whitespace = true
10 | insert_final_newline = true
11 |
12 | [*.md]
13 | trim_trailing_whitespace = false
14 |
--------------------------------------------------------------------------------
/.eslintrc.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | root: true,
3 | env: {
4 | browser: true,
5 | node: true
6 | },
7 | parserOptions: {
8 | parser: 'babel-eslint'
9 | },
10 | extends: [
11 | // https://github.com/vuejs/eslint-plugin-vue#priority-a-essential-error-prevention
12 | // consider switching to `plugin:vue/strongly-recommended` or `plugin:vue/recommended` for stricter rules.
13 | 'plugin:vue/essential'
14 | ],
15 | // required to lint *.vue files
16 | plugins: [
17 | 'vue'
18 | ],
19 | // add your custom rules here
20 | rules: {}
21 | }
22 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # dependencies
2 | node_modules
3 |
4 | # logs
5 | npm-debug.log
6 |
7 | # Nuxt build
8 | .nuxt
9 |
10 | # Nuxt generate
11 | dist
12 | .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 | # Nuxt.js Website Boilerplate
2 |
3 | 
4 | 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!
5 |
6 | ## Demo
7 | [Click here to view the demo](https://cosmicjs.com/apps/nuxtjs-website-boilerplate)
8 |
9 | > [Read how this app was built](https://cosmicjs.com/articles/nuxtjs-website-boilerplate-jezdxaxb)
10 |
11 | ## Features
12 | 1. Fully responsive down to mobile w/ [Bootstrap](http://getbootstrap.com) frontend
13 | 2. SEO ready
14 | 3. A contact form that sends an email to your email(s) of choice and to [Cosmic JS](https://cosmicjs.com) for easy reference
15 | 4. Full-site search functionality
16 | 5. All content is easily managed in [Cosmic JS](https://cosmicjs.com) including pages, blog and contact info.
17 |
18 | Sign up for [Cosmic JS](https://cosmicjs.com) to install the demo content and deploy this website.
19 |
20 | ## Getting Started
21 |
22 | ```bash
23 | git clone https://github.com/cosmicjs/nuxtjs-website-boilerplate
24 | cd nuxtjs-website-boilerplate
25 | npm install
26 |
27 | # Run in development and serve at localhost:3000
28 | npm run dev
29 |
30 | # build for production
31 | npm run build
32 |
33 | # Run in production and serve at localhost:3000
34 | COSMIC_BUCKET=your-bucket-slug npm start
35 | ```
36 | Import the `bucket.json` file into your Cosmic JS Bucket. To do this go to Your Bucket > Settings > Import / Export Data.
37 |
38 |
39 |
40 | ## Contact form setup
41 | Install and deploy the SendGrid Email Function.
42 |
43 |
44 |
45 | 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.
46 |
47 | ### Add the SendGrid Function Endpoint
48 |
49 | #### in development
50 | Go to `config/index.js` and edit `SENDGRID_FUNCTION_ENDPOINT` to manually add the URL for testing.
51 |
52 | #### in production
53 | If you are using the Web Hosting option that's included with every Bucket:
54 | 1. Go to Your Bucket > Settings > Web Hosting
55 | 2. Deploy your Website
56 | 3. Click 'Set Environment Variables' tab and add the SendGrid Function endpoint:
57 |
58 | Key | Value
59 | --- | ---
60 | | SENDGRID_FUNCTION_ENDPOINT | https://your-lambda-endpoint.amazonaws.com/dev/send-email
61 |
--------------------------------------------------------------------------------
/assets/README.md:
--------------------------------------------------------------------------------
1 | # ASSETS
2 |
3 | This directory contains your un-compiled assets such as LESS, SASS, or JavaScript.
4 |
5 | More information about the usage of this directory in the documentation:
6 | https://nuxtjs.org/guide/assets#webpacked
7 |
8 | **This directory is not required, you can delete it if you don't want to use it.**
9 |
--------------------------------------------------------------------------------
/bucket.json:
--------------------------------------------------------------------------------
1 | {"bucket":{"_id":"5aa9219e86e37313dc96a64e","slug":"medical-professional-nuxt-js","title":"Medical Professional Nuxt Js","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":"5aa921fe86e37313dc96a656","old_id":"5a9d384785e79769d995433a","bucket":"5aa9219e86e37313dc96a64e","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-14T13:22:06.579Z","created_at":"2018-03-14T13:22:06.579Z","user_id":"5982e43580aaa862200007ac","options":{"slug_field":1,"content_editor":1},"order":0,"status":"published"},{"_id":"5aa921fe86e37313dc96a657","old_id":"5a9d384785e79769d9954339","bucket":"5aa9219e86e37313dc96a64e","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-14T13:22:06.581Z","created_at":"2018-03-14T13:22:06.581Z","user_id":"5982e43580aaa862200007ac","options":{"slug_field":1,"content_editor":0},"order":0,"status":null},{"_id":"5aa921fe86e37313dc96a658","old_id":"5a9d384785e79769d995433b","bucket":"5aa9219e86e37313dc96a64e","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":"5aa921fe86e37313dc96a656","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-14T13:22:06.582Z","created_at":"2018-03-14T13:22:06.582Z","user_id":"5982e43580aaa862200007ac","options":{"slug_field":1,"content_editor":1},"order":0,"status":"published"},{"_id":"5aa921fe86e37313dc96a659","old_id":"5a9d384785e79769d995433c","bucket":"5aa9219e86e37313dc96a64e","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-14T13:22:06.584Z","created_at":"2018-03-14T13:22:06.584Z","user_id":"5982e43580aaa862200007ac","options":{"slug_field":1,"content_editor":1},"order":0,"status":"published"},{"_id":"5aa921fe86e37313dc96a65a","old_id":"5a9d384785e79769d995433d","bucket":"5aa9219e86e37313dc96a64e","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-14T13:22:06.585Z","created_at":"2018-03-14T13:22:06.585Z","user_id":"5982e43580aaa862200007ac","options":{"slug_field":1,"content_editor":1},"order":1,"status":"published"},{"_id":"5aa921fe86e37313dc96a65b","old_id":"5a9d384785e79769d995433e","bucket":"5aa9219e86e37313dc96a64e","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-14T13:22:06.586Z","created_at":"2018-03-14T13:22:06.586Z","user_id":"5982e43580aaa862200007ac","options":{"slug_field":1,"content_editor":1},"order":2,"status":"published"},{"_id":"5aa921fe86e37313dc96a65c","old_id":"5a9d384785e79769d995433f","bucket":"5aa9219e86e37313dc96a64e","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-14T13:22:06.587Z","created_at":"2018-03-14T13:22:06.587Z","user_id":"5982e43580aaa862200007ac","options":{"slug_field":1,"content_editor":0,"add_metafields":0,"metafields_title":0,"metafields_key":0},"order":3,"status":"published"},{"_id":"5aa921fe86e37313dc96a65d","old_id":"5a9d384785e79769d9954340","bucket":"5aa9219e86e37313dc96a64e","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.
12345 Medical Rd
Everywhere, USA
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-14T13:22:06.601Z","created_at":"2018-03-14T13:22:06.601Z","user_id":"5982e43580aaa862200007ac","options":{"slug_field":1,"content_editor":1},"order":9,"status":"published"},{"_id":"5aa921fe86e37313dc96a667","old_id":"5a9d384785e79769d995434a","bucket":"5aa9219e86e37313dc96a64e","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-14T13:22:06.602Z","created_at":"2018-03-14T13:22:06.602Z","user_id":"5982e43580aaa862200007ac","options":{"slug_field":1,"content_editor":1},"order":10,"status":"published"},{"_id":"5aa921fe86e37313dc96a668","old_id":"5a9d384785e79769d995434b","bucket":"5aa9219e86e37313dc96a64e","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-14T13:22:06.603Z","created_at":"2018-03-14T13:22:06.603Z","user_id":"5982e43580aaa862200007ac","options":{"slug_field":1,"content_editor":1},"order":11,"status":"published"}],"media":[{"_id":"5aa921fe86e37313dc96a670","name":"3dd962e0-52d4-11e6-a069-734be6eb1ef6-shutterstock_136759886.png","original_name":"shutterstock_136759886.png","size":1553225,"type":"image/png","bucket":"5aa9219e86e37313dc96a64e","created":"2016-07-26T01:57:00.579Z","folder":null,"location":"https://s3-us-west-2.amazonaws.com/cosmicjs"},{"_id":"5aa921fe86e37313dc96a671","name":"591595b0-52d4-11e6-a069-734be6eb1ef6-shutterstock_102057916.png","original_name":"shutterstock_102057916.png","size":3303055,"type":"image/png","bucket":"5aa9219e86e37313dc96a64e","created":"2016-07-26T01:57:46.354Z","folder":null,"location":"https://s3-us-west-2.amazonaws.com/cosmicjs"},{"_id":"5aa921fe86e37313dc96a669","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":"5aa9219e86e37313dc96a64e","created":"2016-07-24T17:11:02.091Z","folder":null,"location":"https://s3-us-west-2.amazonaws.com/cosmicjs"},{"_id":"5aa921fe86e37313dc96a66a","name":"79e210f0-51c3-11e6-9e30-fb7e1b19bdc0-image1.jpg","original_name":"image1.jpg","size":582298,"type":"image/jpeg","bucket":"5aa9219e86e37313dc96a64e","created":"2016-07-24T17:24:28.732Z","folder":null,"location":"https://s3-us-west-2.amazonaws.com/cosmicjs"},{"_id":"5aa921fe86e37313dc96a66b","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":"5aa9219e86e37313dc96a64e","created":"2016-07-24T18:11:22.539Z","folder":null,"location":"https://s3-us-west-2.amazonaws.com/cosmicjs"},{"_id":"5aa921fe86e37313dc96a66c","name":"2c9b41c0-52a6-11e6-a069-734be6eb1ef6-doc.png","original_name":"doc.png","size":97142,"type":"image/png","bucket":"5aa9219e86e37313dc96a64e","created":"2016-07-25T20:27:14.838Z","folder":null,"location":"https://s3-us-west-2.amazonaws.com/cosmicjs"},{"_id":"5aa921fe86e37313dc96a66d","name":"77b3c3c0-52ca-11e6-a069-734be6eb1ef6-shutterstock_218199787.png","original_name":"shutterstock_218199787.png","size":646705,"type":"image/png","bucket":"5aa9219e86e37313dc96a64e","created":"2016-07-26T00:47:02.672Z","folder":null,"location":"https://s3-us-west-2.amazonaws.com/cosmicjs"},{"_id":"5aa921fe86e37313dc96a66e","name":"85707fc0-52cb-11e6-a069-734be6eb1ef6-shutterstock_59961622.png","original_name":"shutterstock_59961622.png","size":1671542,"type":"image/png","bucket":"5aa9219e86e37313dc96a64e","created":"2016-07-26T00:54:35.216Z","folder":null,"location":"https://s3-us-west-2.amazonaws.com/cosmicjs"},{"_id":"5aa921fe86e37313dc96a66f","name":"71f30d70-52d3-11e6-a069-734be6eb1ef6-shutterstock_208763188.png","original_name":"shutterstock_208763188.png","size":1882015,"type":"image/png","bucket":"5aa9219e86e37313dc96a64e","created":"2016-07-26T01:51:18.517Z","folder":null,"location":"https://s3-us-west-2.amazonaws.com/cosmicjs"}],"media_folders":[],"extensions":[],"thumbnail":null}} -------------------------------------------------------------------------------- /common/request.js: -------------------------------------------------------------------------------- 1 | import Cosmic from 'cosmicjs' 2 | import config from '~/config/config' 3 | import axios from 'axios' 4 | const api = Cosmic() 5 | const bucket = api.bucket({ 6 | slug: config.bucket.slug, 7 | read_key: config.bucket.read_key, 8 | write_key: config.bucket.write_key 9 | }) 10 | 11 | function getGlobals () { 12 | const params = { 13 | type_slug: 'globals' 14 | } 15 | return bucket.getObjectsByType(params); 16 | } 17 | 18 | function getPages () { 19 | const params = { 20 | type_slug: 'pages' 21 | }; 22 | return bucket.getObjectsByType(params); 23 | } 24 | 25 | function getBlogs () { 26 | const params = { 27 | type_slug: 'blogs' 28 | }; 29 | return bucket.getObjectsByType(params); 30 | } 31 | 32 | function getSearchData(){ 33 | return bucket.getObjects(); 34 | } 35 | 36 | async function contactForm(data, contact) { 37 | if (!config.env.SENDGRID_FUNCTION_ENDPOINT) { 38 | return { 39 | status: false, 40 | message: "You must add a SendGrid Function Endpoint URL. Contact your developer to add this value." 41 | } 42 | } else { 43 | try { 44 | var message = 'Name:{{blog.metadata.teaser}}
28 |{{contact.title}}
7 | 8 |{{faq.value}}
8 |20 | {{s.teaser}} 21 |
22 |