Added Algolia Search (#5524)

-Added Algolia Search Box :

<img width="707" alt="Screenshot 2024-05-22 at 10 05 13"
src="https://github.com/twentyhq/twenty/assets/102751374/d26f9748-2a80-4690-88ca-16b078c52915">

-Added Algolia Search Bar:

<img width="294" alt="Screenshot 2024-05-22 at 10 05 56"
src="https://github.com/twentyhq/twenty/assets/102751374/ad503894-4ae1-41e4-bd4b-6241f7679142">

---------

Co-authored-by: Félix Malfait <felix.malfait@gmail.com>
This commit is contained in:
Ady Beraud
2024-05-22 13:06:00 +03:00
committed by GitHub
parent 2e79bcc70b
commit 40bd42efc4
19 changed files with 206 additions and 28 deletions

View File

@ -25,6 +25,7 @@ export const wrapHeadingsWithAnchor = (children: ReactNode): ReactNode => {
.toLowerCase();
return cloneElement(child as ReactElement<any>, {
id: id,
className: 'anchor',
children: <a href={`#${id}`}>{child.props.children}</a>,
});
}