'use client' import { Label } from '@/components/ui/label' import { Switch } from '@/components/ui/switch' import { Slider } from '@/components/ui/slider' import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue, } from '@/components/ui/select' import type { LiveFinalConfig } from '@/types/pipeline-wizard' type LiveFinalsSectionProps = { config: LiveFinalConfig onChange: (config: LiveFinalConfig) => void isActive?: boolean } export function LiveFinalsSection({ config, onChange, isActive }: LiveFinalsSectionProps) { const updateConfig = (updates: Partial) => { onChange({ ...config, ...updates }) } return (

Allow jury members to vote during the live finals event

updateConfig({ juryVotingEnabled: checked }) } disabled={isActive} />

Allow audience members to vote on projects

updateConfig({ audienceVotingEnabled: checked }) } disabled={isActive} />
{config.audienceVotingEnabled && (
updateConfig({ audienceVoteWeight: v / 100 }) } min={0} max={100} step={5} className="flex-1" /> {Math.round(config.audienceVoteWeight * 100)}%

Percentage weight of audience votes in the final score

)}
) }