your personal website on atproto - mirror blento.app

format and check

+43 -57
+34 -34
.claude/settings.local.json
··· 1 1 { 2 - "permissions": { 3 - "allow": [ 4 - "Bash(pnpm check:*)", 5 - "mcp__ide__getDiagnostics", 6 - "mcp__plugin_svelte_svelte__svelte-autofixer", 7 - "mcp__plugin_svelte_svelte__list-sections", 8 - "Bash(pkill:*)", 9 - "Bash(timeout 8 pnpm dev:*)", 10 - "Bash(git checkout:*)", 11 - "Bash(npx svelte-kit:*)", 12 - "Bash(ls:*)", 13 - "Bash(pnpm format:*)", 14 - "Bash(pnpm add:*)", 15 - "WebSearch", 16 - "WebFetch(domain:github.com)", 17 - "WebFetch(domain:flipclockjs.com)", 18 - "WebFetch(domain:codepen.io)", 19 - "WebFetch(domain:flo-bit.dev)", 20 - "Bash(pnpm install)", 21 - "Bash(pnpm install:*)", 22 - "Bash(pnpm config:*)", 23 - "Bash(lsof:*)", 24 - "Bash(pnpm dev)", 25 - "Bash(pnpm exec svelte-kit:*)", 26 - "Bash(pnpm build:*)", 27 - "Bash(pnpm remove:*)", 28 - "Bash(grep:*)", 29 - "Bash(find:*)", 30 - "Bash(npx prettier:*)", 31 - "Bash(node -e:*)", 32 - "mcp__plugin_svelte_svelte__get-documentation", 33 - "WebFetch(domain:bits-ui.com)" 34 - ] 35 - } 2 + "permissions": { 3 + "allow": [ 4 + "Bash(pnpm check:*)", 5 + "mcp__ide__getDiagnostics", 6 + "mcp__plugin_svelte_svelte__svelte-autofixer", 7 + "mcp__plugin_svelte_svelte__list-sections", 8 + "Bash(pkill:*)", 9 + "Bash(timeout 8 pnpm dev:*)", 10 + "Bash(git checkout:*)", 11 + "Bash(npx svelte-kit:*)", 12 + "Bash(ls:*)", 13 + "Bash(pnpm format:*)", 14 + "Bash(pnpm add:*)", 15 + "WebSearch", 16 + "WebFetch(domain:github.com)", 17 + "WebFetch(domain:flipclockjs.com)", 18 + "WebFetch(domain:codepen.io)", 19 + "WebFetch(domain:flo-bit.dev)", 20 + "Bash(pnpm install)", 21 + "Bash(pnpm install:*)", 22 + "Bash(pnpm config:*)", 23 + "Bash(lsof:*)", 24 + "Bash(pnpm dev)", 25 + "Bash(pnpm exec svelte-kit:*)", 26 + "Bash(pnpm build:*)", 27 + "Bash(pnpm remove:*)", 28 + "Bash(grep:*)", 29 + "Bash(find:*)", 30 + "Bash(npx prettier:*)", 31 + "Bash(node -e:*)", 32 + "mcp__plugin_svelte_svelte__get-documentation", 33 + "WebFetch(domain:bits-ui.com)" 34 + ] 35 + } 36 36 }
+1 -6
src/lib/cards/social/UpcomingEventsCard/UpcomingEventsCard.svelte
··· 24 24 25 25 type EventWithRkey = EventData & { rkey: string }; 26 26 27 - // svelte-ignore state_referenced_locally 28 27 let events = $state<EventWithRkey[]>( 29 28 ((data['upcomingEvents'] as { events?: EventWithRkey[] })?.events ?? []) as EventWithRkey[] 30 29 ); ··· 164 163 stroke="currentColor" 165 164 class="size-4" 166 165 > 167 - <path 168 - stroke-linecap="round" 169 - stroke-linejoin="round" 170 - d="M12 4.5v15m7.5-7.5h-15" 171 - /> 166 + <path stroke-linecap="round" stroke-linejoin="round" d="M12 4.5v15m7.5-7.5h-15" /> 172 167 </svg> 173 168 </a> 174 169 </div>
-15
src/lib/cards/social/UpcomingRsvpsCard/UpcomingRsvpsCard.svelte
··· 14 14 const did = getDidContext(); 15 15 const handle = getHandleContext(); 16 16 17 - // svelte-ignore state_referenced_locally 18 17 let rsvps = $state<ResolvedRsvp[]>( 19 18 ((data['upcomingRsvps'] as { rsvps?: ResolvedRsvp[] })?.rsvps ?? []) as ResolvedRsvp[] 20 19 ); ··· 55 54 hour: 'numeric', 56 55 minute: '2-digit' 57 56 }); 58 - } 59 - 60 - function getModeLabel(mode: string): string { 61 - if (mode.includes('virtual')) return 'Virtual'; 62 - if (mode.includes('hybrid')) return 'Hybrid'; 63 - if (mode.includes('inperson')) return 'In-Person'; 64 - return 'Event'; 65 - } 66 - 67 - function getModeColor(mode: string): string { 68 - if (mode.includes('virtual')) return 'blue'; 69 - if (mode.includes('hybrid')) return 'purple'; 70 - if (mode.includes('inperson')) return 'green'; 71 - return 'gray'; 72 57 } 73 58 </script> 74 59
+1 -1
src/lib/website/Account.svelte
··· 20 20 <Popover sideOffset={8} bind:open={settingsPopoverOpen} class="bg-base-100 dark:bg-base-900"> 21 21 {#snippet child({ props })} 22 22 <button {...props}> 23 - <Avatar src={user.profile?.avatar} alt="" class="size-15 rounded-full cursor-pointer" /> 23 + <Avatar src={user.profile?.avatar} alt="" class="size-15 cursor-pointer rounded-full" /> 24 24 </button> 25 25 {/snippet} 26 26
+6 -1
src/routes/[[actor=actor]]/events/[rkey]/EventAttendees.svelte
··· 166 166 </div> 167 167 {/if} 168 168 169 - <Modal bind:open={modalOpen} closeButton onOpenAutoFocus={(e: Event) => e.preventDefault()} class="p-0"> 169 + <Modal 170 + bind:open={modalOpen} 171 + closeButton 172 + onOpenAutoFocus={(e: Event) => e.preventDefault()} 173 + class="p-0" 174 + > 170 175 <p class="text-base-900 dark:text-base-50 px-4 pt-4 text-lg font-semibold"> 171 176 {modalTitle} 172 177 <span class="text-base-500 dark:text-base-400 text-sm font-normal">
+1
src/routes/[[actor=actor]]/events/[rkey]/edit/+page.svelte
··· 412 412 const s = new Date(startsAt); 413 413 const e = new Date(endsAt); 414 414 if (s >= e) { 415 + // eslint-disable-next-line svelte/prefer-svelte-reactivity -- temporary local, not reactive state 415 416 const adjusted = new Date(s); 416 417 adjusted.setHours(adjusted.getHours() + 1); 417 418 endsAt = isoToDatetimeLocal(adjusted.toISOString());