fix(landing): prevent url encoding for spaces for footer links (#2376)

This commit is contained in:
Gaurav Chadha
2025-12-16 00:29:12 +05:30
committed by GitHub
parent 842200bcf2
commit fcf52ac4d5

View File

@@ -109,7 +109,7 @@ export default function Footer({ fullWidth = false }: FooterProps) {
{FOOTER_BLOCKS.map((block) => (
<Link
key={block}
href={`https://docs.sim.ai/blocks/${block.toLowerCase().replace(' ', '-')}`}
href={`https://docs.sim.ai/blocks/${block.toLowerCase().replaceAll(' ', '-')}`}
target='_blank'
rel='noopener noreferrer'
className='text-[14px] text-muted-foreground transition-colors hover:text-foreground'