SILENT KILLERPanel

Current Path: > home > codekrsu > > ameliagraphics.com > wp-content > plugins > extendify > src > > Launch > hooks >


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: /home/codekrsu//ameliagraphics.com/wp-content/plugins/extendify/src//Launch/hooks/

NameTypeSizeLast ModifiedActions
useConfetti.js File 555 bytes October 11 2023 06:07:34.
useFetch.js File 342 bytes October 08 2024 14:19:28.
useGoals.js File 676 bytes July 16 2025 19:39:24.
useHomeLayouts.js File 1187 bytes July 16 2025 19:39:24.
useIsMounted.js File 464 bytes October 11 2023 06:07:34.
usePreviewIframe.js File 3802 bytes April 22 2025 21:31:24.
useSiteImages.js File 439 bytes December 19 2024 22:43:36.
useSiteLogo.js File 802 bytes June 03 2025 19:26:54.
useSiteProfile.js File 533 bytes December 19 2024 22:43:36.
useSiteQuestions.js File 577 bytes July 16 2025 19:39:24.
useSiteStrings.js File 445 bytes December 19 2024 22:43:36.
useSiteStyles.js File 599 bytes February 04 2025 00:18:34.
useTelemetry.js File 4630 bytes July 16 2025 19:39:24.
useWarnOnLeave.js File 501 bytes October 11 2023 06:07:34.

Reading File: /home/codekrsu//ameliagraphics.com/wp-content/plugins/extendify/src//Launch/hooks//useSiteLogo.js

import { resizeImage } from '@shared/utils/resize-image';
import useSWRImmutable from 'swr/immutable';
import { getSiteLogo } from '@launch/api/DataApi';
import { useSiteProfile } from '@launch/hooks/useSiteProfile';

export const useSiteLogo = () => {
	const { siteProfile, loading: profileLoading } = useSiteProfile();

	const { data, error } = useSWRImmutable(
		profileLoading || !siteProfile
			? null
			: {
					key: 'site-logo',
					logoObjectName: siteProfile?.logoObjectName,
				},
		async ({ logoObjectName }) => {
			const rawLogoUrl = await getSiteLogo(logoObjectName);
			return await resizeImage(rawLogoUrl, {
				size: { width: 256, height: 256 },
				mimeType: 'image/webp',
			});
		},
	);

	return {
		logoUrl: data,
		error,
		loading: profileLoading || (!data && !error),
	};
};

SILENT KILLER Tool