Skip to content

Conversation

@diksipav
Copy link

@diksipav diksipav commented Feb 25, 2025

I was debugging only the next-js templates, and tested only one sveltekit configuration (default one).

The biggest issue atm is nextjs with js.
In all created js projects tsconfig.json is automatically created together with types.d.ts , and typescript and typescript-eslint are part of package.json. I'm not sure what causes this, maybe eslint.config from the _base step. This results in the project running with err, after removing tsconfig, it works as expected.

I fixed the tailwind part, didn't fix tho the gradient which I believe we'll probably remove all together once we update homepages. Nextjs changed their welcome pages too, they simplified it and remove gradient (even tho they still haven't upgraded to tailwind v4).

tailwind.config.ts not needed anymore with tailwind v4, also content array should not be defined since they do it automatically.

Added await when getting the auth.getSession(); in the app router (needed since nextjs15).

In the pages router there was missing template when both auth and tw is used, I added those to both JS and TS.

I tested auth, app router/pages-router, js/ts, tailwind/no-tailwind.

NOTE / Future steps:
We need to discuss if we want to continue JS templates. And also updating homepages to be more gel oriented instead of specific FW oriented.

@diksipav diksipav requested a review from scotttrinh February 25, 2025 17:55
</p>
) : (
<p className="fixed left-0 top-0 flex w-full justify-center border-b border-gray-300 bg-gradient-to-b from-zinc-200 pb-6 pt-8 backdrop-blur-2xl dark:border-neutral-800 dark:bg-zinc-800/30 dark:from-inherit lg:static lg:w-auto lg:rounded-xl lg:border lg:bg-gray-200 lg:p-4 lg:dark:bg-zinc-800/30">
<p className="fixed left-0 top-0 flex-col w-full justify-center border-b border-gray-300 bg-gradient-to-b from-zinc-200 pb-6 pt-8 backdrop-blur-2xl dark:border-neutral-800 dark:bg-zinc-800/30 dark:from-inherit lg:static lg:w-auto lg:rounded-xl lg:border lg:bg-gray-200 lg:p-4 lg:dark:bg-zinc-800/30">
Copy link
Collaborator

Choose a reason for hiding this comment

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

Don't we need flex and flex-col?

You are signed in. <a href={clientAuth.getSignoutUrl()}>Sign Out</a>
</p>
) : (
<p className="fixed left-0 top-0 flex-col w-full justify-center border-b border-gray-300 bg-gradient-to-b from-zinc-200 pb-6 pt-8 backdrop-blur-2xl dark:border-neutral-800 dark:bg-zinc-800/30 dark:from-inherit lg:static lg:w-auto lg:rounded-xl lg:border lg:bg-gray-200 lg:p-4 lg:dark:bg-zinc-800/30">
Copy link
Collaborator

Choose a reason for hiding this comment

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

same here RE: flex and flex-col

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants