forked from www/www-new
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
380 B
19 lines
380 B
import Head from "next/head";
|
|
import React from "react";
|
|
|
|
interface Props {
|
|
children: string | string[];
|
|
}
|
|
|
|
export function Title(props: Props) {
|
|
const children =
|
|
typeof props.children === "string" ? [props.children] : props.children;
|
|
|
|
children.push("CSC", "University of Waterloo");
|
|
|
|
return (
|
|
<Head>
|
|
<title>{children.join(" - ")}</title>
|
|
</Head>
|
|
);
|
|
}
|
|
|