diff --git a/app/components/QuickLinks.tsx b/app/components/QuickLinks.tsx
index b2b46e0..0ba1139 100644
--- a/app/components/QuickLinks.tsx
+++ b/app/components/QuickLinks.tsx
@@ -3,14 +3,21 @@ import type { IconProps } from "./Icon";
import { Icon } from "./Icon";
import { Link } from "./Link";
+import clsx from "clsx";
type QuickLinksProps = {
children: JSXElement;
+ class?: string;
};
export default function QuickLinks(props: QuickLinksProps) {
return (
-
+
{props.children}
);
@@ -20,6 +27,7 @@ type QuickLinkProps = {
title: string;
description: string;
href: string;
+ lastEdited?: Date;
icon: IconProps["icon"];
};
@@ -36,6 +44,19 @@ QuickLinks.QuickLink = (props: QuickLinkProps) => (
+ {props.lastEdited && (
+
+ Dernière modification :{" "}
+
+
+ )}
+
{props.description}
diff --git a/app/layouts/DocsLayout.tsx b/app/layouts/DocsLayout.tsx
index 1eee27d..c8e44b0 100644
--- a/app/layouts/DocsLayout.tsx
+++ b/app/layouts/DocsLayout.tsx
@@ -2,6 +2,7 @@ import type { JSXElement } from "solid-js";
import { PrevNextLinks } from "@/components/PrevNextLinks";
import { usePageContext } from "vike-solid/usePageContext";
+import { LatestDocs } from "@/partials/LatestDocs";
import { clientOnly } from "vike-solid/clientOnly";
import { clock } from "solid-heroicons/outline";
import { navigation } from "@/libs/navigation";
@@ -21,21 +22,25 @@ export function DocsLayout(props: DocsLayoutProps) {
return (
<>
-