mirror of
https://github.com/kremalicious/portfolio.git
synced 2024-11-14 17:15:15 +01:00
move templates folder
This commit is contained in:
parent
0c9cf423ec
commit
8595ca1664
@ -142,7 +142,7 @@ exports.onCreateNode = ({ node, actions }) => {
|
||||
//
|
||||
exports.createPages = async ({ actions, graphql }) => {
|
||||
const { createPage } = actions
|
||||
const template = path.resolve('src/templates/Project.jsx')
|
||||
const template = path.resolve('src/components/templates/Project.jsx')
|
||||
|
||||
const result = await graphql(`
|
||||
{
|
||||
|
@ -27,5 +27,5 @@
|
||||
}
|
||||
|
||||
.title {
|
||||
composes: metatitle from '../../templates/Project.module.scss';
|
||||
composes: metatitle from '../templates/Project.module.scss';
|
||||
}
|
||||
|
@ -28,5 +28,5 @@
|
||||
}
|
||||
|
||||
.title {
|
||||
composes: metatitle from '../../templates/Project.module.scss';
|
||||
composes: metatitle from '../templates/Project.module.scss';
|
||||
}
|
||||
|
@ -1,12 +1,12 @@
|
||||
import React, { PureComponent } from 'react'
|
||||
import PropTypes from 'prop-types'
|
||||
import { graphql } from 'gatsby'
|
||||
import FullWidth from '../components/atoms/FullWidth'
|
||||
import ProjectImage from '../components/atoms/ProjectImage'
|
||||
import ProjectTechstack from '../components/molecules/ProjectTechstack'
|
||||
import ProjectLinks from '../components/molecules/ProjectLinks'
|
||||
import ProjectNav from '../components/molecules/ProjectNav'
|
||||
import SEO from '../components/atoms/SEO'
|
||||
import FullWidth from '../atoms/FullWidth'
|
||||
import ProjectImage from '../atoms/ProjectImage'
|
||||
import ProjectTechstack from '../molecules/ProjectTechstack'
|
||||
import ProjectLinks from '../molecules/ProjectLinks'
|
||||
import ProjectNav from '../molecules/ProjectNav'
|
||||
import SEO from '../atoms/SEO'
|
||||
import styles from './Project.module.scss'
|
||||
|
||||
class ProjectMeta extends PureComponent {
|
Loading…
Reference in New Issue
Block a user