From 5a9382f0087056ec39c829250349656165503bb4 Mon Sep 17 00:00:00 2001 From: weiyidan Date: Wed, 24 Jul 2024 16:26:41 +0800 Subject: [PATCH 1/2] =?UTF-8?q?feat:=20=E5=9F=BA=E7=A1=80=E5=AD=A6?= =?UTF-8?q?=E4=B9=A0=E8=B5=84=E6=96=99&=E7=89=88=E6=9D=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/common/Footer.astro | 34 ++++++- src/components/common/Header/index.astro | 2 +- src/components/home/PracticeList.astro | 4 +- src/components/home/TutorialList.astro | 56 +++++------ src/components/learning/HotTag.astro | 2 +- src/components/learning/LearningData.astro | 2 +- src/constant.ts | 94 +++++++++++-------- src/content/blog/RocketMQ_Learning-fast.md | 2 +- .../blog/RocketMQ_Learning-framework.md | 2 +- src/content/blog/RocketMQ_Learning-scene.md | 2 +- src/pages/learning/[...page].astro | 2 +- src/pages/learning/[tag]/[...slug].astro | 1 + 12 files changed, 119 insertions(+), 84 deletions(-) diff --git a/src/components/common/Footer.astro b/src/components/common/Footer.astro index 2e57da1..8089a93 100644 --- a/src/components/common/Footer.astro +++ b/src/components/common/Footer.astro @@ -77,9 +77,39 @@ import { SITE } from "@utils/config";
- Copyright © 2023 RocketMQ + + + +
+ +
+ +
+ + 浙ICP备12022327号-1120 + +
diff --git a/src/components/common/Header/index.astro b/src/components/common/Header/index.astro index 3a7a782..8b65ccc 100644 --- a/src/components/common/Header/index.astro +++ b/src/components/common/Header/index.astro @@ -35,7 +35,7 @@ let height, --- - + +
+
{ BASE_LEARNDATA.slice( currentScreen * itemsPerPage, (currentScreen + 1) * itemsPerPage ).map((item) => ( - diff --git a/src/components/home/Carousel.astro b/src/components/home/Carousel.astro index e759b2f..66968bd 100644 --- a/src/components/home/Carousel.astro +++ b/src/components/home/Carousel.astro @@ -23,7 +23,7 @@ const { duration = 5000, useduration = "disabled" } = Astro.props as Props;