Merge pull request #3108 from Infisical/minor-ui-improvements

Improvement: UI Improvements & Invite User to Org from Project Invite Modal
This commit is contained in:
Scott Wilson
2025-02-12 10:07:42 -08:00
committed by GitHub
156 changed files with 1083 additions and 307 deletions
@@ -1,15 +1,17 @@
import { ReactNode } from "@tanstack/react-router";
import { twMerge } from "tailwind-merge";
type Props = {
title: ReactNode;
description?: ReactNode;
children?: ReactNode;
className?: string;
};
export const PageHeader = ({ title, description, children }: Props) => (
<div className="mb-4">
export const PageHeader = ({ title, description, children, className }: Props) => (
<div className={twMerge("mb-4", className)}>
<div className="flex w-full justify-between">
<div>
<div className="w-full">
<h1 className="mr-4 text-3xl font-semibold capitalize text-white">{title}</h1>
</div>
<div>{children}</div>