1
0
mirror of https://github.com/kremalicious/portfolio.git synced 2025-01-05 11:25:00 +01:00

move templates folder

This commit is contained in:
Matthias Kretschmann 2020-03-06 16:26:34 +01:00
parent 0c9cf423ec
commit 8595ca1664
Signed by: m
GPG Key ID: 606EEEF3C479A91F
6 changed files with 9 additions and 9 deletions

View File

@ -142,7 +142,7 @@ exports.onCreateNode = ({ node, actions }) => {
// //
exports.createPages = async ({ actions, graphql }) => { exports.createPages = async ({ actions, graphql }) => {
const { createPage } = actions const { createPage } = actions
const template = path.resolve('src/templates/Project.jsx') const template = path.resolve('src/components/templates/Project.jsx')
const result = await graphql(` const result = await graphql(`
{ {

View File

@ -27,5 +27,5 @@
} }
.title { .title {
composes: metatitle from '../../templates/Project.module.scss'; composes: metatitle from '../templates/Project.module.scss';
} }

View File

@ -28,5 +28,5 @@
} }
.title { .title {
composes: metatitle from '../../templates/Project.module.scss'; composes: metatitle from '../templates/Project.module.scss';
} }

View File

@ -1,12 +1,12 @@
import React, { PureComponent } from 'react' import React, { PureComponent } from 'react'
import PropTypes from 'prop-types' import PropTypes from 'prop-types'
import { graphql } from 'gatsby' import { graphql } from 'gatsby'
import FullWidth from '../components/atoms/FullWidth' import FullWidth from '../atoms/FullWidth'
import ProjectImage from '../components/atoms/ProjectImage' import ProjectImage from '../atoms/ProjectImage'
import ProjectTechstack from '../components/molecules/ProjectTechstack' import ProjectTechstack from '../molecules/ProjectTechstack'
import ProjectLinks from '../components/molecules/ProjectLinks' import ProjectLinks from '../molecules/ProjectLinks'
import ProjectNav from '../components/molecules/ProjectNav' import ProjectNav from '../molecules/ProjectNav'
import SEO from '../components/atoms/SEO' import SEO from '../atoms/SEO'
import styles from './Project.module.scss' import styles from './Project.module.scss'
class ProjectMeta extends PureComponent { class ProjectMeta extends PureComponent {