Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

added icon to the 'create project' button

Blue Mouseabfa89b06e85
diff --git a/src/pages/Dashboard/Dashboard.jsx b/src/pages/Dashboard/Dashboard.jsx
index c9386a3ef..d153a2e16 100644
--- a/src/pages/Dashboard/Dashboard.jsx
+++ b/src/pages/Dashboard/Dashboard.jsx
@@ -15,7 +15,7 @@ import _filter from 'lodash/filter'
import _find from 'lodash/find'
import _ceil from 'lodash/ceil'
import { useTranslation } from 'react-i18next'
-import { EyeIcon, CalendarIcon } from '@heroicons/react/outline'
+import { EyeIcon, CalendarIcon, FolderAddIcon } from '@heroicons/react/outline'
import { ArrowSmUpIcon, ArrowSmDownIcon, XCircleIcon } from '@heroicons/react/solid'
import Modal from 'ui/Modal'
@@ -241,7 +241,8 @@ const Dashboard = ({
<h2 className='mt-2 text-3xl font-bold text-gray-900 dark:text-gray-50'>
{t('titles.dashboard')}
</h2>
- <span onClick={onNewProject} className='inline-flex cursor-pointer items-center text-center border border-transparent leading-4 font-medium rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 shadow-sm text-white bg-indigo-600 hover:bg-indigo-700 px-4 py-2 text-sm'>
+ <span onClick={onNewProject} className='inline-flex justify-center items-center cursor-pointer text-center border border-transparent leading-4 font-medium rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 shadow-sm text-white bg-indigo-600 hover:bg-indigo-700 px-3 py-2 text-sm'>
+ <FolderAddIcon className='w-5 h-5 mr-1' />
{t('dashboard.newProject')}
</span>
</div>