refactor: move home components
This commit is contained in:
parent
f8b6a31087
commit
9b0db2e85a
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in New Issue