Skip to content

Open-source status page, incident response and uptime monitoring

✏️ small improvements (#183)

Thibault Le Ouay25aad5945df1
diff --git a/apps/web/src/app/app/(auth)/layout.tsx b/apps/web/src/app/app/(auth)/layout.tsx
index dae87a17b..93509cb0e 100644
--- a/apps/web/src/app/app/(auth)/layout.tsx
+++ b/apps/web/src/app/app/(auth)/layout.tsx
@@ -12,11 +12,12 @@ export default function AuthLayout({
<aside className="border-border col-span-1 flex w-full items-center justify-center border p-3 backdrop-blur-[2px] md:p-6">
<div className="w-full max-w-lg text-left">
<h1 className="font-cal text-foreground mb-3 text-2xl">
- Open Source Status Page
+ Open Source Monitoring Service
</h1>
<p className="text-muted-foreground">
- Create your own status page within a couple of minutes. You are
- developer and want to know how it works? <br />
+ Monitor your website or API and create your own status page within a
+ couple of minutes. Want to know how it works? <br />
+ <br />
Check out{" "}
<a
href="https://github.com/openstatushq/openstatus"
@@ -30,9 +31,9 @@ export default function AuthLayout({
</p>
{/* Add Demo tracker here? */}
<div className="h-12" />
- <p className="text-muted-foreground text-right text-sm font-light">
+ {/* <p className="text-muted-foreground text-right text-sm font-light">
*your data is safe
- </p>
+ </p> */}
</div>
</aside>
<main className="container col-span-1 mx-auto flex items-center justify-center md:col-span-1 xl:col-span-2">
diff --git a/apps/web/src/app/app/(auth)/sign-in/[[...sign-in]]/page.tsx b/apps/web/src/app/app/(auth)/sign-in/[[...sign-in]]/page.tsx
index e0d2cc309..53d95220b 100644
--- a/apps/web/src/app/app/(auth)/sign-in/[[...sign-in]]/page.tsx
+++ b/apps/web/src/app/app/(auth)/sign-in/[[...sign-in]]/page.tsx
@@ -1,5 +1,12 @@
-import { SignIn } from "@clerk/nextjs";
+import { redirect } from "next/navigation";
+import { auth, SignIn } from "@clerk/nextjs";
export default function Page() {
- return <SignIn redirectUrl={"/app"} />;
+ const { userId } = auth();
+
+ if (userId) {
+ redirect("/app");
+ }
+
+ return <SignIn redirectUrl={"/app"} afterSignInUrl={"/app"} />;
}
diff --git a/apps/web/src/app/app/(auth)/sign-up/[[...sign-up]]/page.tsx b/apps/web/src/app/app/(auth)/sign-up/[[...sign-up]]/page.tsx
index 5efc3e786..4366ebccc 100644
--- a/apps/web/src/app/app/(auth)/sign-up/[[...sign-up]]/page.tsx
+++ b/apps/web/src/app/app/(auth)/sign-up/[[...sign-up]]/page.tsx
@@ -1,5 +1,12 @@
-import { SignUp } from "@clerk/nextjs";
+import { redirect } from "next/navigation";
+import { auth, SignUp } from "@clerk/nextjs";
export default function Page() {
- return <SignUp redirectUrl={"/app"} />;
+ const { userId } = auth();
+
+ if (userId) {
+ redirect("/app");
+ }
+
+ return <SignUp redirectUrl={"/app"} afterSignUpUrl={"/app"} />;
}
diff --git a/apps/web/src/app/layout.tsx b/apps/web/src/app/layout.tsx
index c057e2a5e..cf96b9b7c 100644
--- a/apps/web/src/app/layout.tsx
+++ b/apps/web/src/app/layout.tsx
@@ -20,7 +20,8 @@ const calSans = LocalFont({
});
const TITLE = "OpenStatus";
-const DESCRIPTION = "Open-Source alternative to your current status page.";
+const DESCRIPTION =
+ "Open-Source alternative to your current status page and monitoring service.";
export const metadata: Metadata = {
title: TITLE,
diff --git a/apps/web/src/app/page.tsx b/apps/web/src/app/page.tsx
index 62917cbc1..df283ed42 100644
--- a/apps/web/src/app/page.tsx
+++ b/apps/web/src/app/page.tsx
@@ -36,7 +36,7 @@ export default async function Page() {
</p>
<div className="my-4 flex items-center justify-center gap-2">
<Button asChild className="rounded-full">
- <Link href="/app">Get Started</Link>
+ <Link href="/app/sign-up">Get Started</Link>
</Button>
<Button asChild variant="link">
<Link href="/github" target="_blank">
diff --git a/apps/web/src/components/layout/marketing-header.tsx b/apps/web/src/components/layout/marketing-header.tsx
index 6a3236843..512144550 100644
--- a/apps/web/src/components/layout/marketing-header.tsx
+++ b/apps/web/src/components/layout/marketing-header.tsx
@@ -31,7 +31,7 @@ export function MarketingHeader({ className }: Props) {
<Link href="/blog">Blog</Link>
</Button>
<Button asChild className="rounded-full">
- <Link href="/app">Sign Up</Link>
+ <Link href="/app/sign-up">Sign Up</Link>
</Button>
</div>
</header>
diff --git a/apps/web/src/components/marketing/cards.tsx b/apps/web/src/components/marketing/cards.tsx
index 9c367ba08..314bc650a 100644
--- a/apps/web/src/components/marketing/cards.tsx
+++ b/apps/web/src/components/marketing/cards.tsx
@@ -18,7 +18,7 @@ const cardConfig: {
icon: "panel-top",
title: "Status Pages",
description:
- "Create your own status page within seconds. Select your monitors you wish to display.",
+ "Create your own status page within seconds. Select the information you want to display.",
},
{
icon: "siren",
diff --git a/apps/web/src/components/marketing/faqs.tsx b/apps/web/src/components/marketing/faqs.tsx
index 3e9ce4ee6..230fcdb91 100644
--- a/apps/web/src/components/marketing/faqs.tsx
+++ b/apps/web/src/components/marketing/faqs.tsx
@@ -17,15 +17,15 @@ const faqsConfig: Record<"q" | "a", string>[] = [
},
{
q: "How does it work?",
- a: "We will ping your endpoint from multiple region to figure out if it's up or down. We will then display the status on your status page.",
+ a: "We ping your endpoints from multiple regions to calculate uptime. We display the status on your status page.",
},
{
q: "What regions do we support?",
- a: "We support all the <strong>vercel regions</strong>. Find the full list <a href='https://vercel.com/docs/concepts/edge-network/regions' target='_blank'>here</a>.",
+ a: "We support all the <strong>Vercel regions</strong>. Find the full list <a href='https://vercel.com/docs/concepts/edge-network/regions' target='_blank'>here</a>.",
},
{
q: "How can I help?",
- a: "You can star our project on <a href='https://github.com/openstatusHQ/openstatus'>github</a>, or contribute to it. Or you can also become a paid user.",
+ a: "You can star our project on <a href='https://github.com/openstatusHQ/openstatus'>GitHub</a>, or contribute to it. Or you can also become a paid user.",
},
];
diff --git a/apps/web/src/components/marketing/plans.tsx b/apps/web/src/components/marketing/plans.tsx
index a561dbdb2..7a1000e4d 100644
--- a/apps/web/src/components/marketing/plans.tsx
+++ b/apps/web/src/components/marketing/plans.tsx
@@ -30,7 +30,7 @@ const plans: Record<"hobby" | "pro" | "enterprise", Plan> = {
],
action: {
text: "Start Now",
- link: "/app?plan=hobby",
+ link: "/app/sign-up?plan=hobby",
},
},
pro: {
@@ -46,7 +46,7 @@ const plans: Record<"hobby" | "pro" | "enterprise", Plan> = {
],
action: {
text: "Start Now",
- link: "/app?plan=pro",
+ link: "/app/sign-up?plan=pro",
},
},
enterprise: {
diff --git a/packages/emails/emails/welcome.tsx b/packages/emails/emails/welcome.tsx
index c07616c7f..2318e4ffe 100644
--- a/packages/emails/emails/welcome.tsx
+++ b/packages/emails/emails/welcome.tsx
@@ -25,7 +25,7 @@ const WelcomeEmail = () => {
Thibault Le Ouay Ducasse
<br />
<br />⭐ Star us on{" "}
- <Link href="https://github.com/openstatushq/openstatus">Github</Link>
+ <Link href="https://github.com/openstatushq/openstatus">GitHub</Link>
<br />
🚀 Visit our website{" "}
<Link href="https://www.openstatus.dev">OpenStatus.dev</Link>