)
}
const handleOpenProjectDrawer = (change = false) => {
projectDrawerOpen.set(true)
changeDestination.set(change)
}
const handleCloseProjectDrawer = () => {
changeDestination.set(false)
projectDrawerOpen.set(false)
}
/**
* Rendering view for projects page, if user is not login yet then showing login view.
* if user is logged in and has no existing projects then the welcome view is shown, providing link to the tutorials.
* if user has existing projects then we show the existing projects in grids and a grid to add new project.
*
*/
if (!authUser?.accessToken.value || authUser.accessToken.value.length === 0 || !user?.id.value) return <>>
return (