yes?
All checks were successful
Deploy / deploy (ubuntu-latest, 2.44.0) (push) Successful in 1m9s

Took 7 minutes
This commit is contained in:
Braydon 2024-10-06 18:44:52 -04:00
parent 2b19fdf7bc
commit 328a2226d0
2 changed files with 2 additions and 13 deletions

View File

@ -77,11 +77,10 @@ export const generateMetadata = async ({
params,
}: {
params: Promise<{ slug: string[] }>;
}): Promise<Metadata> => {
}): Promise<Metadata | undefined> => {
const slug: string = (((await params).slug as string[]) || undefined)?.join(
"/"
); // The slug of the content
let embed: Metadata | undefined; // The content embed, if any
if (slug) {
const content: DocsContentMetadata | undefined = getDocsContent().find(
(metadata: DocsContentMetadata): boolean => metadata.slug === slug
@ -93,16 +92,6 @@ export const generateMetadata = async ({
});
}
}
// Return the page embed
return (
embed ||
Embed({
title: "Documentation",
description:
"Need help with Pulse App? You've come to the right place!",
})
);
};
export default DocsPage;

View File

@ -31,7 +31,7 @@ const SheetOverlay = React.forwardRef<
SheetOverlay.displayName = SheetPrimitive.Overlay.displayName;
const sheetVariants = cva(
"fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-[450ms] data-[state=open]:duration-[450ms] data-[state=open]:animate-in data-[state=closed]:animate-out",
"fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-[450ms] data-[state=open]:animate-in data-[state=closed]:animate-out",
{
variants: {
side: {