mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-07-29 11:21:16 -07:00
parent
f542d0e675
commit
922740a4cb
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ interface ILayoutProps {
|
|||
}
|
||||
|
||||
const Layout = ({children, location}: ILayoutProps) => {
|
||||
const isWidthFullPage = location.pathname.endsWith('/cejst');
|
||||
const isWidthFullPage = location.pathname.match(/cejst\/?/);
|
||||
const conditionalAside = isWidthFullPage ? <></> : <J40Aside/>;
|
||||
const gridCssClass = isWidthFullPage ? ' desktop:grid-col-12' :
|
||||
'desktop:grid-col-9';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue