Files
cal.diy/apps/web/modules/settings/my-account/profile-skeleton.tsx
T
Benny JooandDevin AI b3430c8efc refactor: remove 10 trpc imports from features package by moving 16 tRPC-driven components to apps/web/modules (#27336)
* refactor: move Segment, BookerLayoutSelector, CreateLicenseKeyForm from packages/features to apps/web/modules

Co-Authored-By: [email protected] <[email protected]>

* fix: update relative imports to absolute paths in moved files

Co-Authored-By: [email protected] <[email protected]>

* refactor: move useBookingLocation and blocklist components from packages/features to apps/web/modules

Co-Authored-By: [email protected] <[email protected]>

* refactor: move EmbedTabs and embed hooks from packages/features to apps/web/modules

Co-Authored-By: [email protected] <[email protected]>

* fix

* migrate useBookerUrl

* migrate embed tabs

* fix

* fix

* fix

* mv ThemeLabel

* mv settings headers to webn

* update imports

* clean up

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-01-30 04:55:50 -03:00

36 lines
1.1 KiB
TypeScript

"use client";
import SettingsHeader from "@calcom/web/modules/settings/components/SettingsHeader";
import { APP_NAME } from "@calcom/lib/constants";
import { useLocale } from "@calcom/lib/hooks/useLocale";
import {
SkeletonButton,
SkeletonAvatar,
SkeletonContainer,
SkeletonText,
} from "@calcom/ui/components/skeleton";
export const SkeletonLoader = () => {
const { t } = useLocale();
return (
<SettingsHeader
title={t("profile")}
description={t("profile_description", { appName: APP_NAME })}
borderInShellHeader={true}>
<SkeletonContainer>
<div className="border-subtle stack-y-6 rounded-b-lg border border-t-0 px-4 py-8">
<div className="flex items-center">
<SkeletonAvatar className="me-4 mt-0 h-16 w-16 px-4" />
<SkeletonButton className="h-6 w-32 rounded-md p-5" />
</div>
<SkeletonText className="h-8 w-full" />
<SkeletonText className="h-8 w-full" />
<SkeletonText className="h-8 w-full" />
<SkeletonButton className="mr-6 h-8 w-20 rounded-md p-5" />
</div>
</SkeletonContainer>
</SettingsHeader>
);
};