"use client"

import { getDefaultLayout, IDefaultLayoutPage, IPageHeader } from "@/components/layout/default-layout"
import List from "@/components/quiz/List"
import SearchPanel from "@/components/quiz/SearchPanel"

const pageHeader: IPageHeader = {
  title: "퀴즈",
}

const Index: IDefaultLayoutPage = () => {
  return (
    <>
      <SearchPanel />
      <List />
    </>
  )
}

Index.getLayout = getDefaultLayout
Index.pageHeader = pageHeader

export default Index
