Remove old files

This commit is contained in:
Bill 2021-07-28 16:33:23 -04:00
parent 8be14aebb0
commit 241348e5f2
4 changed files with 0 additions and 38 deletions

View File

@ -1,4 +1,3 @@
@import './header/CatalogPageHeaderView';
@import './layout/CatalogLayout';
@import './offer/CatalogPageOfferView';
@import './offers/CatalogPageOffersView';

View File

@ -1,3 +0,0 @@
.nitro-catalog-page-header {
padding-top: $container-padding-x;
}

View File

@ -1,28 +0,0 @@
import { FC } from 'react';
import { useCatalogContext } from '../../../context/CatalogContext';
import { CatalogIconView } from '../../catalog-icon/CatalogIconView';
import { CatalogPageHeaderViewProps } from './CatalogPageHeaderView.types';
export const CatalogPageHeaderView: FC<CatalogPageHeaderViewProps> = props =>
{
const { catalogState = null } = useCatalogContext();
const { currentPage = null, pageParser = null } = catalogState;
return (
<div className="container-fluid nitro-catalog-page-header bg-light">
<div className="row h-100">
<div className="col-2">
<CatalogIconView icon={ currentPage.icon } />
</div>
<div className="d-flex col-10 flex-column">
<div className="d-block">
{ currentPage.localization }
</div>
{ pageParser && <div className="d-block">
{ pageParser.localization.texts[0] }
</div> }
</div>
</div>
</div>
);
}

View File

@ -1,6 +0,0 @@
import { ICatalogPageParser } from 'nitro-renderer';
export interface CatalogPageHeaderViewProps
{
pageParser: ICatalogPageParser;
}