Skip to content

Commit

Permalink
Added Head, Darkmode Toggle, and Banner
Browse files Browse the repository at this point in the history
  • Loading branch information
chrispinkney committed Feb 4, 2021
1 parent f2cc7c7 commit c9218fc
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion src/frontend/next/src/pages/search.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,24 @@
import { Theme } from '@material-ui/core';
import Head from 'next/head';
import Banner from '../components/Banner';
import SEO from '../components/SEO';
import SearchPage from '../components/SearchPage';
import ThemeToggleButton from '../components/ThemeToggleButton';

const Search = () => {
type Props = {
theme: Theme;
toggleTheme: () => void;
};

const Search = ({ theme, toggleTheme }: Props) => {
return (
<>
<Head>
<title>Search</title>
<meta property="og:title" content="Telescope" key="title" />
</Head>
<ThemeToggleButton theme={theme} toggleTheme={toggleTheme} />
<Banner />
<SEO pageTitle="Search" />
<SearchPage />
</>
Expand Down

0 comments on commit c9218fc

Please sign in to comment.