Skip to content

🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.

Update documentation introduction and layout configuration

Bill Yang282fce1c6939
diff --git a/docs-v2/content/docs/index.mdx b/docs-v2/content/docs/index.mdx
index c020f8a96..603bf0a91 100644
--- a/docs-v2/content/docs/index.mdx
+++ b/docs-v2/content/docs/index.mdx
@@ -1,6 +1,6 @@
---
title: Introduction
-description: Powerful open source web and product analytics platform
+description: Introduction to Rybbit
---
import { Cards, Card } from 'fumadocs-ui/components/card';
@@ -32,7 +32,17 @@ import {
**Rybbit** is a powerful open source web and products analytics platform. Check out our [live demo](https://demo.rybbit.io/1) using a real production site that sends over **15,000,000** events a month.
-<Image src="/dashboard.png" alt="Rybbit Dashboard" width={1200} height={600} />
+<div className="relative z-10 rounded-lg overflow-hidden border-8 border-neutral-100/5 shadow-2xl shadow-emerald-900/10">
+ {/* Remove mobile message and show iframe on all devices */}
+ <iframe
+ src="https://demo.rybbit.io/21"
+ width="1300"
+ height="750"
+ className="w-full h-[600px] md:h-[700px] lg:h-[750px]"
+ style={{ border: "none" }}
+ title="Rybbit Analytics Demo"
+ ></iframe>
+</div>
## Key Features
diff --git a/docs-v2/public/favicon.ico b/docs-v2/public/favicon.ico
new file mode 100644
index 000000000..10deca9a8
Binary files /dev/null and b/docs-v2/public/favicon.ico differ
diff --git a/docs-v2/src/app/apple-icon.png b/docs-v2/src/app/apple-icon.png
new file mode 100644
index 000000000..6c055f19b
Binary files /dev/null and b/docs-v2/src/app/apple-icon.png differ
diff --git a/docs-v2/src/app/docs/layout.tsx b/docs-v2/src/app/docs/layout.tsx
index 39a1aed26..45dbec7de 100644
--- a/docs-v2/src/app/docs/layout.tsx
+++ b/docs-v2/src/app/docs/layout.tsx
@@ -5,7 +5,12 @@ import { source } from "@/lib/source";
export default function Layout({ children }: { children: ReactNode }) {
return (
- <DocsLayout tree={source.pageTree} {...baseOptions}>
+ <DocsLayout
+ tree={source.pageTree}
+ {...baseOptions}
+ githubUrl="https://github.com/rybbit-io/rybbit"
+ themeSwitch={{ enabled: false }}
+ >
{children}
</DocsLayout>
);
diff --git a/docs-v2/src/app/icon.ico b/docs-v2/src/app/icon.ico
new file mode 100644
index 000000000..10deca9a8
Binary files /dev/null and b/docs-v2/src/app/icon.ico differ
diff --git a/docs-v2/src/app/opengraph-image.png b/docs-v2/src/app/opengraph-image.png
new file mode 100644
index 000000000..1f9d7c33e
Binary files /dev/null and b/docs-v2/src/app/opengraph-image.png differ