Add basic part page

This commit is contained in:
Kurt Hutten
2020-10-16 16:43:29 +11:00
parent 0d64d98d55
commit 2df4ac0d57
12 changed files with 559 additions and 48 deletions

View File

@@ -0,0 +1,13 @@
import { Link, routes } from '@redwoodjs/router'
import MainLayout from 'src/layouts/MainLayout'
import IdePartCell from 'src/components/IdePartCell'
const IdePartPage = ({id}) => {
return (
<MainLayout>
<IdePartCell id={id} />
</MainLayout>
)
}
export default IdePartPage

View File

@@ -0,0 +1,7 @@
import IdePartPage from './IdePartPage'
export const generated = () => {
return <IdePartPage />
}
export default { title: 'Pages/IdePartPage' }

View File

@@ -0,0 +1,11 @@
import { render } from '@redwoodjs/testing'
import IdePartPage from './IdePartPage'
describe('IdePartPage', () => {
it('renders successfully', () => {
expect(() => {
render(<IdePartPage />)
}).not.toThrow()
})
})