Софт для андройд

import styled from "styled-components"
import React, { Suspense } from "react"
import { Switch, Route } from "react-router-dom"
import CenteredLoader from "../ui/CenteredLoader"
import RouteTracker from "../tracking/RouteTracker"

type ContentAreaProps = {
  profileId: string
}
const ContentAreaRoot = styled.div`
  position: relative;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  height: 100%;
  overflow: auto;
  z-index: 0;
  padding-left: 70px;
  overflow: hidden;

  & > *{
    flex-shrink: 0;
  }
`
const ReceptionPageContent = React.lazy(() => import("./ReceptionPageContent"))
const NetworkingPageContent = React.lazy(() => import("./NetworkingPageContent"))
const MyProfilePageContent = React.lazy(() => import("./MyProfilePageContent"))
const MyFavoritesPageContent = React.lazy(() => import("./MyFavoritesPageContent"))
const CategoriesPageContent = React.lazy(() => import("./CategoriesPageContent"))
const InfosPageContent = React.lazy(() => import("./InfosPageContent"))
const TestPageContent = React.lazy(() => import("./TestPage"))
const HistoryPageContent = React.lazy(() => import("./HistoryPageContent"))

const OrganizationDetailPageContent = React.lazy(() => import("./detailPages/OrganizationDetailPageContent"))
const PersonDetailPageContent = React.lazy(() => import("./detailPages/PersonDetailPageContent"))
const EventDateDetailPageContent = React.lazy(() => import("./detailPages/EventDateDetailPageContent"))
const ProductDetailPageContent = React.lazy(() => import("./detailPages/ProductDetailPageContent"))
const NewsDetailPageContent = React.lazy(() => import("./detailPages/NewsDetailPageContent"))
const TrademarkDetailPageContent = React.lazy(() => import("./detailPages/TrademarkDetailPageContent"))
const CouponDetailPageContent = React.lazy(() => import("./detailPages/CouponDetailPageContent"))
const ConferenceRoom = React.lazy(() => import("../conference/ConferenceRoom"))

const ConferencePageContent = React.lazy(() => import("../conference/ConferencePageContent"))
const ExhibitorsPageContent = React.lazy(() => import("./ExhibitorsPageContent"))
const SpeakerPageContent = React.lazy(() => import("./SpeakerPageContent"))
const SessionsPageContent = React.lazy(() => import("./sessions/SessionsPageContent"))
const LiveStreamsPageContent = React.lazy(() => import("./LiveStreamsPageContent"))
const ProductsPageContent = React.lazy(() => import("./ProductsPageContent"))
const NewsPageContent = React.lazy(() => import("./NewsPageContent"))
const TrademarksPageContent = React.lazy(() => import("./TrademarksPageContent"))
const CouponsPageContent = React.lazy(() => import("./CouponsPageContent"))
const SponsorsPageContent = React.lazy(() => import("./SponsorsPageContent"))
const VideoPageContent = React.lazy(() => import("./VideoPageContent"))
const SchedulePageContent = React.lazy(() => import("./SchedulePageContent"))
const ExperiencesPageContent = React.lazy(() => import("./ExperiencesPageContent"))
const ProgramPageContent = React.lazy(() => import("./program/ProgramPageContent"))

 

export const meetingPageRoute = "/meetings/:kind/:roomName"
const ContentArea: React.FunctionComponent<ContentAreaProps> = (props) => (

  <ContentAreaRoot>
    <Suspense fallback={<CenteredLoader>Loading...</CenteredLoader>}>
      <RouteTracker profileId={props.profileId} />
      <Switch>
        <Route path="/" exact component={ReceptionPageContent} />
        <Route path="/networking" component={NetworkingPageContent} />
        <Route path="/myprofile" component={MyProfilePageContent} />
        <Route path="/favorites" component={MyFavoritesPageContent} />
        <Route path="/categories" component={CategoriesPageContent} />
        <Route path="/info" component={InfosPageContent} />
        <Route path="/test" component={TestPageContent} />
        <Route path="/history" component={HistoryPageContent} />

        {/** Details */}
        <Route path="/organization/:organizationName--:organizationId" component={OrganizationDetailPageContent} />
        <Route path="/person/:personName--:personId--:userId" component={PersonDetailPageContent} />
        <Route path="/eventdate/:eventdateName--:eventDateId" component={EventDateDetailPageContent} />
        <Route path="/product/:productName--:productId" component={ProductDetailPageContent} />
        <Route path="/news/:newsName--:newsId" component={NewsDetailPageContent} />
        <Route path="/trademark/:trademarkName--:trademarkId" component={TrademarkDetailPageContent} />
        <Route path="/coupon/:couponName--:couponId" component={CouponDetailPageContent} />
        <Route path={meetingPageRoute} component={ConferenceRoom} />
        <Route path="/meetings/:groupId" component={ConferencePageContent} />
        <Route path="/meetings" component={ConferencePageContent} />

        {/* the entity lists must be places below the detail pages because of the path pattern */}
        <Route path="/organization" component={ExhibitorsPageContent} />
        <Route path="/companiesFav" component={ExhibitorsPageContent} />
        <Route path="/person" component={SpeakerPageContent} />
        <Route path="/peopleFav" component={SpeakerPageContent} />
        <Route path="/eventdate" component={SessionsPageContent} />
        <Route path="/eventdateFav" component={SessionsPageContent} />
        <Route path="/livestreams" component={LiveStreamsPageContent} />
        <Route path="/product" component={ProductsPageContent} />
        <Route path="/productsFav" component={ProductsPageContent} />
        <Route path="/news" component={NewsPageContent} />
        <Route path="/trademark" component={TrademarksPageContent} />
        <Route path="/trademarksFav" component={TrademarksPageContent} />
        <Route path="/coupon" component={CouponsPageContent} />
        <Route path="/sponsor" component={SponsorsPageContent} />
        <Route path="/masterclasses/:roomId" component={VideoPageContent} />
        <Route path="/masterclasses/" component={VideoPageContent} />
        <Route path="/experiences" component={ExperiencesPageContent} />
        <Route path="/schedule" component={SchedulePageContent} />
        <Route path="/program" component={ProgramPageContent} />
      </Switch>
    </Suspense>
  </ContentAreaRoot>
)

export default ContentArea

Комментарии

  • Coiff (гость) 20.09.2020 в 12:33

    buy cheap cialis canada

    [url=https://cialisnowup.com/]cialis 20 mg vademecu[/url]
    <a href="https://cialisnowup.com/">buy cialis online</a>

    click here cialis kanada

  • Coiff (гость) 18.09.2020 в 08:33

    pilule viagra sans ordonnance

    [url=https://viagrahuupup.com/]viagra age at[/url]
    <a href="https://viagrahuupup.com/">viagra supplier in uk</a>

    equivalent du viagra

  • Coiff (гость) 17.09.2020 в 16:41

    vrai viagra sur internet

    [url=https://viagrahuupup.com/]viagra in england kaufen[/url]
    <a href="https://viagrahuupup.com/"> buy generic viagra online</a>

    can you get high from viagra

  • Coiff (гость) 17.09.2020 в 15:27

    generico viagra efeitos

    [url=https://viagrahuupup.com/]equivalent du viagra[/url]
    <a href="https://viagrahuupup.com/">viagra generic</a>

    how to order brand viagra

  • Coiff (гость) 16.09.2020 в 21:08

    viagra in england kaufen

    [url=https://viagrahuupup.com/]to viagra drugs[/url]
    <a href="https://viagrahuupup.com/">viagra online</a>

    should i take 50 mg viagra

  • Coiff (гость) 13.09.2020 в 02:57

    viagra generico dalla germania

    [url=https://viagiowow.com/]buy viagra online[/url]
    <a href="https://viagiowow.com/">viagra gratuit</a>

    buy viagra jelly greece

  • Coiff (гость) 13.09.2020 в 00:03

    viagra muy barato

    [url=https://viagiowow.com/]buy viagra online[/url]
    <a href="https://viagiowow.com/">buy viagra online</a>

    tramadol viagra

  • Coiff (гость) 11.09.2020 в 19:54

    do viagra pills get old

    [url=https://viagiowow.com/] buy generic viagra online[/url]
    <a href="https://viagiowow.com/">whole sale viagra</a>

    viagra levitra 4 comprimes

  • Coiff (гость) 10.09.2020 в 14:31

    herbal viagra in australia

    [url=https://viatempnow.com/]cheap viagra[/url]
    <a href="https://viatempnow.com/">viagra fminin en comprims</a>

    viagra from mexico pharmacy

  • Coiff (гость) 10.09.2020 в 05:43

    how to viagra prescription

    [url=https://viatempnow.com/]cheapest way buy viagra[/url]
    <a href="https://viatempnow.com/">online viagra</a>

    viagra sin receta madri

  • Wanderbergtel (гость) 06.09.2020 в 15:13

    Suche Cartier Santos, wie diese [url=http://www.guiasparaviajar.com] http://www.guiasparaviajar.com [/url], aber in Stahl.

Добавление комментария