Style part page

This commit is contained in:
Kurt Hutten
2020-11-07 16:38:48 +11:00
parent 606cf8eae8
commit 1bdc836b66
18 changed files with 347 additions and 61 deletions

View File

@@ -0,0 +1,12 @@
import MainLayout from 'src/layouts/MainLayout'
import Part2Cell from 'src/components/Part2Cell'
const Part2Page = ({userName, partTitle}) => {
return (
<MainLayout>
<Part2Cell userName={userName} partTitle={partTitle}/>
</MainLayout>
)
}
export default Part2Page

View File

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

View File

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