fix: rewrite css from page wrapper to module
This commit is contained in:
parent
ec0ada31bb
commit
6301fa1628
|
@ -2,7 +2,7 @@ import { ReactNode } from 'react'
|
||||||
import { useTheme } from 'tamagui'
|
import { useTheme } from 'tamagui'
|
||||||
|
|
||||||
import NimbusLogoMark from '../Logos/NimbusLogoMark'
|
import NimbusLogoMark from '../Logos/NimbusLogoMark'
|
||||||
import './layout.css'
|
import styles from './index.module.css'
|
||||||
|
|
||||||
type PageWrapperShadowProps = {
|
type PageWrapperShadowProps = {
|
||||||
breadcrumbBar?: ReactNode
|
breadcrumbBar?: ReactNode
|
||||||
|
@ -22,19 +22,19 @@ const PageWrapperShadow = ({
|
||||||
const theme = useTheme()
|
const theme = useTheme()
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="layout" style={{ backgroundColor: theme.background.val }}>
|
<div className={styles['layout']} style={{ backgroundColor: theme.background.val }}>
|
||||||
<section className="layout-left">
|
<section className={styles['layout-left']}>
|
||||||
{breadcrumbBar}
|
{breadcrumbBar}
|
||||||
<div className="container">
|
<div className={styles['container']}>
|
||||||
<div className="container-inner">{children}</div>
|
<div className={styles['container-inner']}>{children}</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<section className="layout-right">
|
<section className={styles['layout-right']}>
|
||||||
<div className="image-container">
|
<div className={styles['image-container']}>
|
||||||
<img
|
<img
|
||||||
src={rightImageSrc}
|
src={rightImageSrc}
|
||||||
alt="background"
|
alt="background"
|
||||||
className="background-img"
|
className={styles['background-img']}
|
||||||
style={{ height: imgHeight }}
|
style={{ height: imgHeight }}
|
||||||
/>
|
/>
|
||||||
{rightImageLogo ? <NimbusLogoMark /> : null}
|
{rightImageLogo ? <NimbusLogoMark /> : null}
|
||||||
|
|
Loading…
Reference in New Issue