mirror of
https://github.com/hanzo-apps/hanzo.ai.git
synced 2026-10-30 14:58:08 +00:00
The about sections, the analytics page and its demo's labels, the affiliate and agents pages, the API page and the account forwards wrap their copy. Copy handed to a shared component from a client page is translated at the call site; arrays written outside a component are marked with phrase(). Commands and figures inside a sentence are values, the mock dashboard's sample rows stay as they are, and the forward arrows mirror under dir="rtl".
49 lines
1.7 KiB
TypeScript
49 lines
1.7 KiB
TypeScript
'use client'
|
|
|
|
import HeroSection from "@/components/analytics/HeroSection";
|
|
import WebAnalytics from "@/components/analytics/WebAnalytics";
|
|
import BuildForGrowth from "@/components/analytics/BuildForGrowth";
|
|
import CommerceAnalytics from "@/components/analytics/CommerceAnalytics";
|
|
import OpenSource from "@/components/analytics/OpenSource";
|
|
import DeveloperFirst, { type Samples } from "@/components/analytics/DeveloperFirst";
|
|
import AIPowered from "@/components/analytics/AIPowered";
|
|
import Security from "@/components/analytics/Security";
|
|
import Community from "@/components/analytics/Community";
|
|
import CallToAction from "@/components/analytics/CallToAction";
|
|
import { OSSRevenueBanner } from "@/components/oss/OSSRevenueBanner";
|
|
|
|
import { ProductFooter } from "@/components/products/ProductFooter"
|
|
import { Start } from "@/components/products/Start"
|
|
import { Box } from '@hanzo/ui'
|
|
import { useI18n } from '@hanzo/i18n/react'
|
|
const Analytics = ({ samples }: { samples: Samples }) => {
|
|
const { t } = useI18n();
|
|
return (
|
|
<Box minH="100vh" $platform-web={{ color: 'var(--foreground)' }}>
|
|
|
|
<main>
|
|
<HeroSection />
|
|
<WebAnalytics />
|
|
<BuildForGrowth />
|
|
<CommerceAnalytics />
|
|
<OpenSource />
|
|
<DeveloperFirst samples={samples} />
|
|
<AIPowered />
|
|
<Security />
|
|
<Community />
|
|
<OSSRevenueBanner />
|
|
<CallToAction />
|
|
<Start
|
|
title={t('Get started with Analytics')}
|
|
docs="https://docs.hanzo.ai/docs/projects/hanzoai/insights"
|
|
repo="https://github.com/hanzoai"
|
|
/>
|
|
<ProductFooter slug="analytics" name="Analytics" />
|
|
</main>
|
|
|
|
</Box>
|
|
);
|
|
};
|
|
|
|
export default Analytics;
|