import { Fragment } from 'react';

import { Header } from '../../../shared/components/header.tsx';
import { Hero } from '../components/hero.tsx';
import { Services } from '../components/services.tsx';
import { Features } from '../components/features.tsx';
import { Partners } from '../components/partners.tsx';
import { Feedback } from '../components/feedback.tsx';
import { Footer } from '../../../shared/components/footer.tsx';
import { RecentNews } from '../components/recent-news.tsx';
import { usePageTitle } from '../../../shared/hooks/usePageTitle.ts';

export const MainPage = () => {
  usePageTitle('Главная');
  return (
    <Fragment>
      <Header />
      <Hero />
      <Services />
      <RecentNews />
      <Features />
      <Partners />
      <Feedback />
      <Footer />
    </Fragment>
  );
};
