2023-03-13 16:27:45 +00:00
|
|
|
import { Analytics } from "@vercel/analytics/react";
|
2023-04-02 13:56:34 +00:00
|
|
|
|
2023-03-26 12:29:02 +00:00
|
|
|
import { Home } from "./components/home";
|
2023-04-10 18:54:31 +00:00
|
|
|
|
2023-04-10 17:21:34 +00:00
|
|
|
import { getServerSideConfig } from "./config/server";
|
|
|
|
|
|
|
|
const serverConfig = getServerSideConfig();
|
|
|
|
|
2023-04-10 18:54:31 +00:00
|
|
|
export default async function App() {
|
2023-03-13 16:27:45 +00:00
|
|
|
return (
|
|
|
|
<>
|
|
|
|
<Home />
|
2023-12-28 15:10:19 +00:00
|
|
|
{serverConfig?.isVercel && (
|
|
|
|
<>
|
|
|
|
<Analytics />
|
|
|
|
</>
|
|
|
|
)}
|
2023-03-13 16:27:45 +00:00
|
|
|
</>
|
|
|
|
);
|
2023-03-07 15:23:54 +00:00
|
|
|
}
|