Skip to content

Commit

Permalink
update chains logo and move ui l2ass into project
Browse files Browse the repository at this point in the history
  • Loading branch information
tonytc13579 committed Jan 3, 2024
1 parent 967e5cd commit 5f92d00
Show file tree
Hide file tree
Showing 12 changed files with 116 additions and 14 deletions.
12 changes: 9 additions & 3 deletions public/icons/chain2_logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions public/icons/chain3_logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 15 additions & 8 deletions public/icons/eth_logo.svg
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/images/banner.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/images/card.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/images/default-upload-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/images/image_section_1.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/images/image_section_2.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/images/image_section_3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/modules/home/Section_2/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ const Section_2 = () => {
{`The Bitcoin Superchain`}
</Text>

<Box height={['40px']}></Box>
<div className={s.sliderContainer}>
<SliderSlick
prevArrow={
Expand Down
85 changes: 85 additions & 0 deletions src/modules/home/Section_4/index.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
'use client';

import {
Box,
Center,
Flex,
HStack,
Image,
Text,
VStack,
} from '@chakra-ui/react';

interface IContent {
title: string;
description: string;
}

const CONTENTS = [
{
title: 'Choose a rollup method',
description: 'Optimistic rollups or ZK rollups',
},
{
title: 'Choose a block time',
description: '10s, 5s, or 2s — entirely up to you.',
},
{
title: 'Choose pre-installed dapps',
description: 'DEX, DAO, NFT marketplace, and more over time.',
},
{
title: 'Then launch it',
description: 'It’s that easy!',
},
];

const Section_4 = () => {
const renderContent = (item: IContent, index: number) => {
return (
<HStack key={item.title}>
<Text fontSize={['20px']} fontWeight={500} color={'#000'}>
{index + 1}
</Text>
<Box>
<Text fontSize={['22px']} fontWeight={500} color={'#000'}>
{item.title}
</Text>
<Text fontSize={['20px']} color={'#000'}>
{item.description}
</Text>
</Box>
</HStack>
);
};
return (
<Box bgColor={'#F3F1E8'} display={'flex'} flexDirection={'column'}>
<HStack
display={'flex'}
flexDirection={'row'}
className="maxWidth"
alignSelf={'center'}
bgColor={'lightcyan'}
spacing={['50px']}
>
<Flex flex={1}>
<Image src="/images/image_section_3.png" />
</Flex>
<Flex flex={1} flexDirection={'column'}>
<Text fontSize={['38px']} color={'#000'}>
A no-code tool for building a full-featured Bitcoin L2 blockchain.
</Text>
<VStack
display={'flex'}
justifyContent={'flex-start'}
alignItems={'flex-start'}
>
{CONTENTS.map(renderContent)}
</VStack>
</Flex>
</HStack>
</Box>
);
};

export default Section_4;
5 changes: 4 additions & 1 deletion src/modules/home/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,15 @@ import Section1 from './Section_1';
import Section2 from './Section_2';
import Section3 from './Section_3';

import Section4 from './Section_4';

const HomeModule = () => {
return (
<div className={s.container}>
<Section1 />
<Section2 />
<Section3 />
{/* <Section3 /> */}
{/* <Section4 /> */}
</div>
);
};
Expand Down

0 comments on commit 5f92d00

Please sign in to comment.