aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/docs/components/pages/AI-home
diff options
context:
space:
mode:
author简律纯 <i@jyunko.cn>2023-11-03 21:13:33 +0800
committer简律纯 <i@jyunko.cn>2023-11-03 21:13:33 +0800
commit9f0d43fe099a95ab1516ae951dcb60a89e76a5a5 (patch)
tree51614fe47bff8bb11028a07d4a35c34c9ff6594a /docs/components/pages/AI-home
parent8f135707d069c900e055dae71e69909d6b9a41bb (diff)
downloadHydroRoll-9f0d43fe099a95ab1516ae951dcb60a89e76a5a5.tar.gz
HydroRoll-9f0d43fe099a95ab1516ae951dcb60a89e76a5a5.zip
chore: delete useless codes
Diffstat (limited to 'docs/components/pages/AI-home')
-rw-r--r--docs/components/pages/AI-home/AIFeatures.tsx15
-rw-r--r--docs/components/pages/AI-home/AIHero.tsx113
-rw-r--r--docs/components/pages/AI-home/AILetter.tsx106
-rw-r--r--docs/components/pages/AI-home/index.tsx22
4 files changed, 0 insertions, 256 deletions
diff --git a/docs/components/pages/AI-home/AIFeatures.tsx b/docs/components/pages/AI-home/AIFeatures.tsx
deleted file mode 100644
index aa8c236..0000000
--- a/docs/components/pages/AI-home/AIFeatures.tsx
+++ /dev/null
@@ -1,15 +0,0 @@
-import { REPO_HOME_FEATURES } from "../../../content/features";
-import { FadeIn } from "../home-shared/FadeIn";
-import { FeaturesBento } from "../home-shared/FeaturesBento";
-
-export function AIFeatures() {
- return (
- <FadeIn className="py-16 md:py-24 lg:py-32">
- <FeaturesBento
- header="为什么使用模型?"
- body="模型, 一种可以用来预测未来的工具."
- features={REPO_HOME_FEATURES}
- />
- </FadeIn>
- );
-}
diff --git a/docs/components/pages/AI-home/AIHero.tsx b/docs/components/pages/AI-home/AIHero.tsx
deleted file mode 100644
index be2ea40..0000000
--- a/docs/components/pages/AI-home/AIHero.tsx
+++ /dev/null
@@ -1,113 +0,0 @@
-import cn from "classnames";
-import Image from "next/image";
-import Link from "next/link";
-import gradients from "../home-shared/gradients.module.css";
-import { HeroText, SectionSubtext } from "../home-shared/Headings";
-import { Gradient } from "../home-shared/Gradient";
-import { FadeIn } from "../home-shared/FadeIn";
-import { CTAButton } from "../home-shared/CTAButton";
-import RepoLogo from "../../logos/AILogo";
-
-export function AIHero() {
- return (
- <>
- <FadeIn
- noVertical
- className="font-sans w-auto pb-16 pt-[48px] md:pb-24 lg:pb-32 md:pt-16 lg:pt-20 flex justify-between gap-8 items-center flex-col relative z-0"
- >
- <FadeIn className="z-50 flex items-center justify-center w-full ">
- <div className="absolute min-w-[614px] min-h-[614px]">
- {/* TODO: On dark mode, there should be a "breathing" gradient inside the inner circle */}
- <Image
- alt="AI"
- src="/images/docs/AI/repo-hero-circles-dark.svg"
- width={614}
- height={614}
- className="hidden dark:block"
- />
- <Image
- alt="AI"
- src="/images/docs/AI/repo-hero-circles-light.svg"
- width={614}
- height={614}
- className="block dark:hidden"
- />
- </div>
- <div className="absolute z-50 flex items-center justify-center w-64 h-64">
- <Gradient
- small
- width={120}
- height={120}
- conic
- className="dark:opacity-100 opacity-40"
- />
- </div>
-
- <div className="w-[120px] h-[120px] z-50">
- <Image
- alt=""
- src={`/images/docs/AI/repo-hero-logo-dark.svg`}
- width={120}
- height={120}
- className="hidden dark:block"
- />
- <Image
- alt=""
- src={`/images/docs/AI/repo-hero-logo-light.svg`}
- width={120}
- height={120}
- className="block dark:hidden"
- />
- </div>
- </FadeIn>
- <Gradient
- width={1000}
- height={1000}
- className="top-[-500px] dark:opacity-20 opacity-[0.15]"
- conic
- />
- <div className="absolute top-0 z-10 w-full h-48 dark:from-black from-white to-transparent bg-gradient-to-b" />
- <FadeIn
- delay={0.15}
- className="z-50 flex flex-col items-center justify-center gap-5 px-6 text-center lg:gap-6"
- >
- <RepoLogo
- alt="AI"
- width="200"
- className="w-[160px] md:w-[200px] fill-black dark:fill-white"
- />
- <HeroText h1>Artificial Intelligence MODEL</HeroText>
- <SectionSubtext hero>
- 简单易用的人工智能模型,尤其用于各种NLP场景,如文本分类、文本生成、文本匹配、命名实体识别、关系抽取等。
- </SectionSubtext>
- </FadeIn>
- <FadeIn
- delay={0.3}
- className="z-50 flex flex-col items-center w-full max-w-md gap-5 px-6"
- >
- <div className="flex flex-col w-full gap-3 md:!flex-row">
- <CTAButton>
- <Link href="/AI/docs" className="block py-3">
- 快速开始
- </Link>
- </CTAButton>
- <CTAButton outline>
- <a
- target="_blank"
- rel="noreferrer"
- href="https://github.com/retrofor/HydroRoll"
- className="block py-3"
- >
- 查看源码
- </a>
- </CTAButton>
- </div>
- <p className="text-sm text-[#666666]">License: GPL-3.0</p>
- </FadeIn>
- <FadeIn delay={0.5} className="relative w-full">
- <div className="absolute bottom-0 w-full dark:from-black from-white to-transparent h-72 bg-gradient-to-t" />
- </FadeIn>
- </FadeIn>
- </>
- );
-}
diff --git a/docs/components/pages/AI-home/AILetter.tsx b/docs/components/pages/AI-home/AILetter.tsx
deleted file mode 100644
index 8b9b405..0000000
--- a/docs/components/pages/AI-home/AILetter.tsx
+++ /dev/null
@@ -1,106 +0,0 @@
-import { HeroText } from "../home-shared/Headings";
-import Image from "next/image";
-import cn from "classnames";
-import gradients from "../home-shared/gradients.module.css";
-import { FadeIn } from "../home-shared/FadeIn";
-import { CTAButton } from "../home-shared/CTAButton";
-import Link from "next/link";
-import { Gradient } from "../home-shared/Gradient";
-
-export function AILetter() {
- return (
- <section className="relative flex flex-col items-center px-6 py-16 font-sans md:py-24 lg:py-32 gap-14">
- <FadeIn>
- <HeroText className="lg:text-[65px]">
- 优化完善你的骰子系统
- <br />
- 不再那么死板繁琐
- </HeroText>
- </FadeIn>
- <div className="flex flex-col max-w-xl leading-6 md:text-lg lg:text-lg">
- <FadeIn className="opacity-70">
- <p>
- 当你的骰子系统越来越大,跑的团也越来越多且趋于复杂时,你会发现你的骰子系统越来越难以维护,越来越难以使用。
- HydroRollAI提供了很多工具,帮助你优化你的骰子系统,比如文本分析,自动化生成,自动化测试等等。
- </p>
- <br />
- <p>
- 你可以写一整套完整的自动化流程,也可以只使用其中的一部分,HydroRollAI会按照你的流程自动去测试你的骰子系统,找出其中的问题。
- 同时,HydroRollAI也会帮助你生成文档,让你的骰子系统更加易于使用。
- 整个流程是并行的,你可以在任何时候停止,或者在任何时候加入新的流程。
- </p>
- <br />
- <p>我们还需要点其他的什么东西。</p>
- <br></br>
- <p>
- 一种新颖的骰子系统,可以让你的骰子系统更加灵活,更加易于使用。
- </p>
- <br />
- <p>通过HydroRollAI,处理骰子系统就是那么简单处理。</p>
- <br />
- <p>
- 你可以在HydroRollAI的文档中找到更多关于HydroRollAI的信息,或者你可以直接开始使用HydroRollAI。
- </p>
- </FadeIn>
- <FadeIn noVertical viewTriggerOffset className="relative h-2 md:h-12">
- <span
- className={cn(
- "w-full h-[1px] -bottom-8 md:-bottom-4 lg:-bottom-4 absolute",
- gradients.letterLine
- )}
- />
- </FadeIn>
- <FadeIn
- viewTriggerOffset
- noVertical
- className="flex items-end justify-center gap-3 md:self-start md:-ml-4 lg:self-start lg:-ml-4 min-w-[300px]"
- >
- <div className="w-24 h-24 min-w-[96px] min-h-[96px] rounded-full border dark:border-white/10 border-black/10 flex items-center justify-center ">
- <Image
- alt="Image of Jared Palmer"
- src="/images/people/Stardust.jpg"
- width={64}
- height={64}
- className="rounded-full grayscale"
- />
- </div>
- <div className="flex flex-col">
- {/* <Image
- alt="Jared Palmer's hand written signature"
- src="/images/docs/AI/jared-signature-light.svg"
- width={190}
- height={90}
- className="block mt-3 mb-4 ml-3 dark:hidden"
- />
- <Image
- alt="Jared Palmer's hand written signature"
- src="/images/docs/AI/jared-signature-dark.svg"
- width={209}
- height={116}
- className="hidden -mt-2 dark:block"
- /> */}
- <div className="flex gap-2 flex-wrap text-sm leading-none text-[#888888] max-w-[156px] md:max-w-xl lg:max-w-xl">
- <p className="font-bold">Stardust·减(Stardust)</p>
- <p>水系模型训练者之一</p>
- </div>
- </div>
- </FadeIn>
- </div>
- <FadeIn noVertical className="relative flex justify-center w-full mt-16">
- <div className="max-w-[180px] w-full">
- <CTAButton>
- <Link href="/AI/docs" className="block py-3 font-sans">
- 开始训练
- </Link>
- </CTAButton>
- </div>
- <Gradient
- width={1200}
- height={300}
- className="bottom-[-200px] -z-10 opacity-20"
- conic
- />
- </FadeIn>
- </section>
- );
-}
diff --git a/docs/components/pages/AI-home/index.tsx b/docs/components/pages/AI-home/index.tsx
deleted file mode 100644
index b65040c..0000000
--- a/docs/components/pages/AI-home/index.tsx
+++ /dev/null
@@ -1,22 +0,0 @@
-import { AIHero } from "./AIHero";
-import { AIFeatures } from "./AIFeatures";
-import { AILetter } from "./AILetter";
-import { GradientSectionBorder } from "../home-shared/GradientSectionBorder";
-import { LandingPageGlobalStyles } from "../home-shared/GlobalStyles";
-
-export default function HydroRollAIHome() {
- return (
- <>
- <LandingPageGlobalStyles />
- <main className="relative">
- <AIHero />
- <GradientSectionBorder>
- <AIFeatures />
- </GradientSectionBorder>
- <GradientSectionBorder>
- <AILetter />
- </GradientSectionBorder>
- </main>
- </>
- );
-}