Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore/update with supa #69336

Draft
wants to merge 9 commits into
base: canary
Choose a base branch
from
Draft

Conversation

saltcod
Copy link
Contributor

@saltcod saltcod commented Aug 26, 2024

branched off @MildTomato's PR here:
#69308

  • updates readme with shadcn/ui re-install instructions
  • moves moves functions to actions.ts file
  • adds .env.example back

@ijjk ijjk added the examples Issue/PR related to examples label Aug 26, 2024
@saltcod saltcod marked this pull request as draft August 26, 2024 23:46
@ijjk
Copy link
Member

ijjk commented Aug 26, 2024

Allow CI Workflow Run

  • approve CI run for commit: 0ac6538

Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer

Copy link

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@radix-ui/react-label@2.1.0 None 0 9.41 kB vladmoroz
npm/class-variance-authority@0.7.0 None +1 15.7 kB joebell93
npm/lucide-react@0.436.0 None 0 24.5 MB ericfennis
npm/next-themes@0.3.0 None 0 18.2 kB paco
npm/tailwindcss-animate@1.0.7 Transitive: environment, filesystem +1 215 kB thejameskyle

View full report↗︎

@@ -1,6 +0,0 @@
import { clsx, type ClassValue } from "clsx";
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dupe, already in utils.ts

@@ -0,0 +1,4 @@
# Update these with your Supabase details from your project settings > API
# https://app.supabase.com/project/_/settings/api
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this was deleted from Jonny's branch

@@ -72,7 +73,9 @@ If you wish to just develop locally and not deploy to Vercel, [follow the steps

Both `NEXT_PUBLIC_SUPABASE_URL` and `NEXT_PUBLIC_SUPABASE_ANON_KEY` can be found in [your Supabase project's API settings](https://app.supabase.com/project/_/settings/api)

5. You can now run the Next.js local development server:
5. This template comes with the default shadcn/ui style initialized. If you instead want the `New York` style, delete `components.json` and [re-install shadcn/ui](https://ui.shadcn.com/docs/installation/next)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since we initialize shadcn for them

@@ -12,7 +12,7 @@ export function FormMessage({ message }: { message: Message }) {
</div>
)}
{"error" in message && (
<div className="text-destructive-foreground border-l-2 border-destructive-foreground px-4">
<div className="text-red-500 border-l-2 border-destructive-foreground px-4">
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

colour wasn't working in light mode, so went with red

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

weird, i'll check what's wrong.

shouddn't use hard coded colors

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
examples Issue/PR related to examples
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants