Skip to content

Instantly share code, notes, and snippets.

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
<script>
import Pusher from 'pusher-js'
const pusher = new Pusher('APP_KEY', {
cluster: 'YOUR_CLUSTER',
encrypted: true,
authEndpoint: 'http://localhost:5000/pusher/auth'
})
export default ({
getPresenceID () {
const articles = [
{
id: "1",
date: "01-01-2020",
headline: "Lorem ipsum dolor sit amet apem edit",
category: "Lifestyle",
snippet:
"Cras a erat a quam efficitur vestibulum. Nulla in nisl semper, condimentum ex quis, semper elit.",
image:
"https://images.unsplash.com/photo-1579541707963-368970b955b7?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=1050&q=80",
.border {
background-image: linear-gradient(110deg, rgb(137, 84, 168) 0px, rgb(102, 51, 153) 25%, rgb(188, 2, 127) 50%, rgb(255, 223, 55) 75%, rgb(5, 247, 244) 100%);
}
import React from "react"
import { Link, graphql } from "gatsby"
import Bio from "../components/bio"
import Layout from "../components/layout"
import SEO from "../components/seo"
import { rhythm, scale } from "../utils/typography"
interface Props {
data: {
import React from "react"
import { Link, graphql } from "gatsby"
import Bio from "../components/bio"
import Layout from "../components/layout"
import SEO from "../components/seo"
import { rhythm } from "../utils/typography"
interface Props {
data: {
import React from "react"
import { graphql } from "gatsby"
import Layout from "../components/layout"
import SEO from "../components/seo"
interface Props {
data: {
site: {
siteMetadata: {
/**
* SEO component that queries for data with
* Gatsby's useStaticQuery React hook
*
* See: https://www.gatsbyjs.org/docs/use-static-query/
*/
import React from "react"
import Helmet from "react-helmet"
import { useStaticQuery, graphql } from "gatsby"
import React from "react"
import { Link } from "gatsby"
import { rhythm, scale } from "../utils/typography"
interface Props {
location: Location
title: string
children?: any
}
.table {
display: table;
min-width: 100%;
&--no--before {
padding: 0 !important;
&::before {
display: none !important;
}
&::after {
display: none !important;