Skip to content

Commit

Permalink
chore: add links to light version (#1108)
Browse files Browse the repository at this point in the history
  • Loading branch information
mxkaske authored Nov 22, 2024
1 parent 4353c6c commit 644b71d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
8 changes: 8 additions & 0 deletions apps/web/src/app/play/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import {
Clock,
FileCode,
Gauge,
Package,
Palette,
PanelTop,
Table,
Expand Down Expand Up @@ -66,6 +67,13 @@ const playgrounds: CardProps[] = [
description: "Easily generate curl commands to test your API endpoints.",
icon: Terminal,
},
{
href: "https://light.openstatus.dev",
title: "Vercel Edge Ping",
description:
"Lightweight one-click self-hostable checker for vercel's edge network.",
icon: Package,
},
{
href: "/public/monitors/1",
title: "Public Dashboard",
Expand Down
10 changes: 6 additions & 4 deletions apps/web/src/components/layout/marketing-footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ export function MarketingFooter({ className }: Props) {
<FooterLink href="/play/checker" label="Speed Checker" />
<FooterLink href="/play/curl" label="cURL Builder" />
<FooterLink href="https://openstat.us" label="All Status Codes" />
<FooterLink
href="https://light.openstatus.dev"
label="Vercel Edge Ping"
/>
</div>
</div>
<div className="flex items-center justify-between gap-3">
Expand Down Expand Up @@ -87,14 +91,12 @@ function FooterLink({ href, label, external = false }: FooterLinkProps) {

return (
<Link
className="inline-flex w-fit items-center text-muted-foreground underline underline-offset-4 hover:text-foreground hover:no-underline"
className="flex flex-wrap gap-1 w-fit items-center text-muted-foreground underline underline-offset-4 hover:text-foreground hover:no-underline"
href={href}
{...externalProps}
>
{label}
{isExternal ? (
<ArrowUpRight className="ml-1 h-4 w-4 flex-shrink-0" />
) : null}
{isExternal ? <ArrowUpRight className="h-4 w-4 flex-shrink-0" /> : null}
</Link>
);
}

0 comments on commit 644b71d

Please sign in to comment.