RW 0.28 <Set>
This commit is contained in:
@@ -1,14 +1,11 @@
|
||||
import { Link, routes } from '@redwoodjs/router'
|
||||
import BlogLayout from 'src/layouts/BlogLayout'
|
||||
|
||||
const AboutPage = () => {
|
||||
return (
|
||||
<BlogLayout>
|
||||
<p className="font-light">
|
||||
This site was created to demonstrate my mastery of Redwood: Look on my
|
||||
works, ye mighty, and despair!
|
||||
</p>
|
||||
</BlogLayout>
|
||||
<p className="font-light">
|
||||
This site was created to demonstrate my mastery of Redwood: Look on my
|
||||
works, ye mighty, and despair!
|
||||
</p>
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
@@ -1,11 +1,8 @@
|
||||
import BlogLayout from 'src/layouts/BlogLayout'
|
||||
import BlogPostCell from 'src/components/BlogPostCell'
|
||||
|
||||
const BlogPostPage = ({ id }) => {
|
||||
return (
|
||||
<BlogLayout>
|
||||
<BlogPostCell id={id} />
|
||||
</BlogLayout>
|
||||
<BlogPostCell id={id} />
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
@@ -9,7 +9,6 @@ import {
|
||||
} from '@redwoodjs/forms'
|
||||
import { Flash, useFlash, useMutation } from '@redwoodjs/web'
|
||||
import { useForm } from 'react-hook-form'
|
||||
import BlogLayout from 'src/layouts/BlogLayout'
|
||||
|
||||
const CREATE_CONTACT = gql`
|
||||
mutation CreateContactMutation($input: CreateContactInput!) {
|
||||
@@ -38,7 +37,7 @@ const ContactPage = () => {
|
||||
}
|
||||
|
||||
return (
|
||||
<BlogLayout>
|
||||
<>
|
||||
<Flash timeout={1000} className="bg-green-100 text-green-700" />
|
||||
<Form
|
||||
onSubmit={onSubmit}
|
||||
@@ -106,7 +105,7 @@ const ContactPage = () => {
|
||||
Save
|
||||
</Submit>
|
||||
</Form>
|
||||
</BlogLayout>
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
@@ -1,11 +1,8 @@
|
||||
import BlogLayout from 'src/layouts/BlogLayout'
|
||||
import BlogPostsCell from 'src/components/BlogPostsCell'
|
||||
|
||||
const HomePage = () => {
|
||||
return (
|
||||
<BlogLayout>
|
||||
<BlogPostsCell />
|
||||
</BlogLayout>
|
||||
<BlogPostsCell />
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user