Merge pull request #857 from buster-so/nate/many-updates

Update BusterPosthogProvider.tsx
This commit is contained in:
Nate Kelley 2025-09-10 20:43:57 -06:00 committed by GitHub
commit 42c159bb21
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 12 additions and 12 deletions

View File

@ -41,7 +41,7 @@ const options: Partial<PostHogConfig> = {
loaded: () => {
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;'
);
console.log(

View File

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