feat(web): add sidebar nav layout and dashboard home page

This commit is contained in:
2026-05-28 01:15:53 +05:30
parent d92476f841
commit f7b3ef5a7c
3 changed files with 42 additions and 7 deletions
+7 -2
View File
@@ -7,8 +7,13 @@ describe('Home page', () => {
expect(screen.getByRole('heading', { name: /insignia tower/i })).toBeInTheDocument();
});
it('renders the platform tagline', () => {
it('renders a link to the search page', () => {
render(<Home />);
expect(screen.getByText(/community knowledge infrastructure/i)).toBeInTheDocument();
expect(screen.getByRole('link', { name: /search/i })).toHaveAttribute('href', '/search');
});
it('renders a link to the groups page', () => {
render(<Home />);
expect(screen.getByRole('link', { name: /groups/i })).toHaveAttribute('href', '/groups');
});
});