├── .eslintrc.json ├── .gitignore ├── .prettierrc ├── README.md ├── client.js ├── components ├── BlockRenderer │ ├── BlockRenderer.js │ └── index.js ├── ButtonLink │ ├── ButtonLink.js │ └── index.js ├── CallToActionButton │ ├── CallToActionButton.js │ └── index.js ├── Column │ ├── Column.js │ └── index.js ├── Columns │ ├── Columns.js │ └── index.js ├── Cover │ ├── Cover.js │ └── index.js ├── FormspreeForm │ ├── FormspreeForm.js │ └── index.js ├── Gallery │ ├── Gallery.js │ └── index.js ├── Heading │ ├── Heading.js │ └── index.js ├── Input │ ├── Input.js │ └── index.js ├── MainMenu │ ├── MainMenu.js │ └── index.js ├── Page │ ├── Page.js │ └── index.js ├── Paragraph │ ├── Paragraph.js │ └── index.js ├── PostTitle │ ├── PostTitle.js │ └── index.js ├── PropertyFeatures │ ├── PropertyFeatures.js │ └── index.js ├── PropertySearch │ ├── Filters │ │ ├── Filters.js │ │ └── index.js │ ├── Pagination │ │ ├── Pagination.js │ │ └── index.js │ ├── PropertySearch.js │ ├── Results │ │ ├── PropertyCard │ │ │ ├── PropertyCard.js │ │ │ └── index.js │ │ ├── Results.js │ │ └── index.js │ └── index.js └── TickItem │ ├── TickItem.js │ └── index.js ├── context └── page.js ├── jsconfig.json ├── next.config.js ├── package.json ├── pages ├── [...slug].js ├── _app.js ├── api │ ├── hello.js │ └── search.js └── index.js ├── postcss.config.js ├── public ├── favicon.ico └── vercel.svg ├── styles └── globals.css ├── tailwind.config.js ├── theme.js └── utils ├── cleanAndTransformBlocks.js ├── fonts.js ├── getPageStaticProps.js ├── mapMainMenuItems.js └── relativeToAbsoluteUrls.js /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "tabWidth": 2 3 | } 4 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/README.md -------------------------------------------------------------------------------- /client.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/client.js -------------------------------------------------------------------------------- /components/BlockRenderer/BlockRenderer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/components/BlockRenderer/BlockRenderer.js -------------------------------------------------------------------------------- /components/BlockRenderer/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/components/BlockRenderer/index.js -------------------------------------------------------------------------------- /components/ButtonLink/ButtonLink.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/components/ButtonLink/ButtonLink.js -------------------------------------------------------------------------------- /components/ButtonLink/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/components/ButtonLink/index.js -------------------------------------------------------------------------------- /components/CallToActionButton/CallToActionButton.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/components/CallToActionButton/CallToActionButton.js -------------------------------------------------------------------------------- /components/CallToActionButton/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/components/CallToActionButton/index.js -------------------------------------------------------------------------------- /components/Column/Column.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/components/Column/Column.js -------------------------------------------------------------------------------- /components/Column/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/components/Column/index.js -------------------------------------------------------------------------------- /components/Columns/Columns.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/components/Columns/Columns.js -------------------------------------------------------------------------------- /components/Columns/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/components/Columns/index.js -------------------------------------------------------------------------------- /components/Cover/Cover.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/components/Cover/Cover.js -------------------------------------------------------------------------------- /components/Cover/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/components/Cover/index.js -------------------------------------------------------------------------------- /components/FormspreeForm/FormspreeForm.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/components/FormspreeForm/FormspreeForm.js -------------------------------------------------------------------------------- /components/FormspreeForm/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/components/FormspreeForm/index.js -------------------------------------------------------------------------------- /components/Gallery/Gallery.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/components/Gallery/Gallery.js -------------------------------------------------------------------------------- /components/Gallery/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/components/Gallery/index.js -------------------------------------------------------------------------------- /components/Heading/Heading.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/components/Heading/Heading.js -------------------------------------------------------------------------------- /components/Heading/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/components/Heading/index.js -------------------------------------------------------------------------------- /components/Input/Input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/components/Input/Input.js -------------------------------------------------------------------------------- /components/Input/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/components/Input/index.js -------------------------------------------------------------------------------- /components/MainMenu/MainMenu.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/components/MainMenu/MainMenu.js -------------------------------------------------------------------------------- /components/MainMenu/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/components/MainMenu/index.js -------------------------------------------------------------------------------- /components/Page/Page.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/components/Page/Page.js -------------------------------------------------------------------------------- /components/Page/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/components/Page/index.js -------------------------------------------------------------------------------- /components/Paragraph/Paragraph.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/components/Paragraph/Paragraph.js -------------------------------------------------------------------------------- /components/Paragraph/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/components/Paragraph/index.js -------------------------------------------------------------------------------- /components/PostTitle/PostTitle.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/components/PostTitle/PostTitle.js -------------------------------------------------------------------------------- /components/PostTitle/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/components/PostTitle/index.js -------------------------------------------------------------------------------- /components/PropertyFeatures/PropertyFeatures.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/components/PropertyFeatures/PropertyFeatures.js -------------------------------------------------------------------------------- /components/PropertyFeatures/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/components/PropertyFeatures/index.js -------------------------------------------------------------------------------- /components/PropertySearch/Filters/Filters.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/components/PropertySearch/Filters/Filters.js -------------------------------------------------------------------------------- /components/PropertySearch/Filters/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/components/PropertySearch/Filters/index.js -------------------------------------------------------------------------------- /components/PropertySearch/Pagination/Pagination.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/components/PropertySearch/Pagination/Pagination.js -------------------------------------------------------------------------------- /components/PropertySearch/Pagination/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/components/PropertySearch/Pagination/index.js -------------------------------------------------------------------------------- /components/PropertySearch/PropertySearch.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/components/PropertySearch/PropertySearch.js -------------------------------------------------------------------------------- /components/PropertySearch/Results/PropertyCard/PropertyCard.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/components/PropertySearch/Results/PropertyCard/PropertyCard.js -------------------------------------------------------------------------------- /components/PropertySearch/Results/PropertyCard/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/components/PropertySearch/Results/PropertyCard/index.js -------------------------------------------------------------------------------- /components/PropertySearch/Results/Results.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/components/PropertySearch/Results/Results.js -------------------------------------------------------------------------------- /components/PropertySearch/Results/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/components/PropertySearch/Results/index.js -------------------------------------------------------------------------------- /components/PropertySearch/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/components/PropertySearch/index.js -------------------------------------------------------------------------------- /components/TickItem/TickItem.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/components/TickItem/TickItem.js -------------------------------------------------------------------------------- /components/TickItem/index.js: -------------------------------------------------------------------------------- 1 | export * from "./TickItem"; 2 | -------------------------------------------------------------------------------- /context/page.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/context/page.js -------------------------------------------------------------------------------- /jsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/jsconfig.json -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/next.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/package.json -------------------------------------------------------------------------------- /pages/[...slug].js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/pages/[...slug].js -------------------------------------------------------------------------------- /pages/_app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/pages/_app.js -------------------------------------------------------------------------------- /pages/api/hello.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/pages/api/hello.js -------------------------------------------------------------------------------- /pages/api/search.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/pages/api/search.js -------------------------------------------------------------------------------- /pages/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/pages/index.js -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/postcss.config.js -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/public/vercel.svg -------------------------------------------------------------------------------- /styles/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/styles/globals.css -------------------------------------------------------------------------------- /tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/tailwind.config.js -------------------------------------------------------------------------------- /theme.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/theme.js -------------------------------------------------------------------------------- /utils/cleanAndTransformBlocks.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/utils/cleanAndTransformBlocks.js -------------------------------------------------------------------------------- /utils/fonts.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/utils/fonts.js -------------------------------------------------------------------------------- /utils/getPageStaticProps.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/utils/getPageStaticProps.js -------------------------------------------------------------------------------- /utils/mapMainMenuItems.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/utils/mapMainMenuItems.js -------------------------------------------------------------------------------- /utils/relativeToAbsoluteUrls.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tomphill/nextjs-wordpress-course/HEAD/utils/relativeToAbsoluteUrls.js --------------------------------------------------------------------------------