minor
This commit is contained in:
@@ -7,7 +7,7 @@ export function UserDropdown() {
|
|||||||
<DropdownMenu>
|
<DropdownMenu>
|
||||||
<DropdownMenuTrigger asChild>
|
<DropdownMenuTrigger asChild>
|
||||||
<button>
|
<button>
|
||||||
<Avatar className="text-black">
|
<Avatar>
|
||||||
<AvatarFallback>CL</AvatarFallback>
|
<AvatarFallback>CL</AvatarFallback>
|
||||||
</Avatar>
|
</Avatar>
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
@@ -15,10 +15,10 @@ export function MainLayout({ children, className }: MainLayoutProps) {
|
|||||||
<meta name="description" content="Generated by create-t3-app" />
|
<meta name="description" content="Generated by create-t3-app" />
|
||||||
<link rel="icon" href="/favicon.ico" />
|
<link rel="icon" href="/favicon.ico" />
|
||||||
</Head>
|
</Head>
|
||||||
<nav className="flex h-20 items-center justify-between border-b border-border bg-black px-8 text-white">
|
<nav className="flex h-20 items-center justify-between border-b border-border bg-gradient-to-r from-blue-900 to-purple-600 px-8 text-white">
|
||||||
<div className="flex flex-col [&_*]:leading-tight">
|
<div className="flex flex-col [&_*]:leading-tight">
|
||||||
<span className="text-2xl font-extrabold">MIXAN</span>
|
<span className="text-2xl font-extrabold">MIXAN</span>
|
||||||
<span className="text-xs text-muted">v0.0.1</span>
|
<span className="text-xs text-gray-500">v0.0.1</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<Navbar />
|
<Navbar />
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* We also create a few inference helpers for input and output types.
|
* We also create a few inference helpers for input and output types.
|
||||||
*/
|
*/
|
||||||
import { httpBatchLink, loggerLink } from "@trpc/client";
|
import { httpBatchLink, httpLink, loggerLink } from "@trpc/client";
|
||||||
import { createTRPCNext } from "@trpc/next";
|
import { createTRPCNext } from "@trpc/next";
|
||||||
import { type inferRouterInputs, type inferRouterOutputs } from "@trpc/server";
|
import { type inferRouterInputs, type inferRouterOutputs } from "@trpc/server";
|
||||||
import superjson from "superjson";
|
import superjson from "superjson";
|
||||||
@@ -48,7 +48,7 @@ export const api = createTRPCNext<AppRouter>({
|
|||||||
process.env.NODE_ENV === "development" ||
|
process.env.NODE_ENV === "development" ||
|
||||||
(opts.direction === "down" && opts.result instanceof Error),
|
(opts.direction === "down" && opts.result instanceof Error),
|
||||||
}),
|
}),
|
||||||
httpBatchLink({
|
httpLink({
|
||||||
url: `${getBaseUrl()}/api/trpc`,
|
url: `${getBaseUrl()}/api/trpc`,
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user