import { Header } from "./components/Header"; import { Home } from "./pages/home"; import { Blog } from "./pages/blog"; import { Projects } from "./pages/projects"; export function Index(path: string) { return ( Caleb's Blog
{selectPage(path)}
) } export function selectPage(path: string) { switch (path) { case '/': return case '/blog': return case '/projects': return } }