Add Time into the news system & Add a new API keypoint into the home page.

This commit is contained in:
yuanhau 2025-05-25 09:49:35 +08:00
parent c2ec1b6668
commit 3019c06ec1
6 changed files with 45 additions and 24 deletions

View file

@ -12,7 +12,7 @@ import {
ViewfinderCircleIcon,
DocumentDuplicateIcon,
} from "@heroicons/vue/24/outline";
import { GithubIcon } from "lucide-vue-next";
import { GithubIcon, KeyIcon } from "lucide-vue-next";
import { gsap } from "gsap";
import { TextPlugin } from "gsap/TextPlugin";
gsap.registerPlugin(TextPlugin);
@ -45,6 +45,11 @@ const cards = [
title: t("home.cards.title.opensource"),
description: t("home.cards.description.opensource"),
},
{
icon: KeyIcon,
title: t("home.cards.title.apis"),
description: t("home.cards.description.apis"),
},
];
const accordionItems = [