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

@ -133,6 +133,8 @@ const associAppWindow = [
id: "6",
title: t("app.news"),
component: NewsWindow,
width: "800px",
height: "600px",
},
{
name: "starred",
@ -166,8 +168,6 @@ const associAppWindow = [
id: "11",
title: t("app.newsview"),
component: NewsViewWindow,
width: "800px",
height: "600px",
},
];

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 = [