public: hero improvements
This commit is contained in:
17
apps/public/src/app/social-proof/index.tsx
Normal file
17
apps/public/src/app/social-proof/index.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
import { TooltipProvider } from '@/components/ui/tooltip';
|
||||
|
||||
import { db } from '@openpanel/db';
|
||||
|
||||
import { SocialProof } from './social-proof';
|
||||
|
||||
interface Props {
|
||||
className?: string;
|
||||
}
|
||||
export async function SocialProofServer(props: Props) {
|
||||
const waitlistCount = await db.waitlist.count();
|
||||
return (
|
||||
<TooltipProvider>
|
||||
<SocialProof count={waitlistCount} {...props} />;
|
||||
</TooltipProvider>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user