{"size": 1917, "ext": "js", "max_stars_repo_path": "src/main.js", "max_stars_repo_name": "near-sighted/news-site", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/main.js", "max_issues_repo_name": "near-sighted/news-site", "max_issues_repo_issues_event_min_datetime": "2021-08-23T20:44:56.000Z", "max_issues_repo_issues_event_max_datetime": "2021-12-21T17:03:40.000Z", "max_forks_repo_path": "src/main.js", "max_forks_repo_name": "near-sighted/news-site", "max_forks_repo_forks_event_min_datetime": "2021-12-05T14:56:45.000Z", "max_forks_repo_forks_event_max_datetime": "2021-12-05T14:56:45.000Z"}
{"max_stars_count": null, "max_issues_count": 17, "max_forks_count": 1, "avg_line_length": 29.4923076923, "max_line_length": 119, "alphanum_fraction": 0.6812728221}
// This is the main.js file. Import global CSS and scripts here.
// The Client API can be used here. Learn more: gridsome.org/docs/client-api
import DefaultLayout from '~/layouts/Default.vue'
import VueMarkdown from 'vue-markdown'
import SlideUpDown from 'vue-slide-up-down'

// comments
import Vssue from 'vssue';
import GithubV4 from '@vssue/api-github-v4';
import 'vssue/dist/vssue.css'

import 'prismjs/themes/prism.css'
import '~/assets/scss/main.scss'
import 'prismjs/plugins/line-numbers/prism-line-numbers.css'

export default function (Vue, { router, head, isClient }) {
  // Set default layout as a global component
  Vue.component('Layout', DefaultLayout)
  Vue.component('VueMarkdown', VueMarkdown)
  Vue.component('SlideUpDown', SlideUpDown)

  Vue.use(Vssue, {
    api: GithubV4,
    owner: 'near-sighted',
    repo: 'news-site',
    clientId: process.env.GRIDSOME_GH_CLIENT_ID,
    clientSecret: process.env.GRIDSOME_GH_CLIENT_SECRET,
    autoCreateIssue: true,
    baseURL: 'https://github.com',
    admins: ['humanman'],
  })

  head.script.push({
    src: 'https://www.googletagmanager.com/gtag/js?id=G-PDGH7X2V73',
    async: true
  })
  
  head.script.push({
    innerHTML: `window.dataLayer = window.dataLayer || [];
                function gtag(){dataLayer.push(arguments);}
                gtag('js', new Date());
                gtag('config', 'G-PDGH7X2V73');`,
    body: true
  });

  head.meta.push({
    key: 'og:description',
    name: 'og:description',
    content: `NEAR Sighted captures the confusion in the NEAR ecosystem.`,
  })

  head.meta.push({
    key: 'twitter:description',
    name: 'twitter:description',
    content: `NEAR Sighted captures the confusion in the NEAR ecosystem.`,
  })

  head.meta.push({
    key: 'og:url',
    name: 'og:url',
    content: `https://nearsighted.news/assets/static/logo_black_on_white.d042d20.89310ef9c0e283169f2b50dcad5ade25.png`,
  })
 
}
