diff --git a/compass/components/Page.tsx b/compass/components/Page.tsx new file mode 100644 index 0000000..0fddda9 --- /dev/null +++ b/compass/components/Page.tsx @@ -0,0 +1,15 @@ +import React, { ReactNode } from 'react'; + +interface PageInterface { + children: ReactNode; +} + +const Page: React.FC = ({ children }) => { + return ( +
+ {children} +
+ ); +}; + +export default Page; \ No newline at end of file diff --git a/compass/pages/index.tsx b/compass/pages/index.tsx index cdd051b..5b6c16e 100644 --- a/compass/pages/index.tsx +++ b/compass/pages/index.tsx @@ -5,10 +5,11 @@ import type { NextPage } from 'next'; import Head from 'next/head'; import Input from '@/components/Input' import InlineLink from '@/components/InlineLink'; +import Page from '@/components/Page'; const Home: NextPage = () => { return ( -
+
-
- +
Forgot password? + +

- ©2024 Compass Center + © 2024 Compass Center

-
+
); };