mirror of
https://github.com/UiO-Gaming/uiogaming.no.git
synced 2026-11-05 13:56:47 +01:00
move posts to main pages folder
This commit is contained in:
5 files changed
+6
-6
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/pages/blogPost.js")
|
||||
const eventTemplate = path.resolve("./src/components/pages/event.js")
|
||||
const blogTemplate = path.resolve("./src/pages/blogPost.js")
|
||||
const eventTemplate = path.resolve("./src/pages/event.js")
|
||||
const result = await graphql(`
|
||||
query {
|
||||
allSanityPost {
|
||||
|
||||
@@ -4,9 +4,9 @@ import * as styles from "./blogPost.module.css"
|
||||
import { graphql } from "gatsby"
|
||||
import { GatsbyImage } from "gatsby-plugin-image"
|
||||
|
||||
import Seo from "../seo"
|
||||
import Seo from "../components/seo"
|
||||
import BlockContent from "@sanity/block-content-to-react"
|
||||
import Back from "../items/back"
|
||||
import Back from "../components/items/back"
|
||||
|
||||
export const query = graphql`
|
||||
query($id: String!) {
|
||||
File renamed without changes.
@@ -4,8 +4,8 @@ import * as styles from "./event.module.css"
|
||||
import { graphql } from "gatsby"
|
||||
import moment from "moment-timezone"
|
||||
|
||||
import Seo from "../seo"
|
||||
import Back from "../items/back"
|
||||
import Seo from "../components/seo"
|
||||
import Back from "../components/items/back"
|
||||
import { FaMapMarkerAlt, FaCalendarAlt } from "react-icons/fa"
|
||||
|
||||
export const query = graphql`
|
||||
File renamed without changes.
Reference in new issue
Block a user