mirror of
https://github.com/QuivrHQ/quivr.git
synced 2024-12-15 17:43:03 +03:00
17 lines
311 B
TypeScript
17 lines
311 B
TypeScript
import Features from "./Features";
|
|
import Hero from "./Hero";
|
|
import { redirect } from "next/navigation";
|
|
|
|
export default function HomePage() {
|
|
if (process.env.NEXT_PUBLIC_ENV === "local") {
|
|
redirect("/upload");
|
|
}
|
|
|
|
return (
|
|
<main className="">
|
|
<Hero />
|
|
<Features />
|
|
</main>
|
|
);
|
|
}
|