style: FA→Lucide migration — events misc, badges, leads, hosted_files; variant-* fixes
- Batch-migrated 10 files via migrate_fa_to_lucide.py (53+18+10+1+4+2+1+1+6+4 FA instances) - events/ae_comp__events_menu_opts.svelte (53) - events/ae_comp__event_file_obj_tbl.svelte (18) - events/ae_comp__event_presentation_obj_li.svelte (10) - events/ae_comp__event_session_obj_tbl.svelte (1) - badges/print_list/+page.svelte (2), badges/templates/+page.svelte (1) - leads/ae_tab__manage.svelte (4) - hosted_files/+page.svelte (1), hold_video_util.svelte (6), video_util/+page.svelte (4) - events/[event_id]/+page.svelte: converted JS icon strings to Lucide component refs (Presentation, Plane, IdCard, Contact) — rendered via <mod.icon size="2rem" /> - +page.svelte: hover:variant-outline-warning → hover:preset-outlined-warning (×2) - migrate_fa_to_lucide.py: added 18 new icon mappings (ArrowLeft/Right, Ban, Broom→Trash2, calendar-alt, Database, DoorOpen, Download, exchange-alt, file-image, lock, magic→Sparkles, print, sticky-note, sync, tag, trash, user-ninja/tie→UserRound, video) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<script lang="ts">
|
||||
import { liveQuery } from 'dexie';
|
||||
import { Wrench } from '@lucide/svelte';
|
||||
import { Wrench, Presentation, Plane, IdCard, Contact } from '@lucide/svelte';
|
||||
import { db_events } from '$lib/ae_events/db_events';
|
||||
import { ae_util } from '$lib/ae_utils/ae_utils';
|
||||
import { events_slct } from '$lib/stores/ae_events_stores';
|
||||
@@ -21,7 +21,7 @@
|
||||
{
|
||||
name: 'Presentation Management',
|
||||
path: 'pres_mgmt',
|
||||
icon: 'fas fa-chalkboard-teacher',
|
||||
icon: Presentation,
|
||||
description: 'Manage sessions, presentations, and presenters.',
|
||||
color: 'preset-filled-primary-200-800',
|
||||
access: 'authenticated_access'
|
||||
@@ -29,7 +29,7 @@
|
||||
{
|
||||
name: 'Launcher',
|
||||
path: 'launcher',
|
||||
icon: 'fas fa-plane',
|
||||
icon: Plane,
|
||||
description: 'Launch presentations and manage live session display.',
|
||||
color: 'preset-filled-secondary-200-800',
|
||||
access: 'authenticated_access'
|
||||
@@ -37,7 +37,7 @@
|
||||
{
|
||||
name: 'Badges',
|
||||
path: 'badges',
|
||||
icon: 'fas fa-id-badge',
|
||||
icon: IdCard,
|
||||
description: 'Manage and print event badges.',
|
||||
color: 'preset-filled-tertiary-200-800',
|
||||
access: 'authenticated_access'
|
||||
@@ -45,7 +45,7 @@
|
||||
{
|
||||
name: 'Leads',
|
||||
path: 'leads',
|
||||
icon: 'fas fa-address-card',
|
||||
icon: Contact,
|
||||
description: 'Exhibitor lead retrieval and management.',
|
||||
color: 'preset-filled-success-200-800',
|
||||
access: 'authenticated_access'
|
||||
@@ -85,7 +85,7 @@
|
||||
class="card card-hover p-6 flex flex-col items-center text-center space-y-4 transition-transform hover:scale-105 bg-surface-100 dark:bg-surface-800 border border-surface-200 dark:border-surface-700 shadow-lg"
|
||||
>
|
||||
<div class="p-6 rounded-full {mod.color} text-white text-4xl">
|
||||
<span class={mod.icon}></span>
|
||||
<mod.icon size="2rem" />
|
||||
</div>
|
||||
<h3 class="text-2xl font-bold">{mod.name}</h3>
|
||||
<p class="opacity-80">{mod.description}</p>
|
||||
|
||||
Reference in New Issue
Block a user