mirror of
https://github.com/sourcebot-dev/sourcebot.git
synced 2025-12-12 04:15:30 +00:00
* add deps * hook up dau from audit table to analytics page * add audit event for code nav * analytics dashboard * add changelog entry * add news entry * smaller video and news data nit * feedback
47 lines
No EOL
2.4 KiB
TypeScript
47 lines
No EOL
2.4 KiB
TypeScript
"use client"
|
|
|
|
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card"
|
|
import { Button } from "@/components/ui/button"
|
|
import { BarChart3, Mail } from "lucide-react"
|
|
|
|
export function AnalyticsEntitlementMessage() {
|
|
return (
|
|
<div className="flex items-center justify-center min-h-[60vh] py-12">
|
|
<Card className="w-full max-w-lg bg-card border-border shadow-xl p-2">
|
|
<CardHeader className="text-center pb-4">
|
|
<div className="flex justify-center mb-4">
|
|
<div className="p-3 rounded-full bg-muted">
|
|
<BarChart3 className="h-8 w-8 text-muted-foreground" />
|
|
</div>
|
|
</div>
|
|
<CardTitle className="text-xl font-semibold text-card-foreground">
|
|
Analytics is an Enterprise Feature
|
|
</CardTitle>
|
|
<CardDescription className="text-muted-foreground mt-2">
|
|
Get insights into your organization's usage patterns and activity. <a href="https://docs.sourcebot.dev/docs/features/analytics" target="_blank" rel="noopener" className="text-primary hover:underline">Learn more</a>
|
|
</CardDescription>
|
|
</CardHeader>
|
|
<CardContent className="text-center space-y-4">
|
|
<div className="bg-muted/50 rounded-lg p-4 border border-border">
|
|
<p className="text-sm text-muted-foreground">
|
|
Want to try out Sourcebot's enterprise features? Reach out to us and we'll get back to you within
|
|
a couple hours with a trial license.
|
|
</p>
|
|
</div>
|
|
<div className="flex flex-col gap-2">
|
|
<Button asChild className="w-full">
|
|
<a
|
|
href="https://sourcebot.dev/contact"
|
|
target="_blank"
|
|
rel="noopener"
|
|
>
|
|
<Mail className="h-4 w-4 mr-2" />
|
|
Request a trial license
|
|
</a>
|
|
</Button>
|
|
</div>
|
|
</CardContent>
|
|
</Card>
|
|
</div>
|
|
)
|
|
}
|