conflict styles to gatsby-browser

This commit is contained in:
Sergey Yarkov 2020-07-14 17:29:38 +03:00
parent 07c915e1b0
commit 9733644d78
3 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,8 @@
import React from "react" import React from "react"
import './src/styles/global.scss' import './src/styles/global.scss'
import './src/components/Articles/ArticleCard/ArticleCard.scss'
import './src/components/Newsletter/Newsletter.scss'
import 'prismjs/themes/prism-tomorrow.css' import 'prismjs/themes/prism-tomorrow.css'
import 'prismjs/plugins/line-numbers/prism-line-numbers.css' import 'prismjs/plugins/line-numbers/prism-line-numbers.css'
import { ThemeProvider } from "./src/context/ThemeContext" import { ThemeProvider } from "./src/context/ThemeContext"

View File

@ -3,7 +3,6 @@ import PropTypes from 'prop-types'
import slugify from '../../../helpers/slugify' import slugify from '../../../helpers/slugify'
import Img from "gatsby-image" import Img from "gatsby-image"
import { Link } from 'gatsby' import { Link } from 'gatsby'
import './ArticleCard.scss'
const ArticleCard = ({ data: { slug, title, image, category, description, tags } }) => { const ArticleCard = ({ data: { slug, title, image, category, description, tags } }) => {
return ( return (

View File

@ -1,5 +1,4 @@
import React from 'react'; import React from 'react';
import './Newsletter.scss'
const Newsletter = () => { const Newsletter = () => {
return ( return (