From 1d3bfd5e3690ce39145127db38424dd966d90965 Mon Sep 17 00:00:00 2001 From: m5r Date: Mon, 30 Aug 2021 06:47:43 +0800 Subject: [PATCH] footer things --- app/blog/pages/blog.tsx | 12 ++++++++++++ app/public-area/components/base-layout.tsx | 3 +++ app/public-area/components/footer.tsx | 14 +++++++------- app/public-area/pages/privacy.tsx | 12 ++++++++++++ app/public-area/pages/terms.tsx | 12 ++++++++++++ 5 files changed, 46 insertions(+), 7 deletions(-) create mode 100644 app/blog/pages/blog.tsx create mode 100644 app/public-area/pages/privacy.tsx create mode 100644 app/public-area/pages/terms.tsx 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}
+ +