Rev 15275 | AutorÃa | Comparar con el anterior | Ultima modificación | Ver Log |
import React from 'react'
import CompanySizes from '../components/company-sizes/CompanySizes'
import CoverSection from '../components/CoverSection/CoverSection'
import Footer from '../components/footer/Footer'
import Header from '../components/header/Header'
import Industry from '../components/industry/Industry'
import Location from '../components/Locations/Location'
import Overview from '../components/Overview/Overview'
import ProfileInfo from '../components/ProfileInfo/ProfileInfo'
import WebPage from '../components/web-page/WebPage'
import YearOfFoundation from '../components/year-of-foundation/YearOfFoundation'
const ProfileView = ({ urlVars, labels }) => {
const {
routeWebsite,
routeCompanySize,
routeIndustry,
routeExtended,
routeSocialNetworks,
routeLocationAdd,
routeFoundationYear,
routeImageUpload,
routeCoverUpload,
routeFooterUpload,
routeHeaderUpload,
companyId,
cover,
followers,
image,
companyName,
overview,
locations,
industry,
companySize,
foundationYear,
website,
header,
footer,
googleApiKey
} = urlVars
return (
<>
<section className="content-header">
<div className="container-fluid">
<div className="row mb-2">
<div className="col-sm-12">
<h1>{labels.PROFILE}</h1>
</div>
</div>
</div>
</section>
<CoverSection
companyId={companyId}
cover={cover}
coverUploadUrl={routeCoverUpload}
/>
<div className="row">
<div className="col-lg-3">
<ProfileInfo
companyId={companyId}
socialNetworksUrl={routeSocialNetworks}
followers={followers}
image={image}
imageUploadUrl={routeImageUpload}
/>
</div>
<div className="col-lg-6">
<div className="main-ws-sec">
<div className="user-tab-sec rewivew">
<h4>{companyName}</h4>
</div>
<Overview
overview={overview}
overviewUrl={routeExtended}
title={labels.OVERVIEW}
/>
<Location
locations={locations}
locationsAddUrl={routeLocationAdd}
googleApiKey={googleApiKey}
title={labels.LOCATION}
/>
<Industry
industry={industry}
industryUrl={routeIndustry}
title={labels.INDUSTRY}
/>
<CompanySizes
companySize={companySize}
companySizeUrl={routeCompanySize}
title={labels.COMPANY_SIZES}
/>
<YearOfFoundation
foundationYear={foundationYear}
foundationYearUrl={routeFoundationYear}
labels={labels.FOUNDATION_YEAR}
/>
<WebPage
website={website}
websiteUrl={routeWebsite}
title={labels.WEBSITE}
/>
<Header
companyId={companyId}
header={header}
headerUploadUrl={routeHeaderUpload}
title={labels.HEADER_PDF}
/>
<Footer
companyId={companyId}
footer={footer}
footerUploadUrl={routeFooterUpload}
title={labels.FOOTER_PDF}
/>
</div>
</div>
<div className="col-lg-3">
<div className="right-sidebar"></div>
</div>
</div>
</>
)
}
export default ProfileView