import Image from "next/image"; import { useTheme } from "next-themes"; import { Home, Zap } from "lucide-react"; // images import githubBlackImage from "/public/logos/github-black.png"; import githubWhiteImage from "/public/logos/github-white.png"; // hooks // components import { Breadcrumbs } from "@plane/ui"; import { BreadcrumbLink } from "@/components/common"; // constants import { CHANGELOG_REDIRECTED, GITHUB_REDIRECTED } from "@/constants/event-tracker"; import { useEventTracker } from "@/hooks/store"; export const WorkspaceDashboardHeader = () => { // hooks const { captureEvent } = useEventTracker(); const { resolvedTheme } = useTheme(); return ( <>
} />} />
captureEvent(CHANGELOG_REDIRECTED, { element: "navbar", }) } href="https://plane.so/changelog" target="_blank" rel="noopener noreferrer" className="flex flex-shrink-0 items-center gap-1.5 rounded bg-custom-background-80 px-3 py-1.5" > {"What's new?"} captureEvent(GITHUB_REDIRECTED, { element: "navbar", }) } className="flex flex-shrink-0 items-center gap-1.5 rounded bg-custom-background-80 px-3 py-1.5" href="https://github.com/makeplane/plane" target="_blank" rel="noopener noreferrer" > GitHub Logo Star us on GitHub
); };