-
+
{#if !noUnsolicited}
{:else}
@@ -36,7 +37,7 @@
-
+
Has Recent Grants {hasRecentGrants ? 'Available' : 'Not Available'}
diff --git a/apps/web/src/lib/components/profiles/header/FoundationHeader.svelte b/apps/web/src/lib/components/profiles/header/FoundationHeader.svelte
index 0f993e4..43433fc 100644
--- a/apps/web/src/lib/components/profiles/header/FoundationHeader.svelte
+++ b/apps/web/src/lib/components/profiles/header/FoundationHeader.svelte
@@ -3,6 +3,7 @@
import { copy } from 'svelte-copy';
import toast from 'svelte-french-toast';
import Dot from '$lib/components/shared/icons/Dot.svelte';
+ import { tooltip } from '$utils/tooltip';
import LetterAvatar from '$lib/components/shared/avatars/LetterAvatar.svelte';
import { formatEin } from '@repo/shared/functions/formatters/ein';
import { formatTaxPeriodDate, isOutdatedISOString } from '@repo/shared/functions/formatters/dates';
@@ -13,9 +14,11 @@
organization_name: GrantmakersExtractedDataObj['organization_name'];
profile: GrantmakersExtractedDataObj;
formattedTaxPeriodEnd: string;
+ eobmfRecognizedExempt: boolean;
+ grantCount: number;
}
- let { organization_name, profile, formattedTaxPeriodEnd }: Props = $props();
+ let { organization_name, profile, formattedTaxPeriodEnd, eobmfRecognizedExempt, grantCount }: Props = $props();
let {
is_likely_staffed: isStaffed,
@@ -67,7 +70,9 @@
-
+ {#if eobmfRecognizedExempt}
+
+ {/if}
diff --git a/shared/utils/url-checker.js b/shared/utils/url-checker.js
new file mode 100644
index 0000000..5cd4304
--- /dev/null
+++ b/shared/utils/url-checker.js
@@ -0,0 +1,33 @@
+import { writeFile } from 'node:fs/promises';
+
+async function checkUrl(url) {
+ try {
+ await fetch(url, {
+ method: 'HEAD',
+ redirect: 'follow',
+ });
+ return { url, working: true };
+ } catch {
+ return { url, working: false };
+ }
+}
+
+async function main() {
+ const urls = [
+ 'http://youthexplosion4christ.com/',
+ 'https://youthexplosion4christ.com/',
+ // Your URLs here
+ ];
+
+ const results = await Promise.all(urls.map(checkUrl));
+
+ const deadLinks = results.filter((r) => !r.working).map((r) => r.url);
+
+ // await writeFile('dead-links.json', JSON.stringify(deadLinks, null, 2));
+ console.log(`Found ${deadLinks.length} dead links`);
+ console.log(JSON.stringify(deadLinks));
+}
+
+main().catch((error) => {
+ console.error(error);
+});