From 4073f80e7e84836f2380e4f0c55afc0776c877bb Mon Sep 17 00:00:00 2001 From: xpf <965732851@qq.com> Date: Fri, 13 Sep 2024 18:27:57 +0800 Subject: [PATCH 1/4] add scaenter --- src/components/ai/AiButton.astro | 33 ++++ src/components/ai/HomeIntroduce.astro | 30 +-- src/components/home/Carousel.astro | 6 +- src/components/home/Carousel_ai.astro | 109 ---------- src/components/home/HomeIntroduce.astro | 87 +++++--- src/components/home/HomeIntroduce_ai.astro | 220 --------------------- 6 files changed, 95 insertions(+), 390 deletions(-) create mode 100644 src/components/ai/AiButton.astro delete mode 100644 src/components/home/Carousel_ai.astro delete mode 100644 src/components/home/HomeIntroduce_ai.astro diff --git a/src/components/ai/AiButton.astro b/src/components/ai/AiButton.astro new file mode 100644 index 000000000..e7951db2b --- /dev/null +++ b/src/components/ai/AiButton.astro @@ -0,0 +1,33 @@ +--- +import { useTranslations } from "@i18n/util"; +import Button from "@components/home/StarAndForkV2/Button.jsx"; +import Video from "@components/home/StarAndForkV2/Video.jsx"; +import { SITE } from "@utils/config"; + +const t = useTranslations(Astro); +--- + +
{t('home.website.ai.quickly.develop')}
-+
{t("home.introduce.title")}
- {t('home.website.ai.quickly.develop')} -
-- {t("home.introduce.title")} -
-