import React, { useState, useEffect, useRef } from 'react'; import MainNav from '../Components/MainNav'; import SubNav from '../Components/SubNav'; import { Card, Container, Row } from 'react-bootstrap'; function Home() { return (