mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-16 23:25:26 +00:00
Fix: Format entire frontend properly
This commit is contained in:
@@ -13,8 +13,8 @@ const tabs = [
|
||||
export const ProjectSettingsPage = () => {
|
||||
const { t } = useTranslation();
|
||||
return (
|
||||
<div className="flex justify-center w-full h-full bg-bunker-800 text-white">
|
||||
<div className="max-w-7xl px-6 w-full">
|
||||
<div className="flex h-full w-full justify-center bg-bunker-800 text-white">
|
||||
<div className="w-full max-w-7xl px-6">
|
||||
<div className="my-6">
|
||||
<p className="text-3xl font-semibold text-gray-200">{t("settings.project.title")}</p>
|
||||
</div>
|
||||
@@ -25,7 +25,7 @@ export const ProjectSettingsPage = () => {
|
||||
{({ selected }) => (
|
||||
<button
|
||||
type="button"
|
||||
className={`w-30 py-2 mx-2 mr-4 font-medium text-sm outline-none ${
|
||||
className={`w-30 mx-2 mr-4 py-2 text-sm font-medium outline-none ${
|
||||
selected ? "border-b border-white text-white" : "text-mineshaft-400"
|
||||
}`}
|
||||
>
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
export { AutoCapitalizationSection } from "./AutoCapitalizationSection";
|
||||
export { AutoCapitalizationSection } from "./AutoCapitalizationSection";
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
export { DeleteProjectSection } from "./DeleteProjectSection";
|
||||
export { DeleteProjectSection } from "./DeleteProjectSection";
|
||||
|
||||
@@ -1,3 +1 @@
|
||||
export {
|
||||
E2EESection
|
||||
} from "./E2EESection";
|
||||
export { E2EESection } from "./E2EESection";
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
export { ProjectGeneralTab } from "./ProjectGeneralTab";
|
||||
export { ProjectGeneralTab } from "./ProjectGeneralTab";
|
||||
|
||||
+5
-1
@@ -12,7 +12,11 @@ import { useRenameWorkspace } from "@app/hooks/api";
|
||||
import { CopyButton } from "./CopyButton";
|
||||
|
||||
const formSchema = yup.object({
|
||||
name: yup.string().required().label("Project Name").max(64, "Too long, maximum length is 64 characters"),
|
||||
name: yup
|
||||
.string()
|
||||
.required()
|
||||
.label("Project Name")
|
||||
.max(64, "Too long, maximum length is 64 characters")
|
||||
});
|
||||
|
||||
type FormData = yup.InferType<typeof formSchema>;
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
export {SecretTagsSection} from "./SecretTagsSection"
|
||||
export { SecretTagsSection } from "./SecretTagsSection";
|
||||
|
||||
@@ -3,4 +3,4 @@ export { DeleteProjectSection } from "./DeleteProjectSection";
|
||||
export { E2EESection } from "./E2EESection";
|
||||
export { EnvironmentSection } from "./EnvironmentSection";
|
||||
export { ProjectNameChangeSection } from "./ProjectNameChangeSection";
|
||||
export { SecretTagsSection } from "./SecretTagsSection";
|
||||
export { SecretTagsSection } from "./SecretTagsSection";
|
||||
|
||||
Reference in New Issue
Block a user