Skip to content

Instantly share code, notes, and snippets.

View IgniumTalent's full-sized avatar

IgniumTalent

  • Joined Apr 24, 2026
View GitHub Profile
@IgniumTalent
IgniumTalent / marketing-update-brief.md
Created May 14, 2026 03:22
Ignium OS marketing website content update brief

Lovable Brief — Marketing Website Update (LandingPage.tsx)

Priority: Do this before any new prospect visits the site.

The landing page at src/pages/LandingPage.tsx needs a full content update. The business model, pricing, and positioning have all changed. Apply ALL of these changes to the LandingPage.tsx component.


GLOBAL CHANGES

@IgniumTalent
IgniumTalent / Integrations.tsx
Created May 13, 2026 21:37
Integrations settings page for Double API
import { useState, useEffect, useCallback } from 'react';
import { Navigate } from 'react-router-dom';
import {
Link2, CheckCircle2, AlertTriangle, Loader2, RefreshCw,
Eye, EyeOff, Trash2, Clock, Zap, ArrowRight,
} from 'lucide-react';
import { format, subDays } from 'date-fns';
import LeadershipLayout from '@/components/layouts/LeadershipLayout';
import { useAuth } from '@/hooks/useAuth';
import { useFirm } from '@/hooks/useFirm';
@IgniumTalent
IgniumTalent / index.ts
Created May 13, 2026 20:38
sync-double-timers edge function - correct version
// sync-double-timers – Supabase Edge Function
// Fetches time entries from Double's API and inserts them as daily_pulse records.
// Called by the leadership Integrations page with { firm_id, date_from, date_to }.
import { createClient } from "https://esm.sh/@supabase/supabase-js@2";
import { corsHeaders } from "../_shared/cors.ts";
const DOUBLE_TOKEN_URL = "https://api.doublehq.com/oauth/token";
const DOUBLE_TIMERS_URL = "https://api.doublehq.com/api/timers";
const PAGE_SIZE = 100;