diff --git a/apps/web/src/app/(app)/@user/page.tsx b/apps/web/src/app/(app)/@user/page.tsx
index e49391a..d7d5467 100644
--- a/apps/web/src/app/(app)/@user/page.tsx
+++ b/apps/web/src/app/(app)/@user/page.tsx
@@ -1,3 +1,6 @@
+import { Alert, AlertDescription, AlertTitle } from "@/components/alert";
+import { get } from "@vercel/edge-config";
+
import {
Card,
CardContent,
@@ -7,24 +10,38 @@ import {
} from "@tanya.in/ui/card";
import { Chat } from "@tanya.in/ui/chat";
-export default function HomePage() {
+export default async function HomePage() {
+ const isTesting = await get("testing");
+
return (
-
-
-
- Tanya.in saja!
-
-
-
-
-
-
-
- /: To choose the topic
-
-
-
-
-
+ <>
+ {isTesting && (
+
+ Testing mode: ON
+
+ Sorry, currently the site is in testing mode. Chat responses may not
+ be accurate.
+
+
+ )}
+
+
+
+
+ Tanya.in saja!
+
+
+
+
+
+
+
+ /: To choose the topic
+
+
+
+
+
+ >
);
}
diff --git a/apps/web/src/app/(app)/layout.tsx b/apps/web/src/app/(app)/layout.tsx
index de1a533..ad5033c 100644
--- a/apps/web/src/app/(app)/layout.tsx
+++ b/apps/web/src/app/(app)/layout.tsx
@@ -37,7 +37,7 @@ export default async function AuthLayout(props: {
diff --git a/apps/web/src/components/alert.tsx b/apps/web/src/components/alert.tsx
new file mode 100644
index 0000000..d0a8ae1
--- /dev/null
+++ b/apps/web/src/components/alert.tsx
@@ -0,0 +1,60 @@
+import type { VariantProps } from "class-variance-authority";
+import * as React from "react";
+import { cva } from "class-variance-authority";
+
+import { cn } from "@tanya.in/ui";
+
+const alertVariants = cva(
+ "relative w-full rounded-lg border p-4 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",
+ {
+ variants: {
+ variant: {
+ default: "bg-background text-foreground",
+ destructive:
+ "border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive",
+ },
+ },
+ defaultVariants: {
+ variant: "default",
+ },
+ },
+);
+
+const Alert = React.forwardRef<
+ HTMLDivElement,
+ React.HTMLAttributes & VariantProps
+>(({ className, variant, ...props }, ref) => (
+
+));
+Alert.displayName = "Alert";
+
+const AlertTitle = React.forwardRef<
+ HTMLParagraphElement,
+ React.HTMLAttributes
+>(({ className, ...props }, ref) => (
+
+));
+AlertTitle.displayName = "AlertTitle";
+
+const AlertDescription = React.forwardRef<
+ HTMLParagraphElement,
+ React.HTMLAttributes
+>(({ className, ...props }, ref) => (
+
+));
+AlertDescription.displayName = "AlertDescription";
+
+export { Alert, AlertTitle, AlertDescription };