diff --git a/components/BlogBlocks.tsx b/components/BlogBlocks.tsx index 328a574..22aea8c 100644 --- a/components/BlogBlocks.tsx +++ b/components/BlogBlocks.tsx @@ -88,7 +88,9 @@ export function BlogPost( function NewsTags({ tags }: Pick) { return (
- {tags ? tags.map((tag) => {tag}) : Aucun tag} + {tags + ? tags.map((tag, index) => {tag}) + : Aucun tag}
) } @@ -116,7 +118,7 @@ function NewsLinks({ links }: Pick) { {links ? links.flatMap(Object.entries).map(( [name, link], - ) => {name}) + ) => {name}) : Aucun lien rapide} ) diff --git a/components/Header.tsx b/components/Header.tsx index ad9e5a3..9309371 100644 --- a/components/Header.tsx +++ b/components/Header.tsx @@ -57,7 +57,7 @@ export function Header() { - + diff --git a/components/MachineCard.tsx b/components/MachineCard.tsx index 9a43403..a5fbce3 100644 --- a/components/MachineCard.tsx +++ b/components/MachineCard.tsx @@ -21,7 +21,7 @@ export function MachineCard( {name}
- {tags.map((tag) => {tag})} + {tags.map((tag, index) => {tag})}
diff --git a/components/ProjectCard.tsx b/components/ProjectCard.tsx index 85d32ae..1d8b086 100644 --- a/components/ProjectCard.tsx +++ b/components/ProjectCard.tsx @@ -25,7 +25,7 @@ export function ProjectCard( {toStateSpan(state)}
- {tags.map((tag) => {tag})} + {tags.map((tag, index) => {tag})}
{`${summary.slice(0, 150)} ...`} diff --git a/components/SponsorCards.tsx b/components/SponsorCards.tsx index 844eb94..25bd1de 100644 --- a/components/SponsorCards.tsx +++ b/components/SponsorCards.tsx @@ -17,7 +17,7 @@ function SponsorCard( diff --git a/islands/AiChatBox.tsx b/islands/AiChatBox.tsx index be174e9..bf09736 100644 --- a/islands/AiChatBox.tsx +++ b/islands/AiChatBox.tsx @@ -86,9 +86,10 @@ export default function AiChatBox() { return ( <> @@ -104,7 +105,7 @@ export default function AiChatBox() { autoFocus autoComplete='off' /> - diff --git a/islands/MoreBox.tsx b/islands/MoreBox.tsx index d758ce7..4b55ccd 100644 --- a/islands/MoreBox.tsx +++ b/islands/MoreBox.tsx @@ -15,9 +15,10 @@ export default function MoreBox({ children }: { children: VNode | VNode[] }) { return ( <> diff --git a/islands/SearchBox.tsx b/islands/SearchBox.tsx index 351c734..2f9693e 100644 --- a/islands/SearchBox.tsx +++ b/islands/SearchBox.tsx @@ -14,9 +14,10 @@ export default function SearchBox() { return ( <>