Files
2b7a259169 chore: Update the with-supabase example to use the Supabase Auth block (#78913)
This PR updates the `with-supabase` template to better auth pages,
Tailwind v4 and newest `components.json` for full compatibility with
shadcn/ui.

The `(auth-pages)` folder has been removed. For auth, the template is
now using the [password based auth
block](https://supabase.com/ui/docs/nextjs/password-based-auth) from the
Supabase UI Library which makes it easier to update it and keep it
up-to-date.

---------

Co-authored-by: Lee Robinson <[email protected]>
2025-05-28 12:19:55 -05:00

21 lines
537 B
TypeScript

import { Badge } from "./ui/badge";
import { Button } from "./ui/button";
export function EnvVarWarning() {
return (
<div className="flex gap-4 items-center">
<Badge variant={"outline"} className="font-normal">
Supabase environment variables required
</Badge>
<div className="flex gap-2">
<Button size="sm" variant={"outline"} disabled>
Sign in
</Button>
<Button size="sm" variant={"default"} disabled>
Sign up
</Button>
</div>
</div>
);
}