From 62c219c2defc85d29a0ac0b81150276ad593d3c8 Mon Sep 17 00:00:00 2001 From: Sean Norwood Date: Sun, 3 Apr 2022 20:03:30 +0000 Subject: [PATCH] chore: add custom head element --- .../www/src/components/CustomHead.tsx | 50 +++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 tubearchivist/www/src/components/CustomHead.tsx diff --git a/tubearchivist/www/src/components/CustomHead.tsx b/tubearchivist/www/src/components/CustomHead.tsx new file mode 100644 index 0000000..3307ccb --- /dev/null +++ b/tubearchivist/www/src/components/CustomHead.tsx @@ -0,0 +1,50 @@ +import Head from "next/head"; + +export const CustomHead = ({ title }: { title: string }) => { + return ( + + + + + + + + + + + + + + + + {/* {% if title %} */} + TA | {{ title }} + {/* {% else %} */} + TubeArchivist + {/* {% endif %} */} + {/* {% if colors == "dark" %} */} + {/* */} + {/* {% else %} */} + {/* */} + {/* {% endif %} */} + + ); +};