diff --git a/app/blog/pages/blog.tsx b/app/blog/pages/blog.tsx new file mode 100644 index 0000000..27ef342 --- /dev/null +++ b/app/blog/pages/blog.tsx @@ -0,0 +1,12 @@ +import type { BlitzPage } from "blitz"; + +import Layout from "../../public-area/components/layout"; + +const Blog: BlitzPage = () => { + return Coming soon.; +}; + +Blog.getLayout = (page) => {page}; +Blog.suppressFirstRenderFlicker = true; + +export default Blog; diff --git a/app/public-area/components/base-layout.tsx b/app/public-area/components/base-layout.tsx index b62fe15..36e0549 100644 --- a/app/public-area/components/base-layout.tsx +++ b/app/public-area/components/base-layout.tsx @@ -2,6 +2,7 @@ import type { FunctionComponent } from "react"; import { Head } from "blitz"; import Header from "./header"; +import Footer from "./footer"; const BaseLayout: FunctionComponent = ({ children }) => ( <> @@ -21,6 +22,8 @@ const BaseLayout: FunctionComponent = ({ children }) => ( {children} + + > diff --git a/app/public-area/components/footer.tsx b/app/public-area/components/footer.tsx index 3990c04..6a62c01 100644 --- a/app/public-area/components/footer.tsx +++ b/app/public-area/components/footer.tsx @@ -6,21 +6,21 @@ export default function Footer() { // TODO const isDisabled = true; if (isDisabled) { - // return null; + return null; } return ( diff --git a/app/public-area/pages/privacy.tsx b/app/public-area/pages/privacy.tsx new file mode 100644 index 0000000..3fede26 --- /dev/null +++ b/app/public-area/pages/privacy.tsx @@ -0,0 +1,12 @@ +import type { BlitzPage } from "blitz"; + +import Layout from "../components/layout"; + +const PrivacyPolicy: BlitzPage = () => { + return Coming soon.; +}; + +PrivacyPolicy.getLayout = (page) => {page}; +PrivacyPolicy.suppressFirstRenderFlicker = true; + +export default PrivacyPolicy; diff --git a/app/public-area/pages/terms.tsx b/app/public-area/pages/terms.tsx new file mode 100644 index 0000000..eeb6b76 --- /dev/null +++ b/app/public-area/pages/terms.tsx @@ -0,0 +1,12 @@ +import type { BlitzPage } from "blitz"; + +import Layout from "../components/layout"; + +const TermsOfService: BlitzPage = () => { + return Coming soon.; +}; + +TermsOfService.getLayout = (page) => {page}; +TermsOfService.suppressFirstRenderFlicker = true; + +export default TermsOfService;