mirror of
https://github.com/formbricks/formbricks.git
synced 2026-03-18 09:41:32 -05:00
Co-authored-by: Dhruwang <dhruwangjariwala18@gmail.com> Co-authored-by: Matthias Nannt <mail@matthiasnannt.com> Co-authored-by: pandeymangg <anshuman.pandey9999@gmail.com>
40 lines
1.5 KiB
TypeScript
40 lines
1.5 KiB
TypeScript
"use client";
|
|
|
|
import { LoadingCard } from "@/app/(app)/components/LoadingCard";
|
|
import { ProjectConfigNavigation } from "@/modules/projects/settings/components/project-config-navigation";
|
|
import { PageContentWrapper } from "@/modules/ui/components/page-content-wrapper";
|
|
import { PageHeader } from "@/modules/ui/components/page-header";
|
|
import { useTranslations } from "next-intl";
|
|
|
|
export const GeneralSettingsLoading = () => {
|
|
const t = useTranslations();
|
|
const cards = [
|
|
{
|
|
title: t("common.project_name"),
|
|
description: t("environments.project.general.project_name_settings_description"),
|
|
skeletonLines: [{ classes: "h-4 w-28" }, { classes: "h-6 w-64" }, { classes: "h-8 w-24" }],
|
|
},
|
|
{
|
|
title: t("environments.project.general.recontact_waiting_time"),
|
|
description: t("environments.project.general.recontact_waiting_time_settings_description"),
|
|
skeletonLines: [{ classes: "h-4 w-28" }, { classes: "h-6 w-64" }, { classes: "h-8 w-24" }],
|
|
},
|
|
{
|
|
title: t("environments.project.general.delete_project"),
|
|
description: t("environments.project.general.delete_project_settings_description"),
|
|
skeletonLines: [{ classes: "h-4 w-96" }, { classes: "h-8 w-24" }],
|
|
},
|
|
];
|
|
|
|
return (
|
|
<PageContentWrapper>
|
|
<PageHeader pageTitle={t("common.configuration")}>
|
|
<ProjectConfigNavigation activeId="general" loading />
|
|
</PageHeader>
|
|
{cards.map((card, index) => (
|
|
<LoadingCard key={index} {...card} />
|
|
))}
|
|
</PageContentWrapper>
|
|
);
|
|
};
|