Spaces:
markush1
/
Running on CPU Upgrade

markush1's picture
Update components/invite-friends/index.tsx
eb26727 verified
raw
history blame
2.59 kB
import { TiUserAdd } from "react-icons/ti";
import { FaLinkedin } from "react-icons/fa6";
import { Button } from "@/components/ui/button";
import {
Dialog,
DialogContent,
DialogTitle,
DialogTrigger,
} from "@/components/ui/dialog";
export function InviteFriends() {
return (
<Dialog>
<form>
<DialogTrigger asChild>
<Button
size="iconXs"
variant="outline"
className="!border-neutral-600 !text-neutral-400 !hover:!border-neutral-500 hover:!text-neutral-300"
>
<TiUserAdd className="size-4" />
</Button>
</DialogTrigger>
<DialogContent className="sm:max-w-lg lg:!p-8 !rounded-3xl !bg-white !border-neutral-100">
<DialogTitle className="hidden" />
<main>
<div className="flex items-center justify-start -space-x-4 mb-5">
<div className="size-11 rounded-full bg-pink-300 shadow-2xs flex items-center justify-center text-2xl">
😎
</div>
<div className="size-11 rounded-full bg-amber-300 shadow-2xs flex items-center justify-center text-2xl z-2">
πŸ˜‡
</div>
<div className="size-11 rounded-full bg-sky-300 shadow-2xs flex items-center justify-center text-2xl">
😜
</div>
</div>
<p className="text-xl font-semibold text-neutral-950 max-w-[200px]">
This is an easter egg. Usually here lives some other functionality πŸ˜…
</p>
<p className="text-sm text-neutral-500 mt-2 max-w-sm">
If you like this demo you can use the below link to share to LinkedIn
and tell everyone how cool this is 😎
This demo was brought to you by Markus Hupfauer πŸ™Œ
</p>
<div className="mt-4 space-x-3.5">
<a
href="https://www.linkedin.com/feed/?shareActive=true&text=%F0%9F%9A%80%20Munich%20AI-Vision%20%F0%9F%9A%80%0ADEIN%20INDIVIDUELLER%20TEXT%20HIER%0A%0A%23TrustedAI%20%23Munich%20%23AISecurity"
target="_blank"
rel="noopener noreferrer"
>
<Button
variant="lightGray"
size="sm"
className="!text-neutral-700"
>
<FaLinkedin className="size-4" />
Share on
</Button>
</a>
</div>
</main>
</DialogContent>
</form>
</Dialog>
);
}