import React from 'react';
import {
AbsoluteFill,
interpolate,
useCurrentFrame,
useVideoConfig,
Easing,
Img,
staticFile,
spring,
random,
} from 'remotion';
import { MouseCursor } from '../components/MouseCursor';
import { Button } from '@/src/components/Button';
import { Loader2, Check, UserCheck, ShieldCheck } from 'lucide-react';
// Import logo using the alias setup in remotion.config.ts
// We'll use the staticFile helper if it's in public, but these are in src/assets
// So we can try to import them directly if the bundler allows, or move them to public.
// Given Header.tsx imports them, they should be importable.
// import IconWhite from '@/src/assets/logo/Icon White Transparent.svg'; // Not used in this version
// Import black logo for light mode
import IconBlack from '@/src/assets/logo/Icon Black Transparent.svg';
const Background: React.FC<{ loadingOpacity: number }> = ({ loadingOpacity }) => {
return (
{/* Website-Matching Grid */}
{/* STATIC Logo - Strictly no animation on the container */}
Mintel.meComponent Library
);
};
// Toast Notification Component
const Toast: React.FC<{ show: boolean; text: string }> = ({ show, text }) => {
const frame = useCurrentFrame();
const { fps } = useVideoConfig();
// Animate in/out based on 'show' prop would require state tracking or precise frame logic
// We'll trust the parent to mount/unmount or pass an animatable value
// For video, deterministic frame-based spring is best.
// We'll actually control position purely by parent for simplicity in this demo context
return (
Authentication SuccessfulAccess granted to secure portal