diff --git a/.env b/.env index 923411a..2fc88aa 100644 --- a/.env +++ b/.env @@ -4,3 +4,4 @@ NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL=/ NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL=/ NEXT_PUBLIC_GRAPHQL_ENDPOINT='https://api.jsconf.dev/graphql' NEXT_PUBLIC_TOKEN_STORAGE_KEY='HS:token_storage_key' +NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY='pk_test_ZnVua3ktZ3JpZmZvbi04NC5jbGVyay5hY2NvdW50cy5kZXYk' diff --git a/.gitignore b/.gitignore index 8f322f0..0d57ee3 100644 --- a/.gitignore +++ b/.gitignore @@ -33,3 +33,7 @@ yarn-error.log* # typescript *.tsbuildinfo next-env.d.ts + +# # GQL / code-generation +# src/api/gql/**/* +# src/**/*.generated.* diff --git a/.prettierignore b/.prettierignore index 0fe97b3..2bb4e93 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1 +1,2 @@ -src/api/types.ts +src/api/gql/**/* +src/**/*.generated.* diff --git a/src/app/(transition)/(root)/layout.tsx b/app/(transition)/(root)/layout.tsx similarity index 69% rename from src/app/(transition)/(root)/layout.tsx rename to app/(transition)/(root)/layout.tsx index 06bec15..adf60e3 100644 --- a/src/app/(transition)/(root)/layout.tsx +++ b/app/(transition)/(root)/layout.tsx @@ -1,15 +1,13 @@ import PageTransition from "@/components/PageTransition"; -import { currentUser } from "@clerk/nextjs"; import { Nav } from "@/components/nav"; export default async function Template({ children, }: { children: React.ReactNode; }) { - const user = await currentUser(); return ( <> -