design: clean up telegram card

This commit is contained in:
Aidan 2025-04-22 09:14:10 -04:00
parent b554369f9f
commit de2a172013

View File

@ -56,12 +56,7 @@ export default function Support() {
<CardDescription>Get support and updates via Telegram</CardDescription> <CardDescription>Get support and updates via Telegram</CardDescription>
</CardHeader> </CardHeader>
<CardContent> <CardContent>
<span className="text-sm"> <div className="">
<b>Channel</b> - Get updates and news about LibreCloud.
<br />
<b>Group</b> - Get support and help from the community.
</span>
<div className="flex items-center mt-6">
<Button <Button
className="cursor-pointer" className="cursor-pointer"
onClick={() => window.open(process.env.NEXT_PUBLIC_TELEGRAM_CHANNEL_URL || "https://t.me/pontushub", "_blank")} onClick={() => window.open(process.env.NEXT_PUBLIC_TELEGRAM_CHANNEL_URL || "https://t.me/pontushub", "_blank")}
@ -69,13 +64,21 @@ export default function Support() {
<RiTelegram2Fill /> <RiTelegram2Fill />
Join Channel Join Channel
</Button> </Button>
<p className="text-sm mt-1">
Get updates and news about LibreCloud.
</p>
</div>
<div className="mt-4">
<Button <Button
className="cursor-pointer ml-4" className="cursor-pointer"
onClick={() => window.open(process.env.NEXT_PUBLIC_TELEGRAM_GROUP_URL || "https://t.me/pontushubchat", "_blank")} onClick={() => window.open(process.env.NEXT_PUBLIC_TELEGRAM_GROUP_URL || "https://t.me/pontushubchat", "_blank")}
> >
<RiTelegram2Fill /> <RiTelegram2Fill />
Join Chat Group Join Chat Group
</Button> </Button>
<p className="text-sm mt-1">
Get support and help from the community.
</p>
</div> </div>
</CardContent> </CardContent>
</Card> </Card>