public: hero improvements

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-03-14 07:00:11 +01:00
parent f276deeeeb
commit d3a57178b6
15 changed files with 179 additions and 57 deletions

View 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>
);
}