📈 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
minor improvements
Blue Mousee9ecca18149a
diff --git a/src/pages/Dashboard/Dashboard.jsx b/src/pages/Dashboard/Dashboard.jsxindex 8f9eac7a3..c11483a5b 100644--- a/src/pages/Dashboard/Dashboard.jsx+++ b/src/pages/Dashboard/Dashboard.jsx@@ -53,7 +53,7 @@ const ProjectCart = ({ name, url, created, active, overall }) => {<ArrowSmUpIcon className='self-center flex-shrink-0 h-4 w-4 text-green-500' /><span className='sr-only'>Increased by- </span>+ </span></>) : (<>diff --git a/src/redux/constants/index.js b/src/redux/constants/index.jsindex 82a4aff28..78694fa4e 100644--- a/src/redux/constants/index.js+++ b/src/redux/constants/index.js@@ -30,4 +30,11 @@ export const tbPeriodPairs = [{access: 'paid',}]+export const tbsFormatMapper = {+ 'hour': '%d %B %H:%M',+ 'day': '%d %B',+ 'week': '%d %B',+ 'month': '%d %B',+}+export const TOKEN = 'access_token'diff --git a/src/ui/Input.jsx b/src/ui/Input.jsxindex e935b85e9..26d4a9164 100644--- a/src/ui/Input.jsx+++ b/src/ui/Input.jsx@@ -16,7 +16,6 @@ const Input = ({'flex justify-between': label && hint,})}><label htmlFor={identifier} className='block text-sm font-medium text-gray-700'>{label}</label>- <span className='text-sm text-gray-500' id={`${identifier}-optional`}>{hint}</span></div><div className='mt-1 relative'><input@@ -38,6 +37,7 @@ const Input = ({</div>)}</div>+ <p className='mt-2 text-sm text-gray-500 whitespace-pre-line' id={`${identifier}-optional`}>{hint}</p>{isError && (<p className='mt-2 text-sm text-red-600' id='email-error'>{error}</p>)}diff --git a/src/ui/Pin.jsx b/src/ui/Pin.jsxindex 5b6c223fa..d41e706be 100644--- a/src/ui/Pin.jsx+++ b/src/ui/Pin.jsx@@ -13,19 +13,19 @@ const defaultProps = {}const ActivePin = ({ label, className }) => (- <p className={cx('px-2 inline-flex text-sm leading-5 font-semibold rounded-full bg-green-100 text-green-800', className)}>+ <p className={cx('px-2 inline-flex text-sm leading-5 font-normal rounded-full bg-green-100 text-green-800', className)}>{label}</p>)const InactivePin = ({ label, className }) => (- <p className={cx('px-2 inline-flex text-sm leading-5 font-semibold rounded-full bg-red-100 text-red-800', className)}>+ <p className={cx('px-2 inline-flex text-sm leading-5 font-normal rounded-full bg-red-100 text-red-800', className)}>{label}</p>)const WarningPin = ({ label, className }) => (- <p className={cx('px-2 inline-flex text-sm leading-5 font-semibold rounded-full bg-yellow-100 text-yellow-600', className)}>+ <p className={cx('px-2 inline-flex text-sm leading-5 font-normal rounded-full bg-yellow-100 text-yellow-600', className)}>{label}</p>)