Openstatus www.openstatus.dev

fix: legacy app login link (#1495)

authored by

Maximilian Kaske and committed by
GitHub
54e7f40b 81943ee0

+15 -18
+1 -2
apps/web/src/app/(pages)/(content)/(landing)/[slug]/page.tsx
··· 6 6 import { landingsConfig } from "@/config/landings"; 7 7 import { Button } from "@openstatus/ui"; 8 8 import type { Metadata } from "next"; 9 - import Link from "next/link"; 10 9 import { notFound } from "next/navigation"; 11 10 import type { WebPage, WithContext } from "schema-dts"; 12 11 ··· 102 101 </div> 103 102 <div className="flex gap-2"> 104 103 <Button className="rounded-full" asChild> 105 - <Link href="/app/login">Get Started</Link> 104 + <a href="https://app.openstatus.dev">Get Started</a> 106 105 </Button> 107 106 <Button variant="outline" className="rounded-full" asChild> 108 107 <a href="/cal" rel="noreferrer" target="_blank">
+3 -4
apps/web/src/app/(pages)/(content)/play/checker/[id]/page.tsx
··· 1 1 import type { Metadata } from "next"; 2 - import Link from "next/link"; 3 2 import { redirect } from "next/navigation"; 4 3 5 4 import { monitorRegions } from "@openstatus/db/src/schema/constants"; ··· 62 61 The data will be stored for{" "} 63 62 <span className="text-foreground">7 days</span>. If you want to persist 64 63 the data,{" "} 65 - <Link 66 - href="/app/login" 64 + <a 65 + href="https://app.openstatus.dev" 67 66 className="text-foreground underline underline-offset-4 hover:no-underline" 68 67 > 69 68 login 70 - </Link>{" "} 69 + </a>{" "} 71 70 to your account. 72 71 </p> 73 72 </Shell>
-1
apps/web/src/app/sitemap.ts
··· 29 29 const routes = [ 30 30 "/", 31 31 "/about", 32 - "/app/login", 33 32 "/blog", 34 33 "/changelog", 35 34 "/play",
+2 -3
apps/web/src/components/marketing/banner/booking-banner.tsx
··· 1 1 import { Button } from "@openstatus/ui"; 2 - import Link from "next/link"; 3 2 import { GenericBanner } from "./generic-banner"; 4 3 5 4 export function BookingBanner() { ··· 10 9 actions={ 11 10 <div className="flex gap-2"> 12 11 <Button className="rounded-full" variant="outline" asChild> 13 - <Link href="/app/login" className="text-nowrap"> 12 + <a href="https://app.openstatus.dev" className="text-nowrap"> 14 13 Start for free 15 - </Link> 14 + </a> 16 15 </Button> 17 16 <Button className="rounded-full" asChild> 18 17 <a
+2 -3
apps/web/src/components/marketing/banner/enterprise-banner.tsx
··· 1 1 import { Button } from "@openstatus/ui"; 2 - import Link from "next/link"; 3 2 import { GenericBanner } from "./generic-banner"; 4 3 5 4 export function EnterpriseBanner() { ··· 10 9 actions={ 11 10 <div className="flex gap-2"> 12 11 <Button className="rounded-full" variant="outline" asChild> 13 - <Link href="/app/login" className="text-nowrap"> 12 + <a href="https://app.openstatus.dev" className="text-nowrap"> 14 13 Start for free 15 - </Link> 14 + </a> 16 15 </Button> 17 16 <Button className="rounded-full" asChild> 18 17 <a
+2 -3
apps/web/src/components/marketing/banner/speed-banner.tsx
··· 1 1 import { Button } from "@openstatus/ui"; 2 - import Link from "next/link"; 3 2 import { SpeedCheckerButton } from "../speed-checker-button"; 4 3 import { GenericBanner } from "./generic-banner"; 5 4 ··· 23 22 actions={ 24 23 <div className="flex gap-2"> 25 24 <Button className="rounded-full" variant="outline" asChild> 26 - <Link href="/app/login" className="text-nowrap"> 25 + <a href="https://app.openstatus.dev" className="text-nowrap"> 27 26 Start for free 28 - </Link> 27 + </a> 29 28 </Button> 30 29 <SpeedCheckerButton /> 31 30 </div>
+1 -1
apps/web/src/components/marketing/hero.tsx
··· 42 42 <div className="my-4 grid gap-2 sm:grid-cols-2"> 43 43 <div className="text-center sm:block sm:text-right"> 44 44 <Button className="w-48 rounded-full sm:w-auto" asChild> 45 - <Link href="/app/login">Get Started</Link> 45 + <a href="https://app.openstatus.dev">Get Started</a> 46 46 </Button> 47 47 </div> 48 48 <div className="text-center sm:block sm:text-left">
+4 -1
apps/web/src/components/marketing/in-between-cta.tsx
··· 62 62 <InBetweenCTA 63 63 description="Learn how your services are performing over time, and notify your users of any issues." 64 64 actions={{ 65 - primary: { label: "Start for Free", href: "/app/login" }, 65 + primary: { 66 + label: "Start for Free", 67 + href: "https://app.openstatus.dev", 68 + }, 66 69 secondary: { label: "Schedule a Demo", href: "/cal", target: "_blank" }, 67 70 }} 68 71 {...props}