diff --git a/frontend/index.html b/frontend/index.html index 8a60b0e..e64c16d 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -3,7 +3,7 @@ - + ExcaliDash diff --git a/frontend/public/favicon.svg b/frontend/public/favicon.svg new file mode 100644 index 0000000..ed907de --- /dev/null +++ b/frontend/public/favicon.svg @@ -0,0 +1,20 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/frontend/src/pages/Editor.tsx b/frontend/src/pages/Editor.tsx index 7c6c9d1..193d817 100644 --- a/frontend/src/pages/Editor.tsx +++ b/frontend/src/pages/Editor.tsx @@ -56,6 +56,13 @@ export const Editor: React.FC = () => { const [newName, setNewName] = useState(''); const [initialData, setInitialData] = useState(null); const [isSceneLoading, setIsSceneLoading] = useState(true); + + useEffect(() => { + document.title = `${drawingName} - ExcaliDash`; + return () => { + document.title = 'ExcaliDash'; + }; + }, [drawingName]); const [peers, setPeers] = useState([]); const [me] = useState(getUserIdentity());