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!

Mobile layout improvements

Blue Mouse5d029755eb38
diff --git a/src/pages/Auth/CreateNewPassword/CreateNewPassword.jsx b/src/pages/Auth/CreateNewPassword/CreateNewPassword.jsx
index b508e36d5..00ac57b03 100644
--- a/src/pages/Auth/CreateNewPassword/CreateNewPassword.jsx
+++ b/src/pages/Auth/CreateNewPassword/CreateNewPassword.jsx
@@ -82,7 +82,7 @@ const CreateNewPassword = ({
return (
<Title title='Account recovery'>
- <div className='min-h-page bg-gray-50 flex flex-col py-6 sm:px-6 lg:px-8'>
+ <div className='min-h-page bg-gray-50 flex flex-col py-6 px-4 sm:px-6 lg:px-8'>
<form className='max-w-7xl w-full mx-auto' onSubmit={handleSubmit}>
<h2 className='mt-2 text-3xl font-extrabold text-gray-900'>
Account recovery
diff --git a/src/pages/Auth/ForgotPassword/ForgotPassword.jsx b/src/pages/Auth/ForgotPassword/ForgotPassword.jsx
index a2805f20e..c78e5f6e2 100644
--- a/src/pages/Auth/ForgotPassword/ForgotPassword.jsx
+++ b/src/pages/Auth/ForgotPassword/ForgotPassword.jsx
@@ -76,7 +76,7 @@ const ForgotPassword = ({
return (
<Title title='Account recovery'>
- <div className='min-h-page bg-gray-50 flex flex-col py-6 sm:px-6 lg:px-8'>
+ <div className='min-h-page bg-gray-50 flex flex-col py-6 px-4 sm:px-6 lg:px-8'>
<form className='max-w-7xl w-full mx-auto' onSubmit={handleSubmit}>
<h2 className='mt-2 text-3xl font-extrabold text-gray-900'>
Account recovery
diff --git a/src/pages/Auth/Signin/Signin.jsx b/src/pages/Auth/Signin/Signin.jsx
index 45908d5de..263de5374 100644
--- a/src/pages/Auth/Signin/Signin.jsx
+++ b/src/pages/Auth/Signin/Signin.jsx
@@ -72,7 +72,7 @@ const Signin = ({ login }) => {
return (
<Title title='Sign in'>
- <div className='min-h-page bg-gray-50 flex flex-col py-6 sm:px-6 lg:px-8'>
+ <div className='min-h-page bg-gray-50 flex flex-col py-6 px-4 sm:px-6 lg:px-8'>
<form className='max-w-7xl w-full mx-auto' onSubmit={handleSubmit}>
<h2 className='mt-2 text-3xl font-extrabold text-gray-900'>
Sign in to your account
diff --git a/src/pages/Auth/Signup/Signup.jsx b/src/pages/Auth/Signup/Signup.jsx
index 2d911327d..013481700 100644
--- a/src/pages/Auth/Signup/Signup.jsx
+++ b/src/pages/Auth/Signup/Signup.jsx
@@ -82,7 +82,7 @@ const Signup = ({ signup }) => {
return (
<Title title='Sign up'>
- <div className='min-h-page bg-gray-50 flex flex-col py-6 sm:px-6 lg:px-8'>
+ <div className='min-h-page bg-gray-50 flex flex-col py-6 px-4 sm:px-6 lg:px-8'>
<form className='max-w-7xl w-full mx-auto' onSubmit={handleSubmit}>
<h2 className='mt-2 text-3xl font-extrabold text-gray-900'>
Sign up
diff --git a/src/pages/Billing/index.jsx b/src/pages/Billing/index.jsx
index 9c3c93d1c..7a2a190e9 100644
--- a/src/pages/Billing/index.jsx
+++ b/src/pages/Billing/index.jsx
@@ -7,7 +7,7 @@ const Features = () => {
return (
<Title title='Billing'>
<div className='bg-gray-50'>
- <div className='w-4/5 mx-auto pb-16 pt-12 px-4 sm:px-6 lg:px-8'>
+ <div className='w-11/12 md:w-4/5 mx-auto pb-16 pt-12 px-4 sm:px-6 lg:px-8'>
<h1 className='text-4xl mb-4 font-extrabold text-gray-900 tracking-tight'>Billing &amp; Plans</h1>
<p className='text-lg text-gray-900 tracking-tight'>
It is free to get started and use our services.<br />
diff --git a/src/pages/Features/index.jsx b/src/pages/Features/index.jsx
index d4dd0c8eb..01fc7f9dd 100644
--- a/src/pages/Features/index.jsx
+++ b/src/pages/Features/index.jsx
@@ -9,7 +9,7 @@ const Features = () => {
return (
<Title title='Features'>
<div className='bg-gray-50'>
- <div className='w-4/5 mx-auto pb-16 pt-12 px-4 sm:px-6 lg:px-8'>
+ <div className='w-11/12 md:w-4/5 mx-auto pb-16 pt-12 px-4 sm:px-6 lg:px-8'>
<h1 className='text-4xl font-extrabold text-gray-900 tracking-tight'>Features</h1>
<h3 className='text-2xl font-normal text-gray-900 tracking-tight mt-4'>Transparency</h3>
diff --git a/src/pages/Privacy/index.jsx b/src/pages/Privacy/index.jsx
index cf1f7df3a..9700ad1cf 100644
--- a/src/pages/Privacy/index.jsx
+++ b/src/pages/Privacy/index.jsx
@@ -8,7 +8,7 @@ const Features = () => {
return (
<Title title='Privacy Policy'>
<div className='bg-gray-50'>
- <div className='w-4/5 mx-auto pb-16 pt-12 px-4 sm:px-6 lg:px-8'>
+ <div className='w-11/12 md:w-4/5 mx-auto pb-16 pt-12 px-4 sm:px-6 lg:px-8'>
<h1 className='text-4xl font-extrabold text-gray-900 tracking-tight'>Privacy Policy</h1>
<p className='mt-4 text-lg text-gray-900 tracking-tight'>
This Swetrix Privacy Policy (“Policy”, "Privacy Policy") outlines the personal information that we gather, how we use that personal information, and the options you have to access, correct, or delete such personal information.<br />
diff --git a/src/pages/Project/View/ViewProject.jsx b/src/pages/Project/View/ViewProject.jsx
index 711f72c24..908b35f7a 100644
--- a/src/pages/Project/View/ViewProject.jsx
+++ b/src/pages/Project/View/ViewProject.jsx
@@ -1,5 +1,5 @@
import React, { useState, useEffect, useMemo, memo, useRef } from 'react'
-import { useHistory, useParams } from 'react-router-dom'
+import { useHistory, useParams, Link } from 'react-router-dom'
import domToImage from 'dom-to-image'
import { saveAs } from 'file-saver'
import bb, { area, zoom } from 'billboard.js' // eslint-disable-line
@@ -123,8 +123,12 @@ const NoEvents = () => (
<div className='flex flex-col py-6 sm:px-6 lg:px-8 mt-5'>
<div className='max-w-7xl w-full mx-auto'>
<h2 className='text-4xl text-center leading-tight my-3'>No events yet</h2>
- <h2 className='text-2xl mb-8 text-center leading-snug'>No events have been captured yet.</h2>
- {/* todo: detailed description on how to create event, code example; link to docs & cdn / npm library */}
+ <h2 className='text-2xl mb-8 text-center leading-snug'>
+ No events have been captured for the specified timeframe.<br />
+ If you haven't tracked any events yet, you can check out our&nbsp;
+ <Link to={routes.docs} className='hover:underline text-blue-600'>Docs</Link>
+ &nbsp;to easily integrate tracking into your app.
+ </h2>
</div>
</div>
)
diff --git a/src/pages/Terms/index.jsx b/src/pages/Terms/index.jsx
index d44df30bb..9193205fb 100644
--- a/src/pages/Terms/index.jsx
+++ b/src/pages/Terms/index.jsx
@@ -6,7 +6,7 @@ const Features = () => {
return (
<Title title='Terms and Conditions'>
<div className='bg-gray-50'>
- <div className='w-4/5 mx-auto pb-16 pt-12 px-4 sm:px-6 lg:px-8'>
+ <div className='w-11/12 md:w-4/5 mx-auto pb-16 pt-12 px-4 sm:px-6 lg:px-8'>
<h1 className='text-4xl font-extrabold text-gray-900 tracking-tight'>Swetrix Terms and Conditions</h1>
<p className='mt-4 text-lg text-gray-900 tracking-tight'>
These Swetrix Terms and Conditions ("Terms", "Terms and Conditions") govern your relationship with swetrix.com ("Service") operated by Andrii Romasiun ("Swetrix", "Swetrix Analytics", "Company", "us", "we", or "our").<br />