feat(research): add workspace and evidence-linked finding UI
This commit is contained in:
parent
ee45257507
commit
e3bd708838
21 changed files with 4566 additions and 1379 deletions
|
|
@ -10,8 +10,13 @@ export function Layout() {
|
|||
// Determine title from current route
|
||||
const getTitle = () => {
|
||||
const path = location.pathname.replace('/', '');
|
||||
if (!path || path === 'dashboard') {return 'Dashboard';}
|
||||
|
||||
if (path === 'research' || path.startsWith('research/')) {
|
||||
return 'Research';
|
||||
}
|
||||
if (!path || path === 'dashboard') {
|
||||
return 'Dashboard';
|
||||
}
|
||||
|
||||
// Handle nested routes
|
||||
if (path.includes('/')) {
|
||||
const parts = path.split('/');
|
||||
|
|
@ -20,7 +25,7 @@ export function Layout() {
|
|||
return parts[1].charAt(0).toUpperCase() + parts[1].slice(1);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return path.charAt(0).toUpperCase() + path.slice(1);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue