mirror of https://github.com/buster-so/buster.git
Update BusterPosthogProvider.tsx
This commit is contained in:
parent
f4d3720aba
commit
863aeb3f61
|
@ -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(
|
||||
|
|
|
@ -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' },
|
||||
],
|
||||
};
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue