mirror of
https://github.com/sergeyyarkov/devthread.ru.git
synced 2026-10-11 18:29:10 +03:00
styles import to gatsby-browser
This commit is contained in:
parent
9733644d78
commit
df95dbd6cb
@ -1,7 +1,16 @@
|
|||||||
import React from "react"
|
import React from "react"
|
||||||
import './src/styles/global.scss'
|
import './src/styles/global.scss'
|
||||||
|
import './src/components/Header/Header.scss'
|
||||||
|
import './src/components/About/About.scss'
|
||||||
|
import './src/components/Offers/Offers.scss'
|
||||||
|
import './src/components/Articles/Articles.scss'
|
||||||
import './src/components/Articles/ArticleCard/ArticleCard.scss'
|
import './src/components/Articles/ArticleCard/ArticleCard.scss'
|
||||||
import './src/components/Newsletter/Newsletter.scss'
|
import './src/components/Newsletter/Newsletter.scss'
|
||||||
|
import './src/components/Article/Article.scss'
|
||||||
|
import './src/components/Articles/MoreArticles/MoreArticles.scss'
|
||||||
|
import './src/components/Books/Books.scss'
|
||||||
|
import './src/components/Contacts/Contacts.scss'
|
||||||
|
import './src/components/Footer/Footer.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'
|
||||||
|
|||||||
@ -1,7 +1,6 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import PropTypes from 'prop-types'
|
import PropTypes from 'prop-types'
|
||||||
import { Link } from 'gatsby'
|
import { Link } from 'gatsby'
|
||||||
import './About.scss'
|
|
||||||
|
|
||||||
import ContactsIcon from '../../images/contacts-icon.svg'
|
import ContactsIcon from '../../images/contacts-icon.svg'
|
||||||
|
|
||||||
|
|||||||
@ -5,7 +5,6 @@ import Img from "gatsby-image"
|
|||||||
import useSiteMetadataQuery from '../../hooks/useSiteMetadataQuery'
|
import useSiteMetadataQuery from '../../hooks/useSiteMetadataQuery'
|
||||||
import slugify from '../../helpers/slugify'
|
import slugify from '../../helpers/slugify'
|
||||||
import { Link } from 'gatsby'
|
import { Link } from 'gatsby'
|
||||||
import './Article.scss'
|
|
||||||
|
|
||||||
import ViewsIcon from '../../images/views-icon.svg'
|
import ViewsIcon from '../../images/views-icon.svg'
|
||||||
import VkIcon from '../../images/vk-icon.svg'
|
import VkIcon from '../../images/vk-icon.svg'
|
||||||
|
|||||||
@ -1,7 +1,6 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import PropTypes from 'prop-types'
|
import PropTypes from 'prop-types'
|
||||||
import ArticleCard from './ArticleCard/ArticleCard'
|
import ArticleCard from './ArticleCard/ArticleCard'
|
||||||
import './Articles.scss'
|
|
||||||
|
|
||||||
const Articles = ({ data: { edges } }) => {
|
const Articles = ({ data: { edges } }) => {
|
||||||
return (
|
return (
|
||||||
|
|||||||
@ -2,7 +2,6 @@ import React from 'react';
|
|||||||
import { useLocation } from '@reach/router'
|
import { useLocation } from '@reach/router'
|
||||||
import useMoreArticlesQuery from '../../../hooks/useMoreArticlesQuery'
|
import useMoreArticlesQuery from '../../../hooks/useMoreArticlesQuery'
|
||||||
import ArticleCard from '../ArticleCard/ArticleCard'
|
import ArticleCard from '../ArticleCard/ArticleCard'
|
||||||
import './MoreArticles.scss'
|
|
||||||
|
|
||||||
const MoreArticles = () => {
|
const MoreArticles = () => {
|
||||||
const { edges } = useMoreArticlesQuery()
|
const { edges } = useMoreArticlesQuery()
|
||||||
|
|||||||
@ -2,7 +2,6 @@ import React from 'react';
|
|||||||
import PropTypes from 'prop-types'
|
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 './Books.scss'
|
|
||||||
|
|
||||||
const Books = ({ data: { edges } }) => {
|
const Books = ({ data: { edges } }) => {
|
||||||
return (
|
return (
|
||||||
|
|||||||
@ -1,7 +1,6 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import PropTypes from 'prop-types'
|
import PropTypes from 'prop-types'
|
||||||
import ContactsFrom from './ContactsForm/ContactsForm';
|
import ContactsFrom from './ContactsForm/ContactsForm';
|
||||||
import './Contacts.scss'
|
|
||||||
|
|
||||||
import MemoIcon from '../../images/memo-icon.svg'
|
import MemoIcon from '../../images/memo-icon.svg'
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,6 @@ import React from 'react';
|
|||||||
import { Link } from 'gatsby'
|
import { Link } from 'gatsby'
|
||||||
import PropTypes from 'prop-types'
|
import PropTypes from 'prop-types'
|
||||||
import useSiteMetadataQuery from '../../hooks/useSiteMetadataQuery'
|
import useSiteMetadataQuery from '../../hooks/useSiteMetadataQuery'
|
||||||
import './Footer.scss'
|
|
||||||
|
|
||||||
import GitHubButton from 'react-github-btn'
|
import GitHubButton from 'react-github-btn'
|
||||||
import LogoIcon from '../../images/logo-icon.svg'
|
import LogoIcon from '../../images/logo-icon.svg'
|
||||||
|
|||||||
@ -4,7 +4,6 @@ import PropTypes from 'prop-types'
|
|||||||
import { Link } from 'gatsby'
|
import { Link } from 'gatsby'
|
||||||
import useSiteMetadataQuery from '../../hooks/useSiteMetadataQuery'
|
import useSiteMetadataQuery from '../../hooks/useSiteMetadataQuery'
|
||||||
import ThemeContext from '../../context/ThemeContext'
|
import ThemeContext from '../../context/ThemeContext'
|
||||||
import './Header.scss'
|
|
||||||
|
|
||||||
import LogoIcon from '../../images/logo-icon.svg'
|
import LogoIcon from '../../images/logo-icon.svg'
|
||||||
import TelegramIcon from '../../images/telegram-icon.svg'
|
import TelegramIcon from '../../images/telegram-icon.svg'
|
||||||
|
|||||||
@ -2,7 +2,6 @@ import React from 'react';
|
|||||||
import usePopularArticlesQuery from '../../hooks/usePopularArticlesQuery'
|
import usePopularArticlesQuery from '../../hooks/usePopularArticlesQuery'
|
||||||
import useTagsQuery from '../../hooks/useTagsQuery'
|
import useTagsQuery from '../../hooks/useTagsQuery'
|
||||||
import useBooksQuery from '../../hooks/useBooksQuery'
|
import useBooksQuery from '../../hooks/useBooksQuery'
|
||||||
import './Offers.scss'
|
|
||||||
import Popular from './Popular/Popular'
|
import Popular from './Popular/Popular'
|
||||||
import Tags from './Tags/Tags'
|
import Tags from './Tags/Tags'
|
||||||
import Books from './Books/Books'
|
import Books from './Books/Books'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user