diff --git a/src/layouts/Header/components/DesktopNav.tsx b/src/layouts/Header/components/DesktopNav.tsx index 0e5a377e4..f914805c1 100644 --- a/src/layouts/Header/components/DesktopNav.tsx +++ b/src/layouts/Header/components/DesktopNav.tsx @@ -16,6 +16,7 @@ export const DesktopNav = (props: Props) => { { fontSize={['16px', '16px']} fontWeight={500} color={'#000'} + target={item.isNewWindow ? '_blank' : '_self'} _hover={{}} > {item.label} diff --git a/src/layouts/Header/menuConfig.ts b/src/layouts/Header/menuConfig.ts index b9aefade0..d8deb3d6f 100644 --- a/src/layouts/Header/menuConfig.ts +++ b/src/layouts/Header/menuConfig.ts @@ -22,14 +22,14 @@ export const NAV_ITEMS: Array = [ }, { label: 'Developers', - href: '/developers', - isNewWindow: false, + href: 'https://docs.trustless.computer', + isNewWindow: true, isHide: false, }, { label: 'Whitepapers', - href: '/whitepapers', - isNewWindow: false, + href: 'https://_blank', + isNewWindow: true, isHide: false, }, ].filter((item) => !item.isHide); diff --git a/src/modules/building-blocks/Section_2_vs2/config.tsx b/src/modules/building-blocks/Section_2_vs2/config.tsx index b0fc28293..0211f7d75 100644 --- a/src/modules/building-blocks/Section_2_vs2/config.tsx +++ b/src/modules/building-blocks/Section_2_vs2/config.tsx @@ -4,6 +4,7 @@ export type BlockItemType = { networkList?: { logoUrl: string; name: string; + isComingSoon?: boolean; }[]; bgColor?: string; bgCircle?: string; @@ -36,10 +37,12 @@ export const BlockDataList: BlockItemType[] = [ { logoUrl: '/icons/avail_logo.svg', name: 'Avail', + isComingSoon: true, }, { logoUrl: '/icons/near_logo.svg', name: 'NearDA', + isComingSoon: true, }, ], bgColor: '#7069DC', @@ -74,18 +77,22 @@ export const BlockDataList: BlockItemType[] = [ { logoUrl: '/icons/polygon_logo.svg', name: 'Polygon ZKEVM', + isComingSoon: true, }, { logoUrl: '/icons/zksync_logo.svg', name: 'ZKSync ZKVM', + isComingSoon: true, }, { logoUrl: '/icons/arbitrum_logo.svg', name: 'Arbitrum', + isComingSoon: true, }, { logoUrl: '/icons/starknet_logo.svg', name: 'Starknet', + isComingSoon: true, }, ], bgColor: '#F7931A', @@ -105,6 +112,7 @@ export const BlockDataList: BlockItemType[] = [ { logoUrl: '/icons/rollkit_logo.svg', name: 'Rollkit', + isComingSoon: true, }, ], bgColor: '#25C0EF', diff --git a/src/modules/building-blocks/Section_2_vs2/index.tsx b/src/modules/building-blocks/Section_2_vs2/index.tsx index b48223740..761ea8aae 100644 --- a/src/modules/building-blocks/Section_2_vs2/index.tsx +++ b/src/modules/building-blocks/Section_2_vs2/index.tsx @@ -79,6 +79,7 @@ const Section2 = () => { item?: { logoUrl: string; name: string; + isComingSoon?: boolean; }[], ) => { return ( @@ -103,7 +104,12 @@ const Section2 = () => { boxSize={['32px', '48px']} /> - + {obj.name || ''} diff --git a/src/modules/home/Section_1/index.tsx b/src/modules/home/Section_1/index.tsx index 3b58a40fe..8da9e5488 100644 --- a/src/modules/home/Section_1/index.tsx +++ b/src/modules/home/Section_1/index.tsx @@ -12,8 +12,10 @@ import { Text, VStack, } from '@chakra-ui/react'; +import { useRouter } from 'next/navigation'; const Section_1 = () => { + const router = useRouter(); return ( { justifyContent={'center'} alignContent={'center'} > - + { { alignItems={'center'} px={'24px'} py={'10px'} + minW={['180px']} fontWeight={400} fontSize={'16px'} + onClick={() => { + router.push('/blockchains/computers'); + }} > - {`Join the Allowlist`} + {`Start Building`} - + {/* { /> - - - - + */} + {/* @@ -130,7 +141,7 @@ const Section_1 = () => { {`14h : 30m : 59s`} - + */} );