From 7e97740ba2a614c743594f8fad0c4cdd50f98239 Mon Sep 17 00:00:00 2001 From: Joe Fusco Date: Fri, 23 Oct 2026 12:13:49 -0400 Subject: [PATCH 1/5] fix(examples): remove the custom-toolbar page that imports components the example doesn't have --- examples/next/custom-toolbar/pages/example.js | 51 ------------------- 1 file changed, 51 deletions(-) delete mode 100644 examples/next/custom-toolbar/pages/example.js diff --git a/examples/next/custom-toolbar/pages/example.js b/examples/next/custom-toolbar/pages/example.js deleted file mode 100644 index b1c3866f2..000000000 --- a/examples/next/custom-toolbar/pages/example.js +++ /dev/null @@ -1,51 +0,0 @@ -import { gql, useQuery } from "@apollo/client"; -import Head from "next/head"; -import Header from "../components/header"; -import EntryHeader from "../components/entry-header"; -import Footer from "../components/footer"; -import { getNextStaticProps } from "@faustwp/core"; - -/** - * Next.js file based page example with Faust helpers. - */ -export default function Page() { - const { data } = useQuery(Page.query); - - const { title: siteTitle, description: siteDescription } = - data.generalSettings; - const menuItems = data.primaryMenuItems.nodes; - - return ( - <> - - {siteTitle} - - -
- -
- -

Next.js pages are still supported!

-
- -