Move design manual to pages
This commit is contained in:
1 parent
aad9402ff8
commit
ab1c311333
3 files changed
+13
-20
No files matched your search
@@ -55,11 +55,6 @@ exports.createPages = ({ actions, graphql }) => {
|
||||
},
|
||||
})
|
||||
})
|
||||
|
||||
createPage({
|
||||
path: '/profil/',
|
||||
component: path.resolve('./src/templates/design-manual.js'),
|
||||
})
|
||||
})
|
||||
.then(() => {
|
||||
return graphql(`
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
import React from 'react'
|
||||
import Layout from '../components/Layout'
|
||||
|
||||
const DesignManual = () => (
|
||||
<Layout>
|
||||
<section className="page design-manual">
|
||||
<h1 className="section-title">Profil</h1>
|
||||
<p>Hei</p>
|
||||
</section>
|
||||
</Layout>
|
||||
)
|
||||
|
||||
export default DesignManual
|
||||
@@ -1,15 +0,0 @@
|
||||
import React from 'react'
|
||||
import Layout from '../components/Layout'
|
||||
|
||||
export default class DesignManual extends React.Component {
|
||||
render() {
|
||||
return (
|
||||
<Layout>
|
||||
<section className="page design-manual">
|
||||
<h1 className="section-title">Profil</h1>
|
||||
<p>Hei</p>
|
||||
</section>
|
||||
</Layout>
|
||||
)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user