'use client'; import { useState } from 'react'; import Walkthrough from './Walkthrough'; import { TUTORIALS, formatTime } from './media'; /** The home page's tutorials: one narrated film per device, switched with tabs (replaces the single walkthrough film). */ export default function HomeTutorials() { const [id, setId] = useState(TUTORIALS[0].id); const t = TUTORIALS.find((x) => x.id === id) ?? TUTORIALS[0]; return ( <>
{TUTORIALS.map((x) => ( ))}
); }