From 4eedfe91b01671c54a3efdbd2ce27926ce6d98af Mon Sep 17 00:00:00 2001 From: tonytc13579 Date: Wed, 3 Jan 2024 11:13:08 +0700 Subject: [PATCH] Modify css --- src/app/blockchains/page.tsx | 1 - src/config/index.ts | 2 +- src/layouts/Header/components/DesktopNav.tsx | 2 +- src/layouts/Header/components/MobileNav.tsx | 2 +- src/layouts/Header/index.tsx | 36 ++++---------------- src/modules/home/Section_2/index.tsx | 2 +- src/modules/home/Section_3/index.tsx | 2 +- src/modules/iframe-tc/index.tsx | 7 +++- src/modules/iframe-tc/styles.module.scss | 2 +- 9 files changed, 19 insertions(+), 37 deletions(-) diff --git a/src/app/blockchains/page.tsx b/src/app/blockchains/page.tsx index 781b70511..844b95602 100644 --- a/src/app/blockchains/page.tsx +++ b/src/app/blockchains/page.tsx @@ -20,7 +20,6 @@ const TCPage = () => { diff --git a/src/config/index.ts b/src/config/index.ts index e78d4af51..23c06fbb1 100644 --- a/src/config/index.ts +++ b/src/config/index.ts @@ -11,6 +11,6 @@ export const isProduction: boolean = APP_ENV === 'production'; export const isDevelop: boolean = APP_ENV === 'develop'; export const isLocal: boolean = APP_ENV === 'local'; -export const CDN_URL_ICONS: string = CDN_URL + '/nbc/icons'; +export const CDN_URL_ICONS: string = CDN_URL + '/nbc/icons/bvm-icons'; export { MetadataConfig, ViewportConfig }; diff --git a/src/layouts/Header/components/DesktopNav.tsx b/src/layouts/Header/components/DesktopNav.tsx index f61fd1122..0e5a377e4 100644 --- a/src/layouts/Header/components/DesktopNav.tsx +++ b/src/layouts/Header/components/DesktopNav.tsx @@ -11,7 +11,7 @@ type Props = { export const DesktopNav = (props: Props) => { return ( - + {NAV_ITEMS.map((navItem) => ( { { onClick={onToggle} icon={} aria-label={'Toggle Menu'} - bgColor={'transparent'} _hover={{ bgColor: 'transparent', }} - style={{ - filter: primaryColor === 'white' ? 'invert(1)' : 'none', - }} /> ); }; @@ -53,22 +49,23 @@ const Header = (props: HeaderProps) => { return ( <> { }} > - {/* */} - - {/* */} - {primaryColor === 'white' ? ( - + ) : ( - + )} diff --git a/src/modules/home/Section_2/index.tsx b/src/modules/home/Section_2/index.tsx index a74cb2525..1eb4bf7ef 100644 --- a/src/modules/home/Section_2/index.tsx +++ b/src/modules/home/Section_2/index.tsx @@ -114,7 +114,7 @@ const Section_2 = () => { justifyContent={'center'} alignContent={'center'} > - + { { src={props.iframeURL} width={'100%'} height={'100%'} - style={{ border: 'none', opacity: iframeLoading ? 0 : 1 }} + style={{ + border: 'none', + opacity: iframeLoading ? 0 : 1, + marginTop: '70px', + paddingBottom: '60px', + }} onLoad={() => { setIframeLoading(false); }} diff --git a/src/modules/iframe-tc/styles.module.scss b/src/modules/iframe-tc/styles.module.scss index 2711888cf..d5ff17ac5 100644 --- a/src/modules/iframe-tc/styles.module.scss +++ b/src/modules/iframe-tc/styles.module.scss @@ -1,8 +1,8 @@ .container { display: flex; flex-direction: row; - overflow: hidden; min-height: 100vh; + background-color: #F3F1E8; } .iframeGame {