Skip to content

Commit

Permalink
Add head to index page
Browse files Browse the repository at this point in the history
  • Loading branch information
briantu committed Apr 6, 2022
1 parent c86bedc commit d67f3e9
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions pages/index.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,25 @@
import type { NextPage } from "next";
import Head from "next/head";
import { Flex } from "@chakra-ui/react";
import Todooo from "../src/components/Todooo";
import Background from "../src/components/Background";

const IndexPage = () => {
const IndexPage: NextPage = () => {
return (
<Flex position="relative" justifyContent="center">
<Background />
<Todooo />
</Flex>
<>
<Head>
<title>Todooo</title>
<meta
name="description"
content="The only todo list you will ever need"
/>
<link rel="icon" href="/favicon.ico" />
</Head>
<Flex position="relative" justifyContent="center">
<Background />
<Todooo />
</Flex>
</>
);
};

Expand Down
Binary file added public/favicon.ico
Binary file not shown.

1 comment on commit d67f3e9

@vercel
Copy link

@vercel vercel bot commented on d67f3e9 Apr 6, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.