- Modified layout and responsive - Added remaining user guide cards - Added new table of content: https://github.com/twentyhq/twenty/assets/102751374/007118e5-60f2-4572-90cf-339c134f23c4 -Added fade-in: https://github.com/twentyhq/twenty/assets/102751374/0669c06d-3eab-484c-a5b5-3857c68f42b5 --------- Co-authored-by: Ady Beraud <a.beraud96@gmail.com>
14 lines
467 B
TypeScript
14 lines
467 B
TypeScript
import { ReactNode } from 'react';
|
|
|
|
import { UserGuideMainLayout } from '@/app/_components/user-guide/UserGuideMainLayout';
|
|
import { getUserGuideArticles } from '@/content/user-guide/constants/getUserGuideArticles';
|
|
|
|
export default function UserGuideLayout({ children }: { children: ReactNode }) {
|
|
const userGuideIndex = getUserGuideArticles();
|
|
return (
|
|
<UserGuideMainLayout userGuideIndex={userGuideIndex}>
|
|
{children}
|
|
</UserGuideMainLayout>
|
|
);
|
|
}
|