🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.
Refactor metadata and layout components for improved clarity and user experience
Bill Yang307243676e7a
diff --git a/client/src/app/settings/organizations/components/AddMemberDialog.tsx b/client/src/app/settings/organizations/components/AddMemberDialog.tsxindex a63e1e4b0..31dde1f49 100644--- a/client/src/app/settings/organizations/components/AddMemberDialog.tsx+++ b/client/src/app/settings/organizations/components/AddMemberDialog.tsx@@ -109,7 +109,7 @@ export function AddMemberDialog({<SelectValue placeholder="Select a role" /></SelectTrigger><SelectContent>- <SelectItem value="owner">Owner</SelectItem>+ {/* <SelectItem value="owner">Owner</SelectItem> */}<SelectItem value="admin">Admin</SelectItem><SelectItem value="member">Member</SelectItem></SelectContent>diff --git a/docs/src/app/contact/page.jsx b/docs/src/app/contact/page.jsxindex 97cfad674..c175ace72 100644--- a/docs/src/app/contact/page.jsx+++ b/docs/src/app/contact/page.jsx@@ -1,7 +1,7 @@import Link from "next/link";export const metadata = {- title: 'Contact - Rybbit',+ title: 'Contact',description: 'Get in touch with the Rybbit team',}diff --git a/docs/src/app/layout.jsx b/docs/src/app/layout.jsxindex 43c113b28..c748ff330 100644--- a/docs/src/app/layout.jsx+++ b/docs/src/app/layout.jsx@@ -21,7 +21,7 @@ export const metadata = {title: {template: '%s - Rybbit'},- description: 'Rybbit - open source web analytics',+ description: 'Next-gen, open source, lightweight, cookieless web & product analytics for everyone — GDPR/CCPA compliant.',applicationName: 'Rybbit',generator: 'Next.js',appleWebApp: {@@ -81,7 +81,11 @@ export default async function RootLayout({ children }) {const pageMap = await getPageMap()return (<html lang="en" dir="ltr" suppressHydrationWarning>- <Head faviconGlyph="✦" />+ <Head color={{+ hue: 158,+ saturation: 64,+ lightness: 51,+ }} /><body><Layout// banner={<Banner storageKey="Rybbit">Rybbit Alpha</Banner>}diff --git a/docs/src/app/page.jsx b/docs/src/app/page.jsxindex 2f3d1e131..c6de3fe0e 100644--- a/docs/src/app/page.jsx+++ b/docs/src/app/page.jsx@@ -19,6 +19,11 @@ const tilt_wrap = Tilt_Warp({weight: "400",});+export const metadata = {+ title: 'Rybbit Analytics',+ description: 'Next-gen, open source, lightweight, cookieless web & product analytics for everyone — GDPR/CCPA compliant.'+}+export default function IndexPage() {return (<div className="flex flex-col items-center justify-center overflow-x-hidden">diff --git a/docs/src/app/privacy/page.jsx b/docs/src/app/privacy/page.jsxindex ac1c36c3c..d01116902 100644--- a/docs/src/app/privacy/page.jsx+++ b/docs/src/app/privacy/page.jsx@@ -1,5 +1,5 @@export const metadata = {- title: 'Privacy Policy - Rybbit',+ title: 'Privacy Policy',description: 'Rybbit privacy policy - how we protect your data',}diff --git a/docs/src/content/adding-users.mdx b/docs/src/content/adding-users.mdxnew file mode 100644index 000000000..118341d2f--- /dev/null+++ b/docs/src/content/adding-users.mdx@@ -0,0 +1,30 @@+import { Steps } from 'nextra/components'+import { Callout } from 'nextra/components'++# Adding Users to your Organization++Both the cloud and self-hosted versions of Rybbit support adding users to your organization.++<Steps>+### 1. Account creation++Have your user (or you for them) sign up for an account with their email address. Skip creating a organization, since you will be adding them to your existing organization.++### 2. Add the user to your organization++Go to https://app.rybbit.io/organization (replace domain with your own if self-hosted) on your admin account and click the "Add Member" button in the top right.++### 3. Select the user's role++You can either make the user an admin or a member.++**Admins** can invite other users, add websites, edit websites, delete websites, and see all website data.++**Members** can see all website data, but they cannot edit anything.++</Steps>++<Callout type="info">+ Currently, each user can only be in one organization.+</Callout>+diff --git a/docs/src/content/index.mdx b/docs/src/content/index.mdxindex 20d7d2ee7..cbbf25927 100644--- a/docs/src/content/index.mdx+++ b/docs/src/content/index.mdx@@ -20,5 +20,3 @@ Choose the option that's right for you:- **Self-Host:** Follow our [Self-Hosting Guide](./self-hosting) to set up Rybbit on your own server.And then learn how to add the [Tracking Script](./tracker) to your website to start collecting data.--<Bleed></Bleed>