diff --git a/tubearchivist/www/src/pages/index.tsx b/tubearchivist/www/src/pages/index.tsx
index d2aedaa..c673e66 100644
--- a/tubearchivist/www/src/pages/index.tsx
+++ b/tubearchivist/www/src/pages/index.tsx
@@ -1,9 +1,9 @@
-import type { NextPage } from "next";
+import type { GetServerSideProps, NextPage } from "next";
import { signIn, signOut, useSession } from "next-auth/react";
-import Head from "next/head";
-import { Suspense } from "react";
+import { Videos } from "../types/video";
import { CustomHead } from "../components/CustomHead";
-import { DynamicHeader } from "../components/Header";
+import { Layout } from "../components/Layout";
+import { VideoList } from "../components/VideoList";
const SignInOutButton = ({ isSignedIn }: { isSignedIn: boolean }) => {
if (isSignedIn) {
@@ -12,7 +12,7 @@ const SignInOutButton = ({ isSignedIn }: { isSignedIn: boolean }) => {
return ;
};
-const Home: NextPage = () => {
+const Home: NextPage<{ videos: Videos }> = ({ videos }) => {
const { data: session, status } = useSession();
const authData = {
session,
@@ -23,21 +23,26 @@ const Home: NextPage = () => {
<>