📈 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!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
redesign no projects empty state
Blue Moused68d3d878240
diff --git a/web/app/pages/Dashboard/NoProjects.tsx b/web/app/pages/Dashboard/NoProjects.tsxindex 50b4e057a..1218a5df8 100644--- a/web/app/pages/Dashboard/NoProjects.tsx+++ b/web/app/pages/Dashboard/NoProjects.tsx@@ -1,4 +1,5 @@import { FolderPlusIcon } from '@heroicons/react/24/outline'+import { FolderInputIcon } from 'lucide-react'import React from 'react'import { useTranslation } from 'react-i18next'import { Link } from 'react-router'@@ -27,15 +28,22 @@ export const NoProjects = ({ onClick, activeTab, search }: NoProjectsProps) => {}return (- <Link- to={routes.new_project}- onClick={onClick}- className='relative mx-auto block max-w-lg rounded-lg border-2 border-dashed border-gray-300 p-12 text-center hover:border-gray-400 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 focus:outline-hidden'- >- <FolderPlusIcon className='mx-auto h-12 w-12 text-gray-400 dark:text-gray-200' />- <span className='mt-2 block text-sm font-semibold text-gray-900 dark:text-gray-50'>- {t('dashboard.createProject')}- </span>- </Link>+ <div className='mx-auto w-full max-w-2xl py-16 text-center text-gray-900 dark:text-gray-50'>+ <div className='mx-auto mb-6 flex size-14 items-center justify-center rounded-xl bg-gray-100 dark:bg-slate-800'>+ <FolderInputIcon className='size-7 text-gray-700 dark:text-gray-200' strokeWidth={1.5} />+ </div>+ <h3 className='text-xl font-medium tracking-tight'>{t('dashboard.noProjects')}</h3>+ <p className='mx-auto mt-2 max-w-md text-sm text-gray-600 dark:text-gray-300'>{t('dashboard.createProject')}</p>+ <div className='mt-6'>+ <Link+ to={routes.new_project}+ onClick={onClick}+ className='inline-flex items-center justify-center rounded-md border border-transparent bg-slate-900 px-4 py-2 text-sm font-medium text-white transition-colors hover:bg-slate-700 dark:border-gray-800 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700'+ >+ <FolderPlusIcon className='mr-2 h-5 w-5' />+ {t('dashboard.newProject')}+ </Link>+ </div>+ </div>)}