Skip to content

Commit

Permalink
Merge pull request #31 from TrustlessComputer/feat/upcoming
Browse files Browse the repository at this point in the history
feat: upcoming page
  • Loading branch information
tonytc13579 authored Jan 16, 2024
2 parents 9adbcd1 + a0baaa3 commit a18be3c
Show file tree
Hide file tree
Showing 12 changed files with 475 additions and 2 deletions.
Binary file added public/upcoming/bitcoin_arcade_thumb_img.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/upcoming/eternal_ai_thumb_img.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/upcoming/link_ic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/upcoming/math_thumb_img.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/upcoming/naka_thumb_img.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/upcoming/twitter_ic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions src/app/upcoming/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import MainLayout from '@/layouts/MainLayout';
import UpcomingModule from '@/modules/upcoming';

const UpcomingPage = () => {
return (
<MainLayout
headerProps={{
color: 'black',
}}
>
<UpcomingModule />
</MainLayout>
);
};

export default UpcomingPage;
8 changes: 6 additions & 2 deletions src/layouts/Header/menuConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ export const NAV_ITEMS: Array<NavItem> = [
},
].filter((item) => !item.isHide);


export const NAV_ITEMS_LEFT: Array<NavItem> = [
{
label: 'Bitcoin L2s',
Expand All @@ -84,9 +83,14 @@ export const NAV_ITEMS_LEFT: Array<NavItem> = [
isNewWindow: false,
isHide: false,
},
{
label: 'Upcoming',
href: '/upcoming',
isNewWindow: false,
isHide: false,
},
].filter((item) => !item.isHide);


export const NAV_ITEMS_RIGHT: Array<NavItem> = [
{
label: '$BVM',
Expand Down
35 changes: 35 additions & 0 deletions src/modules/upcoming/Section_1/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
'use client';

import { Flex, Text } from '@chakra-ui/react';

const Section_1 = () => {
return (
<Flex
w={'100%'}
flexDir={'column'}
bgColor={'transparent'}
gap={['16px']}
align={'left'}
>
<Text
fontSize={['16px', '40px']}
lineHeight={'48px'}
fontWeight={400}
color={'#000'}
>
Upcoming Bitcoin L2 Launch
</Text>
<Text
fontSize={['14px', '20px']}
lineHeight={'36px'}
fontWeight={400}
color={'#000'}
maxW={'744px'}
>
Be the first to know when new Bitcoin L2 chains launch.
</Text>
</Flex>
);
};

export default Section_1;
Loading

0 comments on commit a18be3c

Please sign in to comment.