mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
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]>
21 lines
537 B
TypeScript
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>
|
|
);
|
|
}
|