mirror of
https://github.com/UiO-Gaming/uiogaming.no.git
synced 2026-11-05 13:56:47 +01:00
move page templates into its own folder
This commit is contained in:
5 files changed
+5
-5
No files matched your search
+2
-2
@@ -2,8 +2,8 @@ const path = require("path")
|
||||
|
||||
module.exports.createPages = async ({ graphql, actions }) => {
|
||||
const { createPage } = actions
|
||||
const blogTemplate = path.resolve("./src/components/blogPost.js")
|
||||
const eventTemplate = path.resolve("./src/components/event.js")
|
||||
const blogTemplate = path.resolve("./src/components/pages/blogPost.js")
|
||||
const eventTemplate = path.resolve("./src/components/pages/event.js")
|
||||
const result = await graphql(`
|
||||
query {
|
||||
allSanityPost {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import * as React from "react"
|
||||
import * as styles from "./blogPost.module.css"
|
||||
import Seo from "../components/seo"
|
||||
import Seo from "../seo"
|
||||
import { graphql } from "gatsby"
|
||||
import { GatsbyImage } from "gatsby-plugin-image"
|
||||
import PortableText from "@sanity/block-content-to-react"
|
||||
File renamed without changes.
@@ -1,9 +1,9 @@
|
||||
import * as React from "react"
|
||||
import * as styles from "./event.module.css"
|
||||
import Seo from "../components/seo"
|
||||
import Seo from "../seo"
|
||||
import { graphql } from "gatsby"
|
||||
import { FaMapMarkerAlt, FaCalendarAlt } from "react-icons/fa"
|
||||
import Back from "./items/back"
|
||||
import Back from "../items/back"
|
||||
|
||||
export const query = graphql`
|
||||
query($id: String!) {
|
||||
File renamed without changes.
Reference in new issue
Block a user