import { useRef } from 'react'
import fs from 'fs'
import Head from 'next/head'
import { getLiteral } from '../common/i18n'
import { getDataFromMD, parseGetInvolvedData } from '../common/api'
import Hero from '../components/home/hero/Hero'
import About from '../components/home/about/About'
import GetInvolved from '../components/home/get-involved/GetInvolved'
import Events from '../components/home/events/Events'
import Connection from '../components/home/connection/Connection'
import AnchorNavigation from '../components/home/anchor-navigation/AnchorNavigation'
export default function Home({ hero, about, getInvolved, events, connection }) {
const containerRef = useRef(null)
return (