mirror of
https://github.com/StanGirard/quivr.git
synced 2024-12-17 15:41:50 +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>
|
|
);
|
|
}
|