Skip to content

armgit / kaneo

Public Imported from GitHub
0

⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.

858 B
Raw Blame
import { Button } from "./ui/button";

export function DemoAlert() {
  return (
    <div className="sticky top-0 left-0 right-0 flex flex-col border-warning/30 border-b bg-warning/10 px-4 py-3 text-center">
      <div className="flex flex-col items-center justify-center gap-2 text-sm text-warning-foreground sm:flex-row">
        <p className="flex flex-col sm:flex-row items-center gap-2">
          This is a demo environment. All data will be automatically purged
          every hour.
          <Button
            onClick={() =>
              window.open("https://github.com/usekaneo/kaneo", "_blank")
            }
            className="h-7 whitespace-nowrap bg-warning/15 px-3 text-warning-foreground text-xs hover:bg-warning/25 sm:h-6 sm:px-2"
          >
            Deploy your own
          </Button>
        </p>
      </div>
    </div>
  );
}