diff --git a/components/InteractiveTerminal.tsx b/components/InteractiveTerminal.tsx index b47abd9..8954e90 100644 --- a/components/InteractiveTerminal.tsx +++ b/components/InteractiveTerminal.tsx @@ -1,6 +1,6 @@ 'use client' -import { motion } from 'framer-motion' +import { motion, AnimatePresence } from 'framer-motion' import { useEffect, useRef, useState } from 'react' import { useTerminal } from '@/lib/TerminalContext' import ReactMarkdown from 'react-markdown' @@ -232,23 +232,28 @@ export function InteractiveTerminal() { } return ( - +
+ {!isOpen ? ( - + ) : ( )} - + +
) }