rework/lightweight #12

Merged
GauthierWebDev merged 106 commits from rework/lightweight into main 2025-04-21 16:27:38 +00:00
Showing only changes of commit 0c8b891289 - Show all commits

View File

@ -18,7 +18,9 @@ export function Link(props: LinkProps) {
const downloadExtensions = [".pdf", ".zip"]; const downloadExtensions = [".pdf", ".zip"];
const isDownload = downloadExtensions.some(props.href.endsWith); const isDownload = downloadExtensions.some((extension) =>
props.href.endsWith(extension),
);
return ( return (
<a <a