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!

Migrate to Monospace font

Blue Mousee99f0d9b1c29
diff --git a/web/app/components/Footer/index.tsx b/web/app/components/Footer/index.tsx
index fe69a5390..0b87e818e 100644
--- a/web/app/components/Footer/index.tsx
+++ b/web/app/components/Footer/index.tsx
@@ -1,6 +1,6 @@
import React, { memo } from 'react'
import { Link } from '@remix-run/react'
-import { useTranslation } from 'react-i18next'
+import { Trans, useTranslation } from 'react-i18next'
import _map from 'lodash/map'
import Flag from '~/ui/Flag'
@@ -160,7 +160,7 @@ const SelfHostedFooter = () => {
const { t } = useTranslation('common')
return (
- <footer className='border-t border-gray-200 bg-gray-50 dark:border-slate-800/50 dark:bg-slate-900'>
+ <footer className='border-t border-gray-200 bg-gray-50 font-mono dark:border-slate-800/50 dark:bg-slate-900'>
<div className='mx-auto max-w-7xl overflow-hidden px-4 py-8 sm:px-6 lg:px-8'>
<nav className='-mx-5 -my-2 flex flex-wrap justify-center' aria-label='Footer'>
<div className='px-5 py-2'>
@@ -217,10 +217,7 @@ interface FooterProps {
}
const Footer = ({ authenticated, showDBIPMessage }: FooterProps) => {
- const {
- t,
- i18n: { language },
- } = useTranslation('common')
+ const { t } = useTranslation('common')
const year = new Date().getFullYear()
if (isSelfhosted) {
@@ -228,7 +225,7 @@ const Footer = ({ authenticated, showDBIPMessage }: FooterProps) => {
}
return (
- <footer className='dark:bg-gray-750 bg-gray-800' aria-labelledby='footer-heading'>
+ <footer className='dark:bg-gray-750 bg-gray-800 font-mono' aria-labelledby='footer-heading'>
<h2 id='footer-heading' className='sr-only'>
Footer
</h2>
@@ -243,35 +240,12 @@ const Footer = ({ authenticated, showDBIPMessage }: FooterProps) => {
<br />
{t('footer.description')}
</p>
- <div>
- <p className='flex text-base text-gray-300'>
- {t('footer.madeIn')}
- <a
- className='ml-1 flex text-blue-400 hover:underline hover:opacity-80'
- href={`https://${language}.wikipedia.org/wiki/Ukraine`}
- target='_blank'
- rel='noopener noreferrer'
- aria-label='Ukraine Wikipedia page (opens in a new tab)'
- >
- <Flag country='UA' size={18} alt='' aria-hidden='true' />
- &nbsp;
- {t('footer.ukraine')}
- </a>
- </p>
- <p className='flex text-base text-gray-300'>
- {t('footer.hostedIn')}
- <a
- className='ml-1 flex text-blue-400 hover:underline hover:opacity-80'
- href={`https://${language}.wikipedia.org/wiki/European_Union`}
- target='_blank'
- rel='noopener noreferrer'
- aria-label='European Union Wikipedia page (opens in a new tab)'
- >
- <Flag country='EU' size={18} alt='' aria-hidden='true' />
- &nbsp;
- {t('footer.eu')}
- </a>
- </p>
+ <div className='flex text-gray-300'>
+ <Trans t={t} i18nKey='footer.madeInHostedIn'>
+ <Flag className='mx-[1ch]' country='GB' size={18} alt='GB' aria-hidden='true' />
+ <Flag className='mx-[1ch]' country='UA' size={18} alt='UA' aria-hidden='true' />
+ <Flag className='mx-[1ch]' country='EU' size={18} alt='EU' aria-hidden='true' />
+ </Trans>
</div>
<div className='flex space-x-4'>
{_map(navigation.social, (item) => (
diff --git a/web/app/components/Header/index.tsx b/web/app/components/Header/index.tsx
index 639e8d83c..e4dc874ae 100644
--- a/web/app/components/Header/index.tsx
+++ b/web/app/components/Header/index.tsx
@@ -479,6 +479,12 @@ const ProfileMenu = ({
)
}
+const Separator = () => (
+ <svg viewBox='0 0 2 2' className='h-0.5 w-0.5 flex-none fill-gray-400'>
+ <circle cx={1} cy={1} r={1} />
+ </svg>
+)
+
const AuthedHeader = ({
user,
switchTheme,
@@ -504,7 +510,7 @@ const AuthedHeader = ({
return (
<header
- className={cx('relative overflow-x-clip', {
+ className={cx('relative overflow-x-clip font-mono', {
'border-b border-gray-200 bg-gray-50 dark:border-slate-600/40 dark:bg-slate-900': colourBackground,
})}
>
@@ -641,7 +647,7 @@ const NotAuthedHeader = ({
return (
<header
- className={cx('relative overflow-x-clip', {
+ className={cx('relative overflow-x-clip font-mono', {
'border-b border-gray-200 bg-gray-50 dark:border-slate-600/40 dark:bg-slate-900': colourBackground,
})}
>
@@ -718,7 +724,7 @@ const NotAuthedHeader = ({
{/* Language selector */}
<Dropdown
items={whitelist}
- buttonClassName='!py-0 inline-flex items-center [&>svg]:w-4 [&>svg]:h-4 [&>svg]:mr-0 [&>svg]:ml-1 text-sm font-semibold leading-6 text-base text-slate-800 hover:text-slate-700 dark:text-slate-200 dark:hover:text-white'
+ buttonClassName='!py-0 inline-flex items-center [&>svg]:w-4 [&>svg]:h-4 [&>svg]:mr-0 [&>svg]:ml-1 font-semibold leading-6 !text-base text-slate-800 hover:text-slate-700 dark:text-slate-200 dark:hover:text-white'
selectItemClassName='text-gray-700 block px-4 py-2 text-base cursor-pointer hover:bg-gray-200 dark:text-gray-50 dark:bg-slate-800 dark:hover:bg-slate-700'
title={
<>
@@ -746,7 +752,7 @@ const NotAuthedHeader = ({
<ThemeMenu theme={theme} switchTheme={switchTheme} />
{!refPage && (
<>
- <span className='text-slate-700'>|</span>
+ <Separator />
<Link
to={routes.signin}
className='flex items-center text-base leading-6 font-semibold text-slate-800 hover:text-slate-700 dark:text-slate-200 dark:hover:text-white'
@@ -889,7 +895,7 @@ const Header = ({ ssrTheme, authenticated, refPage, transparent }: HeaderProps)
)}
{/* Mobile header popup */}
- <Dialog className='lg:hidden' open={mobileMenuOpen} onClose={setMobileMenuOpen}>
+ <Dialog className='font-mono lg:hidden' open={mobileMenuOpen} onClose={setMobileMenuOpen}>
<div className='fixed inset-0 z-10' />
<Dialog.Panel className='fixed inset-y-0 top-0 right-0 z-30 w-full overflow-y-auto border-gray-300/80 bg-gray-100/80 p-4 backdrop-blur-2xl sm:max-w-sm sm:border dark:border-slate-900/80 dark:bg-slate-800/80'>
<div className='flex items-center justify-between'>
diff --git a/web/app/components/marketing/ConveyorBelt.tsx b/web/app/components/marketing/ConveyorBelt.tsx
index fd828da3c..adcab8f18 100644
--- a/web/app/components/marketing/ConveyorBelt.tsx
+++ b/web/app/components/marketing/ConveyorBelt.tsx
@@ -6,7 +6,7 @@ const Logo = ({ label, className }: { label: string; className: string }) => {
<div
className={clsx(
className,
- 'absolute top-[calc(50%-1rem)] items-center gap-2 px-3 py-1 whitespace-nowrap',
+ 'absolute top-[calc(50%-1rem)] flex items-center gap-2 px-3 py-1 whitespace-nowrap',
'bg-gray-700 bg-gradient-to-t from-50% ring-1 ring-white/10 ring-inset',
'[animation-iteration-count:infinite] [animation-name:move-x] [animation-play-state:paused] [animation-timing-function:linear] group-hover:[animation-play-state:running]',
)}
diff --git a/web/app/components/marketing/DitchGoogle.tsx b/web/app/components/marketing/DitchGoogle.tsx
index 14c04272f..cd482b829 100644
--- a/web/app/components/marketing/DitchGoogle.tsx
+++ b/web/app/components/marketing/DitchGoogle.tsx
@@ -16,7 +16,7 @@ export const DitchGoogle = ({ screenshot: { light, dark }, theme }: DitchGoogleP
const { t } = useTranslation('common')
return (
- <div className='bg-white px-4 pb-12 font-mono md:px-8 dark:bg-slate-900'>
+ <div className='bg-white px-4 pb-12 md:px-8 dark:bg-slate-900'>
<section
className='relative isolate mx-auto w-full max-w-7xl overflow-hidden bg-slate-800 lg:h-[450px]'
style={{ borderRadius: '100px 30px 30px 30px' }}
@@ -34,7 +34,7 @@ export const DitchGoogle = ({ screenshot: { light, dark }, theme }: DitchGoogleP
</div>
<div className='flex flex-col items-start justify-between pt-8 pl-8 sm:pl-14 md:flex-row lg:pl-28'>
<div className='mb-16 w-full max-w-[520px] pt-14 pr-3 md:mb-0'>
- <h2 className='mb-3 text-2xl leading-9 font-bold text-white sm:text-4xl sm:leading-[48px] md:text-[28px] md:leading-10 lg:text-[33px] lg:leading-[48px]'>
+ <h2 className='mb-3 text-2xl leading-9 font-bold text-white sm:text-4xl sm:leading-[48px] md:text-[32px] md:leading-10 lg:text-[36px] lg:leading-[48px]'>
<Trans
t={t}
i18nKey='main.timeToDitchGoogleAnalytics'
@@ -43,10 +43,10 @@ export const DitchGoogle = ({ screenshot: { light, dark }, theme }: DitchGoogleP
}}
/>
</h2>
- <p className='mb-9 text-base font-medium text-gray-300 sm:text-lg'>{t('main.whyDitch')}</p>
+ <p className='mb-9 font-mono text-base font-medium text-gray-300 lg:text-lg'>{t('main.whyDitch')}</p>
<Link
to={routes.signup}
- className='group flex h-[50px] w-full max-w-[210px] items-center justify-center rounded-md border border-transparent bg-indigo-600 text-white shadow-xs transition-all !duration-300 hover:bg-indigo-700 sm:mr-6'
+ className='group flex h-[50px] w-full max-w-[210px] items-center justify-center rounded-md border border-transparent bg-indigo-600 font-mono text-white shadow-xs transition-all !duration-300 hover:bg-indigo-700 sm:mr-6'
aria-label={t('titles.signup')}
>
<span className='mr-1 text-base font-semibold'>{t('main.start')}</span>
diff --git a/web/app/components/marketing/LogoTimeline.tsx b/web/app/components/marketing/LogoTimeline.tsx
index 27c169e2b..f54485400 100644
--- a/web/app/components/marketing/LogoTimeline.tsx
+++ b/web/app/components/marketing/LogoTimeline.tsx
@@ -30,7 +30,7 @@ const Logo = ({ label, icon, className }: { label: string; icon: React.ReactNode
<div
className={clsx(
className,
- 'absolute top-2 grid grid-cols-[1rem,1fr] items-center gap-2 px-3 py-1 whitespace-nowrap',
+ 'absolute top-2 flex items-center gap-2 px-3 py-1 whitespace-nowrap',
'rounded-full bg-gradient-to-t from-gray-800 from-50% to-gray-700 ring-1 ring-white/10 ring-inset',
'[--move-x-from:-100%] [--move-x-to:calc(100%+100cqw)] [animation-iteration-count:infinite] [animation-name:move-x] [animation-play-state:paused] [animation-timing-function:linear] group-hover:[animation-play-state:running]',
)}
diff --git a/web/app/components/marketing/Pricing.tsx b/web/app/components/marketing/Pricing.tsx
index 7f20b8d98..a59b2c240 100644
--- a/web/app/components/marketing/Pricing.tsx
+++ b/web/app/components/marketing/Pricing.tsx
@@ -254,7 +254,7 @@ const Pricing = ({ authenticated, isBillingPage }: PricingProps) => {
return (
<>
- <div id='pricing' className={cx({ 'bg-white dark:bg-slate-900/75': !authenticated })}>
+ <div id='pricing' className={cx('font-mono', { 'bg-white dark:bg-slate-900/75': !authenticated })}>
<div
className={cx('max-w-max whitespace-pre-line', {
'px-4 py-24 sm:px-6 lg:px-8': !authenticated,
@@ -264,10 +264,10 @@ const Pricing = ({ authenticated, isBillingPage }: PricingProps) => {
<div className='sm:align-center sm:flex sm:flex-col'>
{!authenticated && (
<>
- <h2 className='text-3xl font-extrabold text-gray-900 sm:text-center dark:text-gray-50'>
+ <h2 className='font-sans text-4xl font-extrabold text-gray-900 sm:text-center dark:text-gray-50'>
{t('pricing.title')}
</h2>
- <p className='my-5 max-w-prose text-xl leading-relaxed text-slate-900 sm:text-center dark:text-slate-300'>
+ <p className='my-5 text-lg leading-relaxed text-slate-900 sm:text-center dark:text-slate-300'>
{t('pricing.adv', {
amount: TRIAL_DAYS,
})}
diff --git a/web/app/pages/About/index.tsx b/web/app/pages/About/index.tsx
index 9aa4693ed..e67b20c67 100644
--- a/web/app/pages/About/index.tsx
+++ b/web/app/pages/About/index.tsx
@@ -54,7 +54,7 @@ const Teammate = ({ photo, name, role, socials, desc }: TeammateProps) => (
style={{ aspectRatio: '1 / 1' }}
/>
</div>
- <div className='mt-5 mb-4 text-center md:mt-0 md:mb-0 md:w-3/5 md:text-start'>
+ <div className='mt-5 mb-4 text-center font-mono md:mt-0 md:mb-0 md:w-3/5 md:text-start'>
<p className='mt-2 text-3xl font-bold tracking-tight text-gray-900 lg:mt-0 dark:text-gray-50'>{name}</p>
<p className='text-xl tracking-tight text-gray-900 dark:text-gray-50'>{role}</p>
<div className='mt-2 flex justify-center space-x-4 md:justify-start'>
@@ -110,16 +110,6 @@ const team = [
Github: 'https://github.com/kruzhambus',
},
},
- {
- name: 'Yevhenii Kulisidi',
- role: 'Lead Backend Developer.',
- photo: '/assets/team/yevhenii.png',
- desc: 'I am a backend engineer specialising in Node.js and TypeScript. I mainly work on the Swetrix API, focusing on its scalability, efficiency and integration.',
- socials: {
- LinkedIn: 'https://www.linkedin.com/in/kulisidi/',
- Github: 'https://github.com/yevheniikulisidi',
- },
- },
] as const
const About = () => (
@@ -161,7 +151,7 @@ const About = () => (
</div>
<hr className='mt-10 border-gray-200 dark:border-gray-600' />
- <p className='mt-2 text-lg tracking-tight text-gray-900 dark:text-gray-50'>
+ <p className='mt-2 font-mono text-lg tracking-tight text-gray-900 dark:text-gray-50'>
If you have read this far, why not&nbsp;
<a
href={`mailto:${CONTACT_EMAIL}`}
diff --git a/web/app/pages/Auth/ChangeEmail/index.tsx b/web/app/pages/Auth/ChangeEmail/index.tsx
index 0fc68d910..7f99bddd2 100644
--- a/web/app/pages/Auth/ChangeEmail/index.tsx
+++ b/web/app/pages/Auth/ChangeEmail/index.tsx
@@ -53,7 +53,7 @@ const ChangeEmail = () => {
{error}
</h1>
</div>
- <div className='mt-8 flex space-x-3 sm:border-l sm:border-transparent sm:pl-6'>
+ <div className='mt-8 flex space-x-3 font-mono sm:border-l sm:border-transparent sm:pl-6'>
<Link
to={routes.dashboard}
className='inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white shadow-xs hover:bg-indigo-700 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 focus:outline-hidden'
@@ -85,7 +85,7 @@ const ChangeEmail = () => {
{t('auth.verification.success')}
</h1>
</div>
- <div className='mt-8 flex space-x-3 sm:border-l sm:border-transparent sm:pl-6'>
+ <div className='mt-8 flex space-x-3 font-mono sm:border-l sm:border-transparent sm:pl-6'>
<Link
to={routes.dashboard}
className='inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white shadow-xs hover:bg-indigo-700 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 focus:outline-hidden'
diff --git a/web/app/pages/Auth/CheckYourInbox/CheckYourInbox.tsx b/web/app/pages/Auth/CheckYourInbox/CheckYourInbox.tsx
index 206ec01e5..d4493224f 100644
--- a/web/app/pages/Auth/CheckYourInbox/CheckYourInbox.tsx
+++ b/web/app/pages/Auth/CheckYourInbox/CheckYourInbox.tsx
@@ -50,13 +50,13 @@ const CheckYourInbox = () => {
<h1 className='text-4xl font-extrabold tracking-tight text-gray-900 sm:text-5xl dark:text-gray-50'>
{t('auth.confirm.title')}
</h1>
- <p className='mt-1 max-w-prose text-base whitespace-pre-line text-gray-700 dark:text-gray-300'>
+ <p className='mt-1 max-w-prose font-mono text-base whitespace-pre-line text-gray-700 dark:text-gray-300'>
{message}
</p>
- <p className='mt-4 max-w-prose text-sm whitespace-pre-line text-gray-700 dark:text-gray-300'>
+ <p className='mt-4 max-w-prose font-mono text-sm whitespace-pre-line text-gray-700 dark:text-gray-300'>
{t('auth.confirm.spam')}
</p>
- <p className='max-w-prose text-sm whitespace-pre-line text-gray-700 dark:text-gray-300'>
+ <p className='max-w-prose font-mono text-sm whitespace-pre-line text-gray-700 dark:text-gray-300'>
<Trans
t={t}
i18nKey='auth.confirm.wrongEmail'
diff --git a/web/app/pages/Auth/CreateNewPassword/CreateNewPassword.tsx b/web/app/pages/Auth/CreateNewPassword/CreateNewPassword.tsx
index 246c820e2..b55ba5ace 100644
--- a/web/app/pages/Auth/CreateNewPassword/CreateNewPassword.tsx
+++ b/web/app/pages/Auth/CreateNewPassword/CreateNewPassword.tsx
@@ -106,7 +106,7 @@ const CreateNewPassword = () => {
{t('auth.recovery.title')}
</h2>
</div>
- <div className='mt-10 sm:mx-auto sm:w-full sm:max-w-[480px]'>
+ <div className='mt-10 font-mono sm:mx-auto sm:w-full sm:max-w-[480px]'>
<div className='bg-white px-6 py-12 shadow-sm sm:rounded-lg sm:px-12 dark:bg-slate-800/20 dark:ring-1 dark:ring-slate-800'>
<form className='space-y-6' onSubmit={handleSubmit}>
<Input
diff --git a/web/app/pages/Auth/ForgotPassword/ForgotPassword.tsx b/web/app/pages/Auth/ForgotPassword/ForgotPassword.tsx
index 98e0d9a96..88c6345a1 100644
--- a/web/app/pages/Auth/ForgotPassword/ForgotPassword.tsx
+++ b/web/app/pages/Auth/ForgotPassword/ForgotPassword.tsx
@@ -91,7 +91,7 @@ const ForgotPassword = () => {
{t('titles.recovery')}
</h2>
</div>
- <div className='mt-10 sm:mx-auto sm:w-full sm:max-w-[480px]'>
+ <div className='mt-10 font-mono sm:mx-auto sm:w-full sm:max-w-[480px]'>
<div className='bg-white px-6 py-12 shadow-sm sm:rounded-lg sm:px-12 dark:bg-slate-800/20 dark:ring-1 dark:ring-slate-800'>
<form className='space-y-6' onSubmit={handleSubmit}>
<Input
diff --git a/web/app/pages/Auth/Signin/Signin.tsx b/web/app/pages/Auth/Signin/Signin.tsx
index 913ba9920..fd2d6573f 100644
--- a/web/app/pages/Auth/Signin/Signin.tsx
+++ b/web/app/pages/Auth/Signin/Signin.tsx
@@ -264,7 +264,7 @@ const Signin = ({ ssrTheme }: SigninProps) => {
<div className='min-h-page flex flex-col bg-gray-50 px-4 py-6 sm:px-6 lg:px-8 dark:bg-slate-900'>
<form className='mx-auto max-w-prose' onSubmit={_submit2FA}>
<h2 className='mt-2 text-3xl font-bold text-gray-900 dark:text-gray-50'>{t('auth.signin.2fa')}</h2>
- <p className='mt-4 text-base whitespace-pre-line text-gray-900 dark:text-gray-50'>
+ <p className='mt-4 font-mono text-base whitespace-pre-line text-gray-900 dark:text-gray-50'>
{t('auth.signin.2faDesc')}
</p>
<Input
@@ -277,7 +277,7 @@ const Signin = ({ ssrTheme }: SigninProps) => {
error={twoFACodeError}
/>
<div className='mt-3 flex justify-between'>
- <div className='text-sm whitespace-pre-line text-gray-600 dark:text-gray-400'>
+ <div className='font-mono text-sm whitespace-pre-line text-gray-600 dark:text-gray-400'>
{!isSelfhosted && (
<Trans
t={t}
@@ -307,7 +307,7 @@ const Signin = ({ ssrTheme }: SigninProps) => {
{t('auth.signin.title')}
</h2>
</div>
- <div className='mt-10 sm:mx-auto sm:w-full sm:max-w-[480px]'>
+ <div className='mt-10 font-mono sm:mx-auto sm:w-full sm:max-w-[480px]'>
<div className='bg-white px-6 py-12 shadow-sm sm:rounded-lg sm:px-12 dark:bg-slate-800/20 dark:ring-1 dark:ring-slate-800'>
<form className='space-y-6' onSubmit={handleSubmit}>
<Input
diff --git a/web/app/pages/Auth/Signup/Signup.tsx b/web/app/pages/Auth/Signup/Signup.tsx
index 443f1770a..b500e105a 100644
--- a/web/app/pages/Auth/Signup/Signup.tsx
+++ b/web/app/pages/Auth/Signup/Signup.tsx
@@ -252,9 +252,9 @@ const Signup = ({ ssrTheme }: SignupProps) => {
amount: TRIAL_DAYS,
})}
</h2>
- <p className='text-center text-base text-gray-900 dark:text-gray-50'>{t('auth.signup.noCC')}</p>
+ <p className='text-center font-mono text-base text-gray-900 dark:text-gray-50'>{t('auth.signup.noCC')}</p>
</div>
- <div className='mt-10 sm:mx-auto sm:w-full sm:max-w-[480px]'>
+ <div className='mt-10 font-mono sm:mx-auto sm:w-full sm:max-w-[480px]'>
<div className='bg-white px-6 py-12 shadow-sm sm:rounded-lg sm:px-12 dark:bg-slate-800/20 dark:ring-1 dark:ring-slate-800'>
<form className='space-y-6' onSubmit={handleSubmit}>
<Input
diff --git a/web/app/pages/Auth/Socialised/index.tsx b/web/app/pages/Auth/Socialised/index.tsx
index f620a8fa0..c13ccc933 100644
--- a/web/app/pages/Auth/Socialised/index.tsx
+++ b/web/app/pages/Auth/Socialised/index.tsx
@@ -79,11 +79,11 @@ const Socialised = () => {
<h1 className='text-4xl font-extrabold tracking-tight text-gray-900 sm:text-5xl dark:text-gray-50'>
{t('auth.socialisation.failed')}
</h1>
- <p className='mt-1 max-w-prose text-base whitespace-pre-line text-gray-700 dark:text-gray-300'>
+ <p className='mt-1 max-w-prose font-mono text-base whitespace-pre-line text-gray-700 dark:text-gray-300'>
{t('auth.socialisation.failedDesc')}
</p>
</div>
- <div className='mt-8 flex space-x-3 sm:border-l sm:border-transparent sm:pl-6'>
+ <div className='mt-8 flex space-x-3 font-mono sm:border-l sm:border-transparent sm:pl-6'>
<Link
to={routes.contact}
className='inline-flex items-center rounded-md border border-transparent bg-indigo-100 px-4 py-2 text-sm font-medium text-indigo-700 hover:bg-indigo-200 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 focus:outline-hidden dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700 dark:focus:ring-gray-50'
@@ -108,7 +108,7 @@ const Socialised = () => {
<h1 className='text-4xl font-extrabold tracking-tight text-gray-900 sm:text-5xl dark:text-gray-50'>
{t('auth.socialisation.authSuccess')}
</h1>
- <p className='mt-1 max-w-prose text-base whitespace-pre-line text-gray-700 dark:text-gray-300'>
+ <p className='mt-1 max-w-prose font-mono text-base whitespace-pre-line text-gray-700 dark:text-gray-300'>
{t('auth.socialisation.successDesc')}
</p>
</div>
diff --git a/web/app/pages/Auth/VerifyEmail/index.tsx b/web/app/pages/Auth/VerifyEmail/index.tsx
index 8760fd2bc..023baea48 100644
--- a/web/app/pages/Auth/VerifyEmail/index.tsx
+++ b/web/app/pages/Auth/VerifyEmail/index.tsx
@@ -61,7 +61,7 @@ const VerifyEmail = () => {
{error}
</h1>
</div>
- <div className='mt-8 flex space-x-3 sm:border-l sm:border-transparent sm:pl-6'>
+ <div className='mt-8 flex space-x-3 font-mono sm:border-l sm:border-transparent sm:pl-6'>
<Link
to={routes.dashboard}
className='inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white shadow-xs hover:bg-indigo-700 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 focus:outline-hidden'
@@ -93,7 +93,7 @@ const VerifyEmail = () => {
{t('auth.verification.success')}
</h1>
</div>
- <div className='mt-8 flex space-x-3 sm:border-l sm:border-transparent sm:pl-6'>
+ <div className='mt-8 flex space-x-3 font-mono sm:border-l sm:border-transparent sm:pl-6'>
<Link
to={routes.dashboard}
className='inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white shadow-xs hover:bg-indigo-700 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 focus:outline-hidden'
diff --git a/web/app/pages/Billing/index.tsx b/web/app/pages/Billing/index.tsx
index 8db2aff54..5c4de5d18 100644
--- a/web/app/pages/Billing/index.tsx
+++ b/web/app/pages/Billing/index.tsx
@@ -227,19 +227,19 @@ const Billing = ({ ssrAuthenticated, ssrTheme }: BillingProps) => {
<h1 className='text-4xl font-extrabold tracking-tight text-gray-900 dark:text-gray-50'>{t('billing.title')}</h1>
</div>
- <div className='mx-auto mt-5 grid w-11/12 gap-8 px-4 pb-16 whitespace-pre-line sm:px-6 md:w-5/6 lg:grid-cols-2'>
+ <div className='mx-auto mt-5 grid w-11/12 gap-x-10 gap-y-8 px-4 pb-16 whitespace-pre-line sm:px-6 md:w-5/6 lg:grid-cols-2'>
<div>
<h2 id='billing' className='mb-2 text-2xl font-medium tracking-tight text-gray-900 dark:text-gray-50'>
{t('billing.subscription')}
</h2>
- <p className='mt-1 text-base tracking-tight text-gray-900 dark:text-gray-50'>
+ <p className='mt-1 font-mono text-base tracking-tight text-gray-900 dark:text-gray-50'>
{isSubscriber ? t('billing.selectPlan') : t('billing.changePlan')}
</p>
- <p className='max-w-prose text-base tracking-tight text-gray-900 dark:text-gray-50'>
+ <p className='max-w-prose font-mono text-base tracking-tight text-gray-900 dark:text-gray-50'>
{t('billing.membersNotification')}
</p>
{isSubscriber && nextBillDate && (
- <div className='mt-5 max-w-prose rounded-md bg-blue-50 p-4 dark:bg-blue-600/30'>
+ <div className='mt-5 max-w-prose rounded-md bg-blue-50 p-4 font-mono dark:bg-blue-600/30'>
<div className='flex'>
<div className='shrink-0'>
<InformationCircleIcon aria-hidden='true' className='h-5 w-5 text-blue-400 dark:text-blue-100' />
@@ -256,7 +256,7 @@ const Billing = ({ ssrAuthenticated, ssrTheme }: BillingProps) => {
</div>
)}
{cancellationEffectiveDate && (
- <div className='mt-5 max-w-prose rounded-md bg-blue-50 p-4 dark:bg-blue-600/30'>
+ <div className='mt-5 max-w-prose rounded-md bg-blue-50 p-4 font-mono dark:bg-blue-600/30'>
<div className='flex'>
<div className='shrink-0'>
<InformationCircleIcon aria-hidden='true' className='h-5 w-5 text-blue-400 dark:text-blue-100' />
@@ -278,7 +278,7 @@ const Billing = ({ ssrAuthenticated, ssrTheme }: BillingProps) => {
</div>
)}
{isTrial && trialMessage && (
- <div className='mt-5 max-w-prose rounded-md bg-blue-50 p-4 dark:bg-blue-600/30'>
+ <div className='mt-5 max-w-prose rounded-md bg-blue-50 p-4 font-mono dark:bg-blue-600/30'>
<div className='flex'>
<div className='shrink-0'>
<InformationCircleIcon aria-hidden='true' className='h-5 w-5 text-blue-400 dark:text-blue-100' />
@@ -288,7 +288,7 @@ const Billing = ({ ssrAuthenticated, ssrTheme }: BillingProps) => {
</div>
)}
{isNoSub && (
- <div className='mt-5 max-w-prose rounded-md bg-red-50 p-4 dark:bg-red-600/30'>
+ <div className='mt-5 max-w-prose rounded-md bg-red-50 p-4 font-mono dark:bg-red-600/30'>
<div className='flex'>
<div className='shrink-0'>
<ExclamationTriangleIcon aria-hidden='true' className='h-5 w-5 text-red-400 dark:text-red-100' />
@@ -330,14 +330,14 @@ const Billing = ({ ssrAuthenticated, ssrTheme }: BillingProps) => {
<h2 id='usage' className='text-2xl font-medium tracking-tight text-gray-900 dark:text-gray-50'>
{t('billing.planUsage')}
</h2>
- <p className='mt-1 max-w-prose text-base tracking-tight text-gray-900 dark:text-gray-50'>
+ <p className='mt-1 max-w-prose font-mono text-base tracking-tight text-gray-900 dark:text-gray-50'>
{t('billing.planUsageDesc')}
</p>
{isLoading ? (
<Loader />
) : (
- <div className='mt-2 text-lg tracking-tight text-gray-900 dark:text-gray-50'>
+ <div className='mt-2 font-mono text-lg tracking-tight text-gray-900 dark:text-gray-50'>
<p className='mb-1 text-base font-medium tracking-tight text-gray-900 dark:text-gray-50'>
{t('billing.xofy', {
x: usageInfo.total || 0,
diff --git a/web/app/pages/Blog/Post.tsx b/web/app/pages/Blog/Post.tsx
index 1af4865ed..0480e8ef1 100644
--- a/web/app/pages/Blog/Post.tsx
+++ b/web/app/pages/Blog/Post.tsx
@@ -2,6 +2,7 @@ import React, { useEffect } from 'react'
import { Link, useLoaderData, useLocation } from '@remix-run/react'
import NotFound from '~/pages/NotFound'
import { trackPageview } from '~/utils/analytics'
+import { useTranslation } from 'react-i18next'
interface Post {
slug: string
@@ -17,6 +18,7 @@ interface Post {
export default function PostSlug() {
const location = useLocation()
const post = useLoaderData() as Post
+ const { t } = useTranslation('common')
useEffect(() => {
const meta = post.author
@@ -41,44 +43,40 @@ export default function PostSlug() {
<div className='bg-gray-50 text-gray-700 dark:bg-slate-900 dark:text-gray-300'>
<div className='mx-auto max-w-[52rem] px-4 pb-28 sm:px-6 md:px-8 lg:max-w-6xl xl:px-12'>
<div className='overflow-hidden'>
- <div className='max-w-8xl mx-auto'>
- <div className='flex px-4 pt-8 pb-10 lg:px-8'>
- <Link
- to='/blog'
- className='group flex text-sm leading-6 font-semibold text-slate-700 hover:text-slate-900 dark:text-slate-200 dark:hover:text-white'
- >
- <svg
- viewBox='0 -9 3 24'
- className='mr-3 h-6 w-auto overflow-visible text-slate-400 group-hover:text-slate-600 dark:group-hover:text-slate-300'
- >
- <path
- d='M3 0L0 3L3 6'
- fill='none'
- stroke='currentColor'
- strokeWidth='2'
- strokeLinecap='round'
- strokeLinejoin='round'
- />
- </svg>
- Go back
- </Link>
- </div>
- </div>
<div className='px-4 sm:px-6 md:px-8'>
<div className='mx-auto max-w-3xl pb-28'>
<main className='bg-gray-50 dark:bg-slate-900'>
- <article className='relative pt-10'>
- <h1 className='text-2xl font-extrabold tracking-tight text-slate-900 md:text-3xl dark:text-slate-200'>
- {post.title}
- </h1>
- <div className='text-sm leading-6'>
+ <Link
+ to='/blog'
+ className='group mt-10 mb-6 flex font-mono text-sm leading-6 font-semibold text-slate-700 uppercase hover:text-slate-900 dark:text-slate-200 dark:hover:text-white'
+ >
+ <svg
+ viewBox='0 -9 3 24'
+ className='mr-3 h-6 w-auto overflow-visible text-slate-400 group-hover:text-slate-600 dark:group-hover:text-slate-300'
+ >
+ <path
+ d='M3 0L0 3L3 6'
+ fill='none'
+ stroke='currentColor'
+ strokeWidth='2'
+ strokeLinecap='round'
+ strokeLinejoin='round'
+ />
+ </svg>
+ {t('common.goBack')}
+ </Link>
+ <article className='relative'>
+ <div className='mb-2 font-mono text-sm leading-6 uppercase'>
<dl>
<dt className='sr-only'>Date</dt>
- <dd className='absolute inset-x-0 top-0 text-slate-700 dark:text-slate-400'>
+ <dd className='text-slate-700 dark:text-slate-400'>
<time dateTime={post.date}>{post.date}</time>
</dd>
</dl>
</div>
+ <h1 className='text-2xl font-extrabold tracking-tight text-slate-900 md:text-3xl dark:text-slate-200'>
+ {post.title}
+ </h1>
<div className='mt-6'>
<ul className='-mx-5 -mt-6 flex flex-wrap text-sm leading-6'>
<li className='mt-6 flex items-center px-5 font-medium whitespace-nowrap'>
diff --git a/web/app/pages/Captcha/Settings/CaptchaSettings.tsx b/web/app/pages/Captcha/Settings/CaptchaSettings.tsx
index 51697e563..7360618b5 100644
--- a/web/app/pages/Captcha/Settings/CaptchaSettings.tsx
+++ b/web/app/pages/Captcha/Settings/CaptchaSettings.tsx
@@ -458,7 +458,7 @@ const CaptchaSettings = ({ isSettings }: CaptchaSettingsProps) => {
<hr className='mt-2 border-gray-200 sm:mt-5 dark:border-gray-600' />
</>
) : (
- <p className='mt-1 mb-4 text-sm text-gray-500 italic dark:text-gray-300'>
+ <p className='mt-1 mb-4 font-mono text-sm text-gray-500 italic dark:text-gray-300'>
{t('project.settings.createHint')}
</p>
)}
diff --git a/web/app/pages/Changelog/index.tsx b/web/app/pages/Changelog/index.tsx
index 5d9c1beae..b61738e96 100644
--- a/web/app/pages/Changelog/index.tsx
+++ b/web/app/pages/Changelog/index.tsx
@@ -459,7 +459,7 @@ const Changelog = () => {
</li>
))}
</ul>
- <dl className='absolute top-0 left-1.5 lg:right-full lg:left-auto lg:mr-[calc(5rem+1px)]'>
+ <dl className='absolute top-0 left-1.5 font-mono uppercase lg:right-full lg:left-auto lg:mr-[calc(5rem+1px)]'>
<dt className='sr-only'>Date</dt>
<dd className='text-sm leading-6 whitespace-nowrap text-slate-700 dark:text-slate-300'>
<time dateTime={date}>{displayDate}</time>
diff --git a/web/app/pages/Contact/index.tsx b/web/app/pages/Contact/index.tsx
index c445fbf92..3be097e6a 100644
--- a/web/app/pages/Contact/index.tsx
+++ b/web/app/pages/Contact/index.tsx
@@ -23,7 +23,7 @@ const Panel = ({ href, title, description }: PanelProps) => (
strokeWidth={1.5}
/>
<h3 className='text-lg leading-7 font-semibold text-gray-900 dark:text-gray-100'>{title}</h3>
- <p className='mt-3 text-sm leading-6 text-gray-600 dark:text-gray-200'>{description}</p>
+ <p className='mt-3 font-mono text-sm leading-6 text-gray-600 dark:text-gray-200'>{description}</p>
</a>
)
@@ -34,7 +34,7 @@ const Contact = () => {
<div className='min-h-min-footer bg-gray-50 dark:bg-slate-900'>
<div className='mx-auto w-11/12 px-4 pt-12 pb-16 whitespace-pre-line sm:px-6 md:w-4/5 lg:px-8'>
<h1 className='text-4xl font-bold tracking-tight text-gray-900 dark:text-gray-50'>{t('titles.contact')}</h1>
- <div className='mt-2 text-lg tracking-tight text-gray-900 dark:text-gray-50'>
+ <div className='mt-2 font-mono text-lg tracking-tight text-gray-900 dark:text-gray-50'>
<Trans
t={t}
i18nKey='contact.description'
diff --git a/web/app/pages/Dashboard/AddProject.tsx b/web/app/pages/Dashboard/AddProject.tsx
index 522f426fe..7af7ce508 100644
--- a/web/app/pages/Dashboard/AddProject.tsx
+++ b/web/app/pages/Dashboard/AddProject.tsx
@@ -28,7 +28,7 @@ export const AddProject = ({ onClick, sitesCount, viewMode }: AddProjectProps) =
}),
)}
>
- <div className={cx('flex items-center', viewMode === 'list' && 'gap-2')}>
+ <div className={cx('flex items-center font-mono', viewMode === 'list' && 'gap-2')}>
<FolderPlusIcon className='h-12 w-12 text-gray-400 group-hover:text-gray-500 dark:text-gray-200 group-hover:dark:text-gray-400' />
<span className='mt-2 block text-sm font-semibold text-gray-900 dark:text-gray-50 group-hover:dark:text-gray-400'>
{t('dashboard.newProject')}
diff --git a/web/app/pages/Dashboard/Dashboard.tsx b/web/app/pages/Dashboard/Dashboard.tsx
index 24587b1fc..15312855d 100644
--- a/web/app/pages/Dashboard/Dashboard.tsx
+++ b/web/app/pages/Dashboard/Dashboard.tsx
@@ -254,11 +254,11 @@ const Dashboard = () => {
<h1 className='text-4xl font-extrabold tracking-tight text-gray-900 sm:text-5xl dark:text-gray-50'>
{t('apiNotifications.somethingWentWrong')}
</h1>
- <p className='mt-4 text-2xl font-medium tracking-tight text-gray-700 dark:text-gray-200'>
+ <p className='mt-4 font-mono text-2xl font-medium tracking-tight text-gray-700 dark:text-gray-200'>
{t('apiNotifications.errorCode', { error })}
</p>
</div>
- <div className='mt-8 flex space-x-3 sm:border-l sm:border-transparent sm:pl-6'>
+ <div className='mt-8 flex space-x-3 font-mono sm:border-l sm:border-transparent sm:pl-6'>
<button
type='button'
onClick={() => window.location.reload()}
@@ -316,7 +316,7 @@ const Dashboard = () => {
)}
</h2>
{isSearchActive && (
- <div className='hidden w-full max-w-md items-center px-2 pb-1 sm:ml-5 sm:flex'>
+ <div className='hidden w-full max-w-md items-center px-2 pb-1 font-mono sm:ml-5 sm:flex'>
<label htmlFor='simple-search' className='sr-only'>
Search
</label>
@@ -387,7 +387,7 @@ const Dashboard = () => {
<Link
to={routes.new_project}
onClick={onNewProject}
- className='inline-flex cursor-pointer items-center justify-center rounded-md border border-transparent bg-slate-900 px-3 py-2 !pl-2 text-center text-sm leading-4 font-medium text-white shadow-xs hover:bg-slate-700 focus:ring-2 focus:ring-slate-500 focus:ring-offset-2 focus:outline-hidden dark:border-gray-800 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700'
+ className='inline-flex cursor-pointer items-center justify-center rounded-md border border-transparent bg-slate-900 px-3 py-2 !pl-2 text-center font-mono text-sm leading-4 font-medium text-white shadow-xs hover:bg-slate-700 focus:ring-2 focus:ring-slate-500 focus:ring-offset-2 focus:outline-hidden dark:border-gray-800 dark:bg-slate-800 dark:text-gray-50 dark:hover:bg-slate-700'
>
<FolderPlusIcon className='mr-1 h-5 w-5' />
{t('dashboard.newProject')}
diff --git a/web/app/pages/Dashboard/PeriodSelector.tsx b/web/app/pages/Dashboard/PeriodSelector.tsx
index f76143f9f..0e240a377 100644
--- a/web/app/pages/Dashboard/PeriodSelector.tsx
+++ b/web/app/pages/Dashboard/PeriodSelector.tsx
@@ -59,7 +59,7 @@ export const PeriodSelector = ({ activePeriod, setActivePeriod, isLoading }: Per
<Popover className='relative'>
{({ open }) => (
<>
- <PopoverButton className='group inline-flex w-full px-2.5 py-2 text-sm font-medium text-gray-700 outline-hidden md:px-4 dark:text-gray-50'>
+ <PopoverButton className='group inline-flex w-full px-2.5 py-2 font-mono text-sm font-medium text-gray-700 outline-hidden md:px-4 dark:text-gray-50'>
<CalendarIcon className='mr-1 h-5 w-5' strokeWidth={1.5} />
<span>{period}</span>
<ChevronDownIcon
@@ -82,7 +82,7 @@ export const PeriodSelector = ({ activePeriod, setActivePeriod, isLoading }: Per
leaveTo='opacity-0 translate-y-1'
>
{/* w-56 */}
- <PopoverPanel className='absolute right-0 left-1/2 z-20 mt-3 w-max max-w-sm -translate-x-1/2 transform px-4 sm:px-0 md:left-auto md:transform-none lg:max-w-3xl'>
+ <PopoverPanel className='absolute right-2.5 z-20 mt-3 w-max max-w-sm transform px-4 font-mono sm:px-0 md:left-auto md:transform-none lg:max-w-3xl'>
<div className='overflow-hidden rounded-lg bg-gray-50 p-1 ring-1 shadow-lg ring-black/5 dark:bg-slate-800'>
<ul className='w-full text-left'>
{_map(periods, (item) => (
diff --git a/web/app/pages/Dashboard/ProjectCard.tsx b/web/app/pages/Dashboard/ProjectCard.tsx
index 5267e5b13..7cab0c21e 100644
--- a/web/app/pages/Dashboard/ProjectCard.tsx
+++ b/web/app/pages/Dashboard/ProjectCard.tsx
@@ -48,7 +48,7 @@ const MiniCard = ({ labelTKey, total, percChange }: MiniCardProps) => {
const statsDidGrowUp = percChange ? percChange >= 0 : false
return (
- <div>
+ <div className='font-mono'>
<p className='text-sm text-gray-500 dark:text-gray-300'>{t(labelTKey)}</p>
<div className='flex font-bold'>
@@ -214,7 +214,7 @@ export const ProjectCard = ({ live, project, overallStats, activePeriod, activeT
>
<div className={cx('flex flex-col', viewMode === 'list' ? 'flex-1' : 'px-4 py-4')}>
<div className={cx('flex items-center', viewMode === 'grid' ? 'justify-between' : 'justify-start gap-1')}>
- <p className='truncate text-lg font-semibold text-slate-900 dark:text-gray-50'>{name}</p>
+ <p className='truncate font-mono text-lg font-semibold text-slate-900 dark:text-gray-50'>{name}</p>
{role !== 'viewer' && (
<Link onClick={(e) => e.stopPropagation()} to={_replace(routes.project_settings, ':id', id)}>
diff --git a/web/app/pages/Dashboard/SortSelector.tsx b/web/app/pages/Dashboard/SortSelector.tsx
index 5f400c598..bf2a09e0b 100644
--- a/web/app/pages/Dashboard/SortSelector.tsx
+++ b/web/app/pages/Dashboard/SortSelector.tsx
@@ -100,7 +100,7 @@ export const SortSelector = ({ activeSort, setActiveSort, isLoading, activeTab }
<Popover className='relative'>
{({ open }) => (
<>
- <PopoverButton className='group inline-flex w-full px-2.5 py-2 text-sm font-medium text-gray-700 outline-hidden md:px-4 dark:text-gray-50'>
+ <PopoverButton className='group inline-flex w-full px-2.5 py-2 font-mono text-sm font-medium text-gray-700 outline-hidden md:px-4 dark:text-gray-50'>
<ArrowUpDown className='mr-1 h-5 w-5' strokeWidth={1.5} />
<span>{sortLabel}</span>
<ChevronDownIcon
@@ -122,7 +122,7 @@ export const SortSelector = ({ activeSort, setActiveSort, isLoading, activeTab }
leaveFrom='opacity-100 translate-y-0'
leaveTo='opacity-0 translate-y-1'
>
- <PopoverPanel className='absolute right-0 left-1/2 z-20 mt-3 w-max max-w-sm -translate-x-1/2 transform px-4 sm:px-0 md:left-auto md:transform-none lg:max-w-3xl'>
+ <PopoverPanel className='absolute right-2.5 z-20 mt-3 w-max max-w-sm transform px-4 font-mono sm:px-0 md:left-auto md:transform-none lg:max-w-3xl'>
<div className='overflow-hidden rounded-lg bg-gray-50 p-1 ring-1 shadow-lg ring-black/5 dark:bg-slate-800'>
<ul className='w-full text-left'>
{_map(sortOptions, (item) => (
diff --git a/web/app/pages/Dashboard/Tabs.tsx b/web/app/pages/Dashboard/Tabs.tsx
index ea378744d..7e812a31b 100644
--- a/web/app/pages/Dashboard/Tabs.tsx
+++ b/web/app/pages/Dashboard/Tabs.tsx
@@ -39,7 +39,7 @@ interface TabsProps {
}
export const Tabs = ({ activeTab, setActiveTab, className, isLoading }: TabsProps) => (
- <nav className={cx('-mb-px flex space-x-4 overflow-x-auto', className)} aria-label='Tabs'>
+ <nav className={cx('-mb-px flex space-x-4 overflow-x-auto font-mono', className)} aria-label='Tabs'>
{_map(DASHBOARD_TABS, (tab) => {
const isCurrent = tab.id === activeTab
diff --git a/web/app/pages/Imprint/index.tsx b/web/app/pages/Imprint/index.tsx
index 3379afdf0..6c919ede0 100644
--- a/web/app/pages/Imprint/index.tsx
+++ b/web/app/pages/Imprint/index.tsx
@@ -8,7 +8,7 @@ const Imprint = () => {
<div className='min-h-min-footer bg-gray-50 dark:bg-slate-900'>
<div className='mx-auto w-11/12 px-4 pt-12 pb-16 sm:px-6 md:w-4/5 lg:px-8'>
<h1 className='text-4xl font-bold tracking-tight text-gray-900 dark:text-gray-50'>Imprint</h1>
- <p className='mt-4 text-lg tracking-tight text-gray-900 dark:text-gray-50'>
+ <p className='mt-4 font-mono text-lg tracking-tight text-gray-900 dark:text-gray-50'>
Swetrix Ltd
<br />
International House, 38 Thistle Street, Edinburgh, United Kingdom, EH2 1EN
diff --git a/web/app/pages/NotFound/index.tsx b/web/app/pages/NotFound/index.tsx
index 7f7e2e38f..a99acda70 100644
--- a/web/app/pages/NotFound/index.tsx
+++ b/web/app/pages/NotFound/index.tsx
@@ -20,11 +20,11 @@ const NotFound = () => {
<h1 className='text-4xl font-extrabold tracking-tight text-gray-900 sm:text-5xl dark:text-gray-50'>
{t('notFoundPage.title')}
</h1>
- <p className='mt-1 text-base whitespace-pre-line text-gray-500 dark:text-gray-300'>
+ <p className='mt-1 font-mono text-base whitespace-pre-line text-gray-500 dark:text-gray-300'>
{t('notFoundPage.description')}
</p>
</div>
- <div className='mt-8 flex space-x-3 sm:border-l sm:border-transparent sm:pl-6'>
+ <div className='mt-8 flex space-x-3 font-mono sm:border-l sm:border-transparent sm:pl-6'>
<Link
to={routes.main}
className='inline-flex items-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white shadow-xs hover:bg-indigo-700 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 focus:outline-hidden'
diff --git a/web/app/pages/Press/index.tsx b/web/app/pages/Press/index.tsx
index 6cd7d6c68..2a63064c8 100644
--- a/web/app/pages/Press/index.tsx
+++ b/web/app/pages/Press/index.tsx
@@ -5,8 +5,8 @@ import { useTranslation, Trans } from 'react-i18next'
import routes from '~/utils/routes'
-const FONT_INTER_URL = 'https://rsms.me/inter/'
-const FONT_NAME = 'Inter'
+const FONT_URL = 'https://vercel.com/font/'
+const FONT_NAME = 'Geist'
interface LogoComponentProps {
description: string
@@ -97,8 +97,8 @@ const Press = () => {
components={{
url: (
<a
- aria-label='Inter font website (opens in a new tab)'
- href={FONT_INTER_URL}
+ aria-label='Font website (opens in a new tab)'
+ href={FONT_URL}
className='font-medium text-indigo-400 hover:text-indigo-500 hover:underline dark:text-indigo-400 dark:hover:text-indigo-500'
target='_blank'
rel='noopener noreferrer'
diff --git a/web/app/pages/Project/New/index.tsx b/web/app/pages/Project/New/index.tsx
index 70abc6ce9..35550686e 100644
--- a/web/app/pages/Project/New/index.tsx
+++ b/web/app/pages/Project/New/index.tsx
@@ -176,7 +176,9 @@ const NewProject = () => {
</div>
)}
- <p className='mt-1 mb-4 text-sm text-gray-500 italic dark:text-gray-300'>{t('project.settings.createHint')}</p>
+ <p className='mt-1 mb-4 font-mono text-sm text-gray-500 italic dark:text-gray-300'>
+ {t('project.settings.createHint')}
+ </p>
<div>
<Button
diff --git a/web/app/pages/Project/View/Panels.tsx b/web/app/pages/Project/View/Panels.tsx
index f5b8aa1fc..1c2de08d9 100644
--- a/web/app/pages/Project/View/Panels.tsx
+++ b/web/app/pages/Project/View/Panels.tsx
@@ -136,13 +136,8 @@ const PanelContainer = ({
)}
>
<div className='mb-2 flex items-center justify-between'>
- <h3 className='flex items-center text-lg leading-6 font-semibold text-gray-900 dark:text-gray-50'>
- {icon && (
- <>
- {icon}
- &nbsp;
- </>
- )}
+ <h3 className='flex items-center font-mono text-lg leading-6 font-semibold text-gray-900 dark:text-gray-50'>
+ {icon && <span className='mr-1'>{icon}</span>}
{name}
</h3>
<div className='flex'>
@@ -924,7 +919,7 @@ const CustomEvents = ({
</table>
{/* for pagination in tabs */}
{_size(keys) > ENTRIES_PER_CUSTOM_EVENTS_PANEL && (
- <div className='absolute bottom-0 w-[calc(100%-2rem)] sm:w-[calc(100%-3rem)]'>
+ <div className='absolute bottom-0 w-[calc(100%-2rem)] font-mono sm:w-[calc(100%-3rem)]'>
<div className='mb-2 flex justify-between select-none'>
<div>
<span className='text-xs font-light text-gray-500 lowercase dark:text-gray-200'>
@@ -1321,7 +1316,7 @@ const PageProperties = ({
</table>
{/* for pagination in tabs */}
{_size(keys) > ENTRIES_PER_CUSTOM_EVENTS_PANEL && (
- <div className='absolute bottom-0 w-[calc(100%-2rem)] sm:w-[calc(100%-3rem)]'>
+ <div className='absolute bottom-0 w-[calc(100%-2rem)] font-mono sm:w-[calc(100%-3rem)]'>
<div className='mb-2 flex justify-between select-none'>
<div>
<span className='text-xs font-light text-gray-500 lowercase dark:text-gray-200'>
@@ -1617,7 +1612,7 @@ const Panel = ({
activeTab={activeTab}
>
{_isEmpty(data) ? (
- <p className='mt-1 text-base text-gray-700 dark:text-gray-300'>{t('project.noParamData')}</p>
+ <p className='mt-1 font-mono text-base text-gray-700 dark:text-gray-300'>{t('project.noParamData')}</p>
) : (
_map(entriesToDisplay, (entry) => {
const { count, name: entryName, ...rest } = entry
@@ -1688,7 +1683,7 @@ const Panel = ({
)}
{/* for pagination in tabs */}
{_size(entries) > ENTRIES_PER_PANEL && (
- <div className='absolute bottom-0 w-[calc(100%-2rem)] sm:w-[calc(100%-3rem)]'>
+ <div className='absolute bottom-0 w-[calc(100%-2rem)] font-mono sm:w-[calc(100%-3rem)]'>
<div className='mb-2 flex justify-between select-none'>
<div>
<span className='text-xs font-light text-gray-500 lowercase dark:text-gray-200'>
diff --git a/web/app/pages/Project/View/ViewProject.tsx b/web/app/pages/Project/View/ViewProject.tsx
index 3ea8ee349..6ca754130 100644
--- a/web/app/pages/Project/View/ViewProject.tsx
+++ b/web/app/pages/Project/View/ViewProject.tsx
@@ -2865,7 +2865,7 @@ const ViewProject = () => {
/>
</div>
<div className='hidden sm:block'>
- <nav className='-mb-px flex space-x-4 overflow-x-auto' aria-label='Tabs'>
+ <nav className='-mb-px flex space-x-4 overflow-x-auto font-mono' aria-label='Tabs'>
{_map(tabs, (tab) => {
const isCurrent = tab.id === activeTab
@@ -2946,7 +2946,7 @@ const ViewProject = () => {
})}
>
<TabsSelector />
- <h2 className='mt-2 text-center text-xl font-bold break-words break-all text-gray-900 sm:text-left dark:text-gray-50'>
+ <h2 className='mt-2 text-center font-mono text-xl font-bold break-words break-all text-gray-900 sm:text-left dark:text-gray-50'>
{project.name}
</h2>
<LockedDashboard user={user} project={project} />
@@ -2967,7 +2967,7 @@ const ViewProject = () => {
})}
>
<TabsSelector />
- <h2 className='mt-2 text-center text-xl font-bold break-words break-all text-gray-900 sm:text-left dark:text-gray-50'>
+ <h2 className='mt-2 text-center font-mono text-xl font-bold break-words break-all text-gray-900 sm:text-left dark:text-gray-50'>
{project.name}
</h2>
<WaitingForAnEvent project={project} />
@@ -2992,7 +2992,7 @@ const ViewProject = () => {
})}
>
<TabsSelector />
- <h2 className='mt-2 text-center text-xl font-bold break-words break-all text-gray-900 sm:text-left dark:text-gray-50'>
+ <h2 className='mt-2 text-center font-mono text-xl font-bold break-words break-all text-gray-900 sm:text-left dark:text-gray-50'>
{project.name}
</h2>
<WaitingForAnError />
@@ -3069,7 +3069,7 @@ const ViewProject = () => {
<>
<div className='mt-2 flex flex-col items-center justify-between lg:flex-row lg:items-start'>
<div className='flex flex-wrap items-center space-x-5'>
- <h2 className='text-xl font-bold break-words break-all text-gray-900 dark:text-gray-50'>
+ <h2 className='font-mono text-xl font-bold break-words break-all text-gray-900 dark:text-gray-50'>
{/* If tab is funnels - then display a funnel name, otherwise a project name */}
{activeTab === PROJECT_TABS.funnels ? activeFunnel?.name : project.name}
</h2>
@@ -3553,7 +3553,7 @@ const ViewProject = () => {
/>
{isActiveCompare && activeTab !== PROJECT_TABS.errors && (
<>
- <div className='text-md mx-2 font-medium whitespace-pre-line text-gray-600 dark:text-gray-200'>
+ <div className='text-md mx-2 font-mono font-medium whitespace-pre-line text-gray-600 dark:text-gray-200'>
vs
</div>
<Dropdown
diff --git a/web/app/pages/Project/View/components/LiveVisitorsDropdown.tsx b/web/app/pages/Project/View/components/LiveVisitorsDropdown.tsx
index 80dcf4e7a..130e29b7d 100644
--- a/web/app/pages/Project/View/components/LiveVisitorsDropdown.tsx
+++ b/web/app/pages/Project/View/components/LiveVisitorsDropdown.tsx
@@ -43,7 +43,7 @@ const LiveVisitorsDropdown = ({ live, onSessionSelect }: LiveVisitorsDropdownPro
return (
<OutsideClickHandler onOutsideClick={() => setShow(false)}>
<div
- className='relative flex h-5 cursor-pointer items-center text-base text-gray-900 dark:text-gray-50'
+ className='relative flex h-5 cursor-pointer items-center font-mono text-base text-gray-900 dark:text-gray-50'
onClick={() => setShow(!show)}
>
<PulsatingCircle className='mr-1.5' type='small' />
diff --git a/web/app/pages/Project/View/components/MetricCards.tsx b/web/app/pages/Project/View/components/MetricCards.tsx
index f3914612a..633caa556 100644
--- a/web/app/pages/Project/View/components/MetricCards.tsx
+++ b/web/app/pages/Project/View/components/MetricCards.tsx
@@ -72,12 +72,14 @@ export const MetricCard: React.FC<MetricCardProps> = ({
classes,
}) => (
<div className={cx('flex flex-col', classes?.container)}>
- <div className={cx('text-4xl font-bold whitespace-nowrap text-slate-900 dark:text-gray-50', classes?.value)}>
+ <div
+ className={cx('font-mono text-4xl font-bold whitespace-nowrap text-slate-900 dark:text-gray-50', classes?.value)}
+ >
{valueMapper ? valueMapper(value, 'main') : value}
</div>
<div
className={cx(
- 'flex items-center text-sm font-bold whitespace-nowrap',
+ 'flex items-center font-mono text-sm font-bold whitespace-nowrap',
{
'space-x-2': _isNumber(change),
},
diff --git a/web/app/pages/Project/View/components/TBPeriodSelector.tsx b/web/app/pages/Project/View/components/TBPeriodSelector.tsx
index abbd9f244..5a473fb16 100644
--- a/web/app/pages/Project/View/components/TBPeriodSelector.tsx
+++ b/web/app/pages/Project/View/components/TBPeriodSelector.tsx
@@ -37,7 +37,7 @@ const TBPeriodSelector = ({ items, title, onSelect, activePeriod, classes }: TBP
<Popover className='relative'>
{({ open }) => (
<>
- <PopoverButton className='group inline-flex w-full px-2.5 py-2 text-sm font-medium text-gray-700 outline-hidden md:px-4 dark:text-gray-50'>
+ <PopoverButton className='group inline-flex w-full px-2.5 py-2 font-mono text-sm font-medium text-gray-700 outline-hidden md:px-4 dark:text-gray-50'>
<CalendarIcon className='mr-1 h-5 w-5' strokeWidth={1.5} />
<span>{title}</span>
<ChevronDownIcon
@@ -60,7 +60,7 @@ const TBPeriodSelector = ({ items, title, onSelect, activePeriod, classes }: TBP
leaveTo='opacity-0 translate-y-1'
>
{/* w-56 */}
- <PopoverPanel className='absolute right-0 left-1/2 z-20 mt-3 w-max max-w-sm -translate-x-1/2 transform px-4 sm:px-0 md:left-auto md:transform-none lg:max-w-3xl'>
+ <PopoverPanel className='absolute right-2.5 z-20 mt-3 w-max max-w-sm transform px-4 font-mono sm:px-0 md:left-auto md:transform-none lg:max-w-3xl'>
<div className='overflow-hidden rounded-lg bg-gray-50 p-1 ring-1 shadow-lg ring-black/5 dark:bg-slate-800'>
<div
className={cx(
diff --git a/web/app/pages/Unsubscribe/index.tsx b/web/app/pages/Unsubscribe/index.tsx
index ccc4f9fd4..216c26a9e 100644
--- a/web/app/pages/Unsubscribe/index.tsx
+++ b/web/app/pages/Unsubscribe/index.tsx
@@ -77,7 +77,7 @@ const Unsubscribe = ({ type }: UnsubscribeProps) => {
{error}
</h1>
</div>
- <div className='mt-8 flex space-x-3 sm:border-l sm:border-transparent sm:pl-6'>
+ <div className='mt-8 flex space-x-3 font-mono sm:border-l sm:border-transparent sm:pl-6'>
{authenticated ? (
<Link
to={routes.dashboard}
@@ -118,7 +118,7 @@ const Unsubscribe = ({ type }: UnsubscribeProps) => {
{t('unsubscribe.success')}
</h1>
</div>
- <div className='mt-8 flex space-x-3 sm:border-l sm:border-transparent sm:pl-6'>
+ <div className='mt-8 flex space-x-3 font-mono sm:border-l sm:border-transparent sm:pl-6'>
{authenticated ? (
<Link
to={routes.dashboard}
diff --git a/web/app/pages/UserSettings/UserSettings.tsx b/web/app/pages/UserSettings/UserSettings.tsx
index 9dacce5ac..91ee53117 100644
--- a/web/app/pages/UserSettings/UserSettings.tsx
+++ b/web/app/pages/UserSettings/UserSettings.tsx
@@ -473,7 +473,7 @@ const UserSettings = () => {
key={tab.id}
onClick={onClick}
className={cx(
- 'text-md group inline-flex cursor-pointer items-center border-b-2 px-1 py-2 font-bold whitespace-nowrap',
+ 'text-md group inline-flex cursor-pointer items-center border-b-2 px-1 py-2 font-mono font-bold whitespace-nowrap',
{
'border-slate-900 text-slate-900 dark:border-gray-50 dark:text-gray-50': isCurrent,
'border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 dark:text-gray-400 dark:hover:border-gray-300 dark:hover:text-gray-300':
@@ -654,7 +654,7 @@ const UserSettings = () => {
</h3>
<div>
{!_isEmpty(user.sharedProjects) ? (
- <div className='mt-3 flex flex-col'>
+ <div className='mt-3 flex flex-col font-mono'>
<div className='-mx-4 -my-2 overflow-x-auto sm:-mx-6 lg:-mx-8'>
<div className='inline-block min-w-full py-2 align-middle md:px-6 lg:px-8'>
<div className='overflow-hidden ring-1 shadow-sm ring-black/50 md:rounded-lg'>
@@ -704,7 +704,7 @@ const UserSettings = () => {
</h3>
<div>
{!_isEmpty(user.organisationMemberships) ? (
- <div className='mt-3 flex flex-col'>
+ <div className='mt-3 flex flex-col font-mono'>
<div className='-mx-4 -my-2 overflow-x-auto sm:-mx-6 lg:-mx-8'>
<div className='inline-block min-w-full py-2 align-middle md:px-6 lg:px-8'>
<div className='overflow-hidden ring-1 shadow-sm ring-black/50 md:rounded-lg'>
diff --git a/web/app/pages/UserSettings/components/Integrations.tsx b/web/app/pages/UserSettings/components/Integrations.tsx
index a178ca4ff..0bbd656e6 100644
--- a/web/app/pages/UserSettings/components/Integrations.tsx
+++ b/web/app/pages/UserSettings/components/Integrations.tsx
@@ -395,7 +395,7 @@ const Integrations = ({ handleIntegrationSave }: IntegrationsProps) => {
return (
<>
<p className='max-w-prose text-base text-gray-900 dark:text-gray-50'>{t('profileSettings.integrationsDesc')}</p>
- <div className='mt-2 overflow-hidden bg-white shadow-sm sm:rounded-md dark:bg-slate-800'>
+ <div className='mt-2 overflow-hidden bg-white font-mono shadow-sm sm:rounded-md dark:bg-slate-800'>
<ul className='divide-y divide-gray-200 dark:divide-slate-700'>
{_map(available, ({ name, key, description, Icon }) => {
const { connected, confirmed, id } = getIntegrationStatus(key)
diff --git a/web/app/pages/UserSettings/components/Socialisations.tsx b/web/app/pages/UserSettings/components/Socialisations.tsx
index d3d3991a7..c616a11eb 100644
--- a/web/app/pages/UserSettings/components/Socialisations.tsx
+++ b/web/app/pages/UserSettings/components/Socialisations.tsx
@@ -130,7 +130,7 @@ const Socialisations = () => {
return (
<>
<p className='max-w-prose text-base text-gray-900 dark:text-gray-50'>{t('profileSettings.socialisationsDesc')}</p>
- <div className='mt-2 overflow-hidden bg-white shadow-sm sm:rounded-md dark:bg-slate-800'>
+ <div className='mt-2 overflow-hidden bg-white font-mono shadow-sm sm:rounded-md dark:bg-slate-800'>
<ul className='divide-y divide-gray-200 dark:divide-slate-700'>
{_map(AVAILABLE_SSO_PROVIDERS, ({ name, key, icons }) => {
const [connected, unlinkable] = getStatusByUser(user, key)
diff --git a/web/app/routes/blog.tsx b/web/app/routes/blog.tsx
index 1c62da8ee..cf952b56f 100644
--- a/web/app/routes/blog.tsx
+++ b/web/app/routes/blog.tsx
@@ -87,11 +87,11 @@ export default function Posts() {
{post.title}
</h3>
{post.intro && (
- <div className='prose prose-slate prose-a:relative prose-a:z-10 mt-2 mb-4 line-clamp-2 dark:text-slate-400'>
+ <div className='prose prose-slate prose-a:relative prose-a:z-10 mt-2 mb-4 line-clamp-2 font-mono dark:text-slate-400'>
<p>{post.intro}</p>
</div>
)}
- <dl className='absolute top-0 left-0 lg:right-full lg:left-auto lg:mr-[calc(5rem+1px)]'>
+ <dl className='absolute top-0 left-0 font-mono uppercase lg:right-full lg:left-auto lg:mr-[calc(5rem+1px)]'>
<dt className='sr-only'>Date</dt>
<dd className='text-sm leading-6 whitespace-nowrap dark:text-slate-400'>
<time dateTime={post.date}>{post.date}</time>
@@ -99,7 +99,7 @@ export default function Posts() {
</dl>
</div>
<Link
- className='flex items-center text-sm font-medium text-indigo-600 dark:text-gray-50'
+ className='flex items-center font-mono text-sm font-medium text-indigo-600 dark:text-gray-50'
to={post.slug}
>
<span className='absolute -inset-x-4 -inset-y-2.5 sm:rounded-2xl md:-inset-x-6 md:-inset-y-4'></span>
diff --git a/web/app/routes/index.tsx b/web/app/routes/index.tsx
index faa5aa8ad..84fba5bc6 100644
--- a/web/app/routes/index.tsx
+++ b/web/app/routes/index.tsx
@@ -87,14 +87,14 @@ const Problem = () => {
<h2 className='mb-6 text-4xl font-extrabold text-gray-50 sm:text-5xl sm:leading-none md:mb-8'>
{t('main.problem.title')}
</h2>
- <p className='mx-auto mb-12 max-w-prose font-mono text-lg leading-relaxed font-bold text-gray-100 opacity-80 md:mb-20'>
+ <p className='mx-auto mb-12 max-w-prose font-mono text-base leading-relaxed font-semibold text-gray-100 md:mb-20 md:text-lg'>
{t('main.problem.description')}
</p>
<div className='flex flex-col items-center justify-center gap-6 font-mono text-gray-50 md:flex-row md:items-start'>
- <div className='flex w-full flex-col items-center justify-center gap-2 md:w-48'>
+ <div className='flex w-full flex-col items-center justify-center gap-2 md:w-56'>
<span className='text-4xl'>πŸ€”</span>
- <p className='font-bold'>{t('main.problem.step1')}</p>
+ <p className='font-semibold'>{t('main.problem.step1')}</p>
</div>
<svg
className='w-12 shrink-0 fill-gray-200 opacity-70 max-md:-scale-x-100 md:-rotate-90'
@@ -115,9 +115,9 @@ const Problem = () => {
/>
</g>
</svg>
- <div className='flex w-full flex-col items-center justify-center gap-2 md:w-48'>
+ <div className='flex w-full flex-col items-center justify-center gap-2 md:w-56'>
<span className='text-4xl'>πŸ˜•</span>
- <p className='font-bold'>
+ <p className='font-semibold'>
<Trans
t={t}
i18nKey='main.problem.step2'
@@ -146,9 +146,9 @@ const Problem = () => {
/>
</g>
</svg>
- <div className='flex w-full flex-col items-center justify-center gap-2 md:w-48'>
+ <div className='flex w-full flex-col items-center justify-center gap-2 md:w-56'>
<span className='text-4xl'>πŸ“‰</span>
- <p className='font-bold'>{t('main.problem.step3')}</p>
+ <p className='font-semibold'>{t('main.problem.step3')}</p>
</div>
</div>
</div>
@@ -221,7 +221,7 @@ const WeAreOpensource = ({ theme }: { theme: 'dark' | 'light' }) => {
/>
</picture>
<div className='w-full max-w-lg lg:ml-5'>
- <h2 className='text-4xl font-extrabold text-slate-900 md:text-4xl dark:text-white'>
+ <h2 className='text-4xl font-extrabold text-slate-900 dark:text-white'>
<Trans
t={t}
i18nKey='main.weAreOpensource'
@@ -367,10 +367,10 @@ const FeatureBlock = ({ heading, description, children, className, dark }: Featu
<div className='relative h-80 shrink-0'>{children}</div>
<div className='relative p-10'>
- <h3 className='mt-1 text-2xl/8 font-medium tracking-tight text-gray-950 group-data-[dark]:text-white'>
+ <h3 className='mt-1 text-2xl/8 font-semibold tracking-tight text-gray-950 group-data-[dark]:text-white'>
{heading}
</h3>
- <p className='mt-2 max-w-[600px] font-mono text-sm/6 text-gray-600 group-data-[dark]:text-gray-400'>
+ <p className='mt-2 max-w-[600px] font-mono text-sm/6 text-gray-600 group-data-[dark]:text-gray-400 lg:text-base/6'>
{description}
</p>
</div>
@@ -671,7 +671,7 @@ const CoreFeatures = ({ theme }: { theme: 'dark' | 'light' }) => {
className='max-lg:rounded-t-4xl lg:col-span-4 lg:rounded-tl-4xl'
dark={theme === 'dark'}
>
- <div className='relative h-80 overflow-hidden px-10 pt-5'>
+ <div className='relative h-80 overflow-hidden px-10 pt-5 font-mono'>
<div className='absolute top-2 rotate-2 rounded-xs bg-slate-200 p-4 text-slate-900 opacity-70 transition-opacity group-hover:opacity-90 dark:bg-slate-700 dark:text-gray-50'>
<p className='mb-4 text-sm'>
We use cookies to enhance your experience. By continuing to visit this site you agree to our use of
@@ -826,7 +826,7 @@ const Hero = ({
<div className='relative mx-auto min-h-[740px] pt-10 pb-5 sm:px-3 lg:px-6 lg:pt-24 xl:px-8'>
<div className='relative z-20 flex flex-col content-between justify-center'>
<div className='relative mx-auto flex flex-col px-4 text-left'>
- <h1 className='mx-auto max-w-4xl text-center text-4xl font-extrabold tracking-[-0.4px] text-slate-900 sm:text-5xl sm:leading-none lg:text-6xl xl:text-7xl dark:text-white'>
+ <h1 className='mx-auto max-w-5xl text-center text-4xl font-extrabold tracking-[-0.4px] text-slate-900 sm:text-5xl sm:leading-none lg:text-6xl xl:text-7xl dark:text-white'>
<Trans
t={t}
i18nKey='main.slogan'
@@ -836,7 +836,7 @@ const Hero = ({
}}
/>
</h1>
- <p className='mx-auto mt-4 max-w-4xl text-center font-mono text-base leading-relaxed tracking-wide text-slate-900 sm:text-lg lg:text-xl dark:text-slate-300'>
+ <p className='mx-auto mt-4 max-w-4xl text-center font-mono text-base text-slate-900 sm:text-lg dark:text-slate-300'>
{t('main.description')}
</p>
<div className='mt-10 flex flex-col items-center justify-center sm:flex-row'>
diff --git a/web/app/styles/ProjectViewStyle.css b/web/app/styles/ProjectViewStyle.css
index 447590ae4..b4a4428a1 100644
--- a/web/app/styles/ProjectViewStyle.css
+++ b/web/app/styles/ProjectViewStyle.css
@@ -59,21 +59,15 @@ html.light .bb-xgrid-focus {
}
.bb-axis {
- font-family:
- 'Inter',
- 'Cantarell',
- 'Roboto',
- system-ui,
- -apple-system,
- BlinkMacSystemFont,
- 'Helvetica Neue',
- 'Oxygen',
- 'Ubuntu',
- sans-serif;
+ font-family: var(--font-mono);
font-weight: 500;
letter-spacing: 0.02em;
}
+.bb-legend {
+ font-family: var(--font-sans);
+}
+
.bb-line {
stroke-width: 1.5;
}
diff --git a/web/app/ui/Badge.tsx b/web/app/ui/Badge.tsx
index c740dabff..73e06fc2f 100644
--- a/web/app/ui/Badge.tsx
+++ b/web/app/ui/Badge.tsx
@@ -9,20 +9,24 @@ export interface BadgeProps {
export const Badge = ({ label, className, colour }: BadgeProps) => (
<span
- className={cx('inline-flex items-center rounded-md px-2 py-1 text-xs font-medium ring-1 ring-inset', className, {
- 'bg-slate-50 text-slate-600 ring-slate-500/10 dark:bg-slate-400/10 dark:text-slate-400 dark:ring-slate-400/20':
- colour === 'slate',
- 'bg-indigo-50 text-indigo-700 ring-indigo-700/10 dark:bg-indigo-400/10 dark:text-indigo-400 dark:ring-indigo-400/30':
- colour === 'indigo',
- 'bg-yellow-50 text-yellow-800 ring-yellow-600/20 dark:bg-yellow-400/10 dark:text-yellow-500 dark:ring-yellow-400/20':
- colour === 'yellow',
- 'bg-green-50 text-green-700 ring-green-600/20 dark:bg-green-500/10 dark:text-green-400 dark:ring-green-500/20':
- colour === 'green',
- 'bg-red-50 text-red-700 ring-red-600/10 dark:bg-red-400/10 dark:text-red-400 dark:ring-red-400/20':
- colour === 'red',
- 'bg-sky-50 text-sky-700 ring-sky-600/20 dark:bg-sky-400/10 dark:text-sky-400 dark:ring-sky-400/20':
- colour === 'sky',
- })}
+ className={cx(
+ 'inline-flex items-center rounded-md px-2 py-1 font-mono text-xs font-medium ring-1 ring-inset',
+ className,
+ {
+ 'bg-slate-50 text-slate-600 ring-slate-500/10 dark:bg-slate-400/10 dark:text-slate-400 dark:ring-slate-400/20':
+ colour === 'slate',
+ 'bg-indigo-50 text-indigo-700 ring-indigo-700/10 dark:bg-indigo-400/10 dark:text-indigo-400 dark:ring-indigo-400/30':
+ colour === 'indigo',
+ 'bg-yellow-50 text-yellow-800 ring-yellow-600/20 dark:bg-yellow-400/10 dark:text-yellow-500 dark:ring-yellow-400/20':
+ colour === 'yellow',
+ 'bg-green-50 text-green-700 ring-green-600/20 dark:bg-green-500/10 dark:text-green-400 dark:ring-green-500/20':
+ colour === 'green',
+ 'bg-red-50 text-red-700 ring-red-600/10 dark:bg-red-400/10 dark:text-red-400 dark:ring-red-400/20':
+ colour === 'red',
+ 'bg-sky-50 text-sky-700 ring-sky-600/20 dark:bg-sky-400/10 dark:text-sky-400 dark:ring-sky-400/20':
+ colour === 'sky',
+ },
+ )}
>
{label}
</span>
diff --git a/web/app/ui/Button.tsx b/web/app/ui/Button.tsx
index aad14e519..594e8b8c7 100644
--- a/web/app/ui/Button.tsx
+++ b/web/app/ui/Button.tsx
@@ -49,7 +49,7 @@ const Button = ({
disabled={disabled || loading}
type={type}
className={cx(
- 'relative inline-flex items-center rounded-md border leading-4 font-medium select-none',
+ 'relative inline-flex items-center rounded-md border font-mono leading-4 font-medium select-none',
{
'border-transparent bg-slate-900 text-gray-50 shadow-xs hover:bg-slate-700 dark:border-slate-700/50 dark:bg-slate-800 dark:hover:bg-slate-700':
primary,
diff --git a/web/app/ui/Checkbox.tsx b/web/app/ui/Checkbox.tsx
index a2f5ced1c..f812656bd 100644
--- a/web/app/ui/Checkbox.tsx
+++ b/web/app/ui/Checkbox.tsx
@@ -25,7 +25,7 @@ const Checkbox = ({ label, hint, name, className, onChange, checked, hintClassNa
>
<CheckIcon className='hidden size-4 text-white group-data-[checked]:block dark:text-black' />
</HeadlessCheckbox>
- <Label className='cursor-pointer text-sm font-medium text-gray-700 dark:text-gray-200'>{label}</Label>
+ <Label className='cursor-pointer font-mono text-sm font-medium text-gray-700 dark:text-gray-200'>{label}</Label>
</div>
{hint && (
<Description className={cx('mt-1 text-sm text-gray-500 dark:text-gray-300', hintClassName)}>{hint}</Description>
diff --git a/web/app/ui/Combobox.tsx b/web/app/ui/Combobox.tsx
index f383bb43f..44b433f56 100644
--- a/web/app/ui/Combobox.tsx
+++ b/web/app/ui/Combobox.tsx
@@ -45,7 +45,7 @@ const Combobox = ({
return (
<HeadlessCombobox disabled={disabled} value={title} onChange={onSelect}>
- <div className={cx('relative mt-1', className)}>
+ <div className={cx('relative mt-1 font-mono', className)}>
<div className='relative w-full cursor-default rounded-lg'>
<HeadlessCombobox.Input
className={cx(
diff --git a/web/app/ui/Dropdown.tsx b/web/app/ui/Dropdown.tsx
index ac97c1f16..1641a8c94 100644
--- a/web/app/ui/Dropdown.tsx
+++ b/web/app/ui/Dropdown.tsx
@@ -58,9 +58,9 @@ function Dropdown<T>({
className={cx(buttonClassName, {
'justify-between': aside,
'justify-center': !aside,
- 'inline-flex w-full rounded-md border border-gray-300 bg-white px-3 py-2 text-sm font-medium shadow-xs hover:bg-gray-50 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 focus:ring-offset-gray-100 focus:outline-hidden md:px-4 dark:border-gray-800 dark:bg-slate-800 dark:hover:bg-slate-700':
+ 'inline-flex w-full rounded-md border border-gray-300 bg-white px-3 py-2 font-mono text-sm font-medium shadow-xs hover:bg-gray-50 focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 focus:ring-offset-gray-100 focus:outline-hidden md:px-4 dark:border-gray-800 dark:bg-slate-800 dark:hover:bg-slate-700':
!headless,
- 'group inline-flex w-full px-3 py-2 text-sm font-medium outline-hidden md:px-4': headless,
+ 'group inline-flex w-full px-3 py-2 font-mono text-sm font-medium outline-hidden md:px-4': headless,
'text-gray-700 dark:text-gray-50': !disabled,
'cursor-not-allowed text-gray-500 dark:text-gray-400': disabled,
})}
@@ -100,7 +100,7 @@ function Dropdown<T>({
<MenuItems
static
className={cx(
- 'absolute right-0 z-50 mt-2 w-40 min-w-max origin-top-right rounded-md bg-white ring-1 shadow-lg ring-black/50 focus:outline-hidden dark:bg-slate-800',
+ 'absolute right-0 z-50 mt-2 w-40 min-w-max origin-top-right rounded-md bg-white font-mono ring-1 shadow-lg ring-black/50 focus:outline-hidden dark:bg-slate-800',
menuItemsClassName,
{
'divide-y divide-gray-100 dark:divide-gray-600': header,
diff --git a/web/app/ui/Flatpicker.tsx b/web/app/ui/Flatpicker.tsx
index f73dd1b81..034a730c5 100644
--- a/web/app/ui/Flatpicker.tsx
+++ b/web/app/ui/Flatpicker.tsx
@@ -102,7 +102,7 @@ class FlatPicker extends React.Component<
}
return (
- <div className={cx('flatpicker-custom h-0', className)}>
+ <div className={cx('flatpicker-custom h-0 font-mono', className)}>
<Flatpickr
id='calendar'
value={value}
diff --git a/web/app/ui/Input.tsx b/web/app/ui/Input.tsx
index 32b525cff..525fe540a 100644
--- a/web/app/ui/Input.tsx
+++ b/web/app/ui/Input.tsx
@@ -36,7 +36,7 @@ const Input = ({
return (
<Field as='div' className={className}>
{label ? (
- <Label className='mb-1 flex text-sm font-medium text-gray-700 dark:text-gray-200'>
+ <Label className='mb-1 flex font-mono text-sm font-medium text-gray-700 dark:text-gray-200'>
{label}
{isBeta && (
<div className='ml-5'>
@@ -51,7 +51,7 @@ const Input = ({
<HeadlessInput
type={type}
className={cx(
- 'block w-full rounded-md border-gray-300 shadow-xs sm:text-sm dark:border-slate-800/25 dark:bg-slate-800 dark:text-gray-50 dark:placeholder-gray-400',
+ 'block w-full rounded-md border-gray-300 font-mono shadow-xs sm:text-sm dark:border-slate-800/25 dark:bg-slate-800 dark:text-gray-50 dark:placeholder-gray-400',
{
'text-red-900 placeholder-red-300 ring-1 ring-red-600': isError,
'cursor-text': disabled,
@@ -62,7 +62,7 @@ const Input = ({
invalid={isError}
{...rest}
/>
- {isError ? <p className='mt-2 text-sm text-red-600 dark:text-red-500'>{error}</p> : null}
+ {isError ? <p className='mt-2 font-mono text-sm text-red-600 dark:text-red-500'>{error}</p> : null}
{hint && hintPosition === 'bottom' ? (
<Description className='mt-2 text-sm whitespace-pre-line text-gray-500 dark:text-gray-300'>{hint}</Description>
) : null}
diff --git a/web/app/ui/Modal.tsx b/web/app/ui/Modal.tsx
index 1b94b2d79..12427c712 100644
--- a/web/app/ui/Modal.tsx
+++ b/web/app/ui/Modal.tsx
@@ -119,7 +119,7 @@ const Modal = ({
<UserGroupIcon className='h-6 w-6 text-green-600' aria-hidden='true' />
</div>
)}
- <div className='mt-3 w-full text-center sm:mt-0 sm:text-left'>
+ <div className='mt-3 w-full text-center font-mono sm:mt-0 sm:text-left'>
{title && (
<DialogTitle
as='h3'
@@ -147,7 +147,7 @@ const Modal = ({
<div className='mt-2 text-sm whitespace-pre-line text-gray-600 dark:text-gray-200'>{message}</div>
</div>
</div>
- <div className='px-4 py-3 sm:flex sm:flex-row-reverse sm:px-0 sm:pb-0'>
+ <div className='px-4 py-3 font-mono sm:flex sm:flex-row-reverse sm:px-0 sm:pb-0'>
{customButtons}
{submitText && (
<button
diff --git a/web/app/ui/MultiSelect.tsx b/web/app/ui/MultiSelect.tsx
index 95a7187f4..741c6b2e6 100644
--- a/web/app/ui/MultiSelect.tsx
+++ b/web/app/ui/MultiSelect.tsx
@@ -37,7 +37,7 @@ const MultiSelect = ({
const [selected, setSelected] = useState(false)
return (
- <div className={cx('keypress-multiselect flex w-full flex-col items-center', className)}>
+ <div className={cx('keypress-multiselect flex w-full flex-col items-center font-mono', className)}>
<div className='w-full'>
<div className='relative flex flex-col items-center'>
<div
diff --git a/web/app/ui/Pagination.tsx b/web/app/ui/Pagination.tsx
index 8a66358d3..fd142c601 100644
--- a/web/app/ui/Pagination.tsx
+++ b/web/app/ui/Pagination.tsx
@@ -37,7 +37,10 @@ const Pagination = ({
return (
<div
- className={cx('flex items-center justify-between border-t border-gray-200 py-3 dark:border-gray-700', className)}
+ className={cx(
+ 'flex items-center justify-between border-t border-gray-200 py-3 font-mono dark:border-gray-700',
+ className,
+ )}
>
<div className='flex flex-1 justify-between sm:hidden'>
<button
diff --git a/web/app/ui/Select.tsx b/web/app/ui/Select.tsx
index 8beec89d3..6d2aa4b50 100644
--- a/web/app/ui/Select.tsx
+++ b/web/app/ui/Select.tsx
@@ -49,11 +49,11 @@ function Select<T>({
{({ open }) => (
<>
{label ? (
- <Label className='mb-1 block text-sm font-medium whitespace-pre-line text-gray-700 dark:text-gray-100'>
+ <Label className='mb-1 block font-mono text-sm font-medium whitespace-pre-line text-gray-700 dark:text-gray-100'>
{label}
</Label>
) : null}
- <div className={cx('relative', className)}>
+ <div className={cx('relative font-mono', className)}>
<ListboxButton
className={cx(
'relative w-full rounded-md border border-gray-300 bg-white py-2 pr-10 pl-3 text-left shadow-xs focus:border-indigo-500 focus:ring-1 focus:ring-indigo-500 focus:outline-hidden sm:text-sm dark:border-gray-800 dark:bg-slate-800 dark:text-gray-50',
@@ -134,7 +134,7 @@ function Select<T>({
</Transition>
</div>
{hint && (
- <Description className='mt-2 text-sm whitespace-pre-line text-gray-500 dark:text-gray-300'>
+ <Description className='mt-2 font-mono text-sm whitespace-pre-line text-gray-500 dark:text-gray-300'>
{hint}
</Description>
)}
diff --git a/web/app/ui/Textarea.tsx b/web/app/ui/Textarea.tsx
index 837922522..0a1bbfeec 100644
--- a/web/app/ui/Textarea.tsx
+++ b/web/app/ui/Textarea.tsx
@@ -33,7 +33,7 @@ const Textarea = ({
const isError = !_isEmpty(error)
return (
- <Field as='div' className={className}>
+ <Field as='div' className={cx('font-mono', className)}>
{label && <Label className='flex text-sm font-medium text-gray-700 dark:text-gray-200'>{label}</Label>}
<HeadlessTextarea
rows={rows}
diff --git a/web/app/ui/Tooltip.tsx b/web/app/ui/Tooltip.tsx
index c1a7578f1..31c54dcb6 100644
--- a/web/app/ui/Tooltip.tsx
+++ b/web/app/ui/Tooltip.tsx
@@ -22,7 +22,7 @@ const TooltipContent = forwardRef<
// 'transform-gpu transition-all duration-300 ease-in-out',
// 'data-[state=closed]:scale-90 data-[state=delayed-open]:scale-100',
// 'data-[state=closed]:opacity-0 data-[state=delayed-open]:opacity-100',
- 'z-50 max-w-80 overflow-hidden rounded-md bg-slate-800 px-3 py-1.5 text-xs text-white ring-1 ring-slate-900/80',
+ 'z-50 max-w-80 overflow-hidden rounded-md bg-slate-800 px-3 py-1.5 font-mono text-xs text-white ring-1 ring-slate-900/80',
className,
)}
{...props}
diff --git a/web/public/locales/en.json b/web/public/locales/en.json
index 85bd5fad2..4dac4edcd 100644
--- a/web/public/locales/en.json
+++ b/web/public/locales/en.json
@@ -1353,8 +1353,7 @@
"footer": {
"slogan": "The best apps need the best services.",
"description": "Swetrix is a powerful analytics platform that respects user privacy.",
- "madeIn": "Made in",
- "hostedIn": "Hosted in the",
+ "madeInHostedIn": "Made in <0></0> / <1></1>, hosted in <2></2>",
"ukraine": "Ukraine",
"eu": "European Union",
"support": "Support",