FansCommunity.jsx 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. // components
  2. import PageHeader from '@layout/PageHeader';
  3. import AppGrid from '@layout/AppGrid';
  4. import PRCard from '@widgets/PRCard';
  5. import SignUpForm from '@widgets/SignUpForm';
  6. import Testimonials from '@widgets/Testimonials';
  7. import TaskList from '@widgets/TaskList';
  8. import LocalFans from '@widgets/LocalFans';
  9. import WidgetGroup from '@components/WidgetGroup';
  10. import ClubFans from '@widgets/ClubFans';
  11. import ClubFansMap from '@widgets/ClubFansMap';
  12. import GamesCalendar from '@widgets/GamesCalendar';
  13. import LatestMessages from '@widgets/LatestMessages';
  14. const widgets = {
  15. club_fans_map: <ClubFansMap id="manunited" />,
  16. club_fans: <WidgetGroup>
  17. <ClubFans id="realmadrid" />
  18. <ClubFans id="manunited" />
  19. </WidgetGroup>,
  20. local_fans: <LocalFans />,
  21. pr: <PRCard />,
  22. sign_up: <SignUpForm standalone={false} />,
  23. testimonials: <Testimonials />,
  24. tasks: <TaskList />,
  25. calendar: <GamesCalendar />,
  26. messages: <LatestMessages />
  27. }
  28. const FansCommunity = () => {
  29. return (
  30. <>
  31. <PageHeader title="Fans community" />
  32. <AppGrid id="fans" widgets={widgets}/>
  33. </>
  34. )
  35. }
  36. export default FansCommunity