WebJamApps/JaMmusic

View on GitHub
src/containers/Homepage/index.tsx

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
import commonUtils from 'src/lib/utils';
import { useEffect } from 'react';
import AboutUs from './About';
import CurrentProjects from './CurrentProjects';

export function About() {
  return (
    <div className="page-content wideHome">
      <div className="anchor"> </div>
      <AboutUs />
      <hr />
      <br />
      <br />
      <CurrentProjects />
      <p style={{ fontSize: '6pt', marginBottom: '0' }}>&nbsp;</p>
    </div>
  );
}

export function Homepage(): JSX.Element {
  useEffect(() => commonUtils.setTitleAndScroll('', window.screen.width), []);
  return (
    <div>
      <About />
    </div>
  );
}