refactor: move home components

This commit is contained in:
DIYgod 2023-05-06 18:55:42 +01:00
parent f8b6a31087
commit 9b0db2e85a
No known key found for this signature in database
4 changed files with 3 additions and 4 deletions

View File

@ -4,6 +4,9 @@ import { memo } from "react"
import { Hydrate, dehydrate } from "@tanstack/react-query"
import { Logo } from "~/components/common/Logo"
import { ShowCase } from "~/components/home//Showcase"
import { default as OriginEntranceButton } from "~/components/home/EntranceButton"
import { Integration } from "~/components/home/Integrations"
import { Button } from "~/components/ui/Button"
import { Image } from "~/components/ui/Image"
import { CSB_SCAN, GITHUB_LINK } from "~/lib/env"
@ -12,10 +15,6 @@ import { Trans, useTranslation } from "~/lib/i18n"
import getQueryClient from "~/lib/query-client"
import { prefetchGetShowcase } from "~/queries/home.server"
import { default as OriginEntranceButton } from "./components/EntranceButton"
import { Integration } from "./components/Integrations"
import { ShowCase } from "./components/Showcase"
async function Home() {
const { t, i18n } = await useTranslation("index")
const queryClient = getQueryClient()