Update BusterPosthogProvider.tsx

This commit is contained in:
Nate Kelley 2025-09-10 20:42:02 -06:00
parent f4d3720aba
commit 863aeb3f61
No known key found for this signature in database
GPG Key ID: FD90372AB8D98B4F
2 changed files with 12 additions and 12 deletions

View File

@ -41,7 +41,7 @@ const options: Partial<PostHogConfig> = {
loaded: () => { loaded: () => {
console.log( console.log(
`🚀 Welcome to Buster v${version}`, `%c🚀 Welcome to Buster v${version}`,
'background: linear-gradient(to right, #a21caf, #8b1cb1, #6b21a8); color: white; font-size: 16px; font-weight: bold; padding: 10px; border-radius: 5px;' 'background: linear-gradient(to right, #a21caf, #8b1cb1, #6b21a8); color: white; font-size: 16px; font-weight: bold; padding: 10px; border-radius: 5px;'
); );
console.log( console.log(

View File

@ -1,28 +1,28 @@
import { createFileRoute } from "@tanstack/react-router"; import { createFileRoute } from '@tanstack/react-router';
import { z } from "zod"; import { z } from 'zod';
import { AppPageLayout } from "@/components/ui/layouts/AppPageLayout"; import { AppPageLayout } from '@/components/ui/layouts/AppPageLayout';
import { HomePageController, HomePageHeader } from "@/controllers/HomePage"; import { HomePageController, HomePageHeader } from '@/controllers/HomePage';
const searchParamsSchema = z.object({ const searchParamsSchema = z.object({
q: z.string().optional(), q: z.string().optional(),
submit: z submit: z
.preprocess((val) => { .preprocess((val) => {
if (typeof val === "string") { if (typeof val === 'string') {
return val === "true"; return val === 'true';
} }
return val; return val;
}, z.boolean()) }, z.boolean())
.optional(), .optional(),
}); });
export const Route = createFileRoute("/app/_app/home")({ export const Route = createFileRoute('/app/_app/home')({
head: () => { head: () => {
return { return {
meta: [ meta: [
{ title: "Home" }, { title: 'Home' },
{ name: "description", content: "Buster home dashboard" }, { name: 'description', content: 'Buster home dashboard' },
{ name: "og:title", content: "Home" }, { name: 'og:title', content: 'Home' },
{ name: "og:description", content: "Buster home dashboard" }, { name: 'og:description', content: 'Buster home dashboard' },
], ],
}; };
}, },