Skip to content

Commit

Permalink
Fix ui, text, css
Browse files Browse the repository at this point in the history
  • Loading branch information
tonytc13579 committed Jan 4, 2024
1 parent 1089e72 commit 24f06d4
Show file tree
Hide file tree
Showing 10 changed files with 195 additions and 88 deletions.
7 changes: 7 additions & 0 deletions public/icons/logo_black.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions public/icons/logo_white.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/config/metadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const APP_NAME = 'Bitcoin Virtual Machine';
const APP_DEFAULT_TITLE = 'Bitcoin Virtual Machine';
const APP_TITLE_TEMPLATE = 'Bitcoin Virtual Machine';
const APP_DESCRIPTION =
'A metaprotocol that lets developers launch their own L2 blockchain and build dapps on Bitcoin';
'BVM is a metaprotocol that lets developers launch their own lightning-fast and low-cost Bitcoin L2 blockchain in a few clicks and start building decentralized applications on Bitcoin.';
// const APP_THUMBNAIL = `${CDN_URL_ICONS}/metadata.jpg`;

const metadataConfig: Metadata = {
Expand Down
4 changes: 2 additions & 2 deletions src/layouts/Header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ const Header = (props: HeaderProps) => {
>
<Link href="/">
{primaryColor === 'white' ? (
<Image src={`${CDN_URL_ICONS}/ic-bvm-logo-white.svg`} />
<Image src={`/icons/logo_white.svg`} />
) : (
<Image src={`${CDN_URL_ICONS}/ic-bvm-logo-black.svg`} />
<Image src={`/icons/logo_black.svg`} />
)}
</Link>
</Flex>
Expand Down
6 changes: 3 additions & 3 deletions src/layouts/Header/menuConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ export interface NavItem {

export const NAV_ITEMS: Array<NavItem> = [
{
label: 'Blockchains',
label: 'Bitcoin L2s',
href: '/blockchains/computers',
isNewWindow: false,
isHide: false,
},
{
label: 'Building Blocks',
label: 'Modular Blocks',
href: '/building-blocks',
isNewWindow: false,
isHide: false,
Expand All @@ -33,7 +33,7 @@ export const NAV_ITEMS: Array<NavItem> = [
isHide: false,
},
{
label: 'Contact',
label: 'Twitter',
href: 'https://twitter.com/bvmnetwork',
isNewWindow: true,
isHide: false,
Expand Down
2 changes: 1 addition & 1 deletion src/modules/building-blocks/Section_1/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const Section1 = () => {
textAlign={['center', 'left']}
color={'#000'}
>
Building Blocks
Modular Blocks
</Text>
<Box boxSize={['20px', null]} />
<Text
Expand Down
34 changes: 17 additions & 17 deletions src/modules/building-blocks/Section_2_vs2/config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,21 +51,6 @@ export const BlockDataList: BlockItemType[] = [
isLastItem: false,
isHide: false,
},
{
key: 'Settlement',
label: 'Settlement',
networkList: [
{
logoUrl: '/icons/btc_logo.svg',
name: 'Bitcoin',
},
],
bgColor: '#29892A',
bgCircle: '#54A155',
zIndex: 9,
isLastItem: false,
isHide: false,
},
{
key: 'Execution',
label: 'Execution',
Expand Down Expand Up @@ -97,7 +82,7 @@ export const BlockDataList: BlockItemType[] = [
],
bgColor: '#F7931A',
bgCircle: '#F9A948',
zIndex: 7,
zIndex: 8,
isLastItem: false,
isHide: false,
},
Expand All @@ -117,7 +102,7 @@ export const BlockDataList: BlockItemType[] = [
],
bgColor: '#25C0EF',
bgCircle: '#51CDF2',
zIndex: 6,
zIndex: 7,
isLastItem: false,
isHide: false,
},
Expand All @@ -144,6 +129,21 @@ export const BlockDataList: BlockItemType[] = [
],
bgColor: '#FF5C5C',
bgCircle: '#FF7D7D',
zIndex: 6,
isLastItem: false,
isHide: false,
},
{
key: 'Settlement',
label: 'Settlement',
networkList: [
{
logoUrl: '/icons/btc_logo.svg',
name: 'Bitcoin',
},
],
bgColor: '#29892A',
bgCircle: '#54A155',
zIndex: 5,
isLastItem: true,
isHide: false,
Expand Down
22 changes: 11 additions & 11 deletions src/modules/home/Section_1/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,26 +33,26 @@ const Section_1 = () => {
>
<Text
textAlign={'center'}
fontSize={[26, 32, 48, 72, 100]}
fontSize={[26, 32, 48, 72]}
lineHeight={'110%'}
wordBreak={'break-word'}
whiteSpace="pre-line"
>
{`Bitcoin Virtual Machine`}
</Text>

<Box height={'16px'} />
<Text
textAlign={'center'}
fontSize={[12, 15, 18, 22, 26]}
lineHeight={'120%'}
fontSize={[12, 15, 18, 20]}
lineHeight={'140%'}
fontWeight={400}
wordBreak={'break-word'}
whiteSpace="pre-line"
>
Bitcoin Virtual Machine is a metaprotocol that lets developers launch
their own lighting-fast and low-cost blockchain, backed by Bitcoin
security, in a few clicks and start building decentralized
applications on Bitcoin
BVM is a metaprotocol that lets developers launch their own
lightning-fast and low-cost Bitcoin L2 blockchain in a few clicks and
start building decentralized applications on Bitcoin.
</Text>

<Box height={'32px'} />
Expand All @@ -70,12 +70,12 @@ const Section_1 = () => {
minW={['180px']}
height={'48px'}
fontWeight={400}
fontSize={'16px'}
fontSize={'14px'}
onClick={() => {
router.push('/blockchains/computers');
}}
>
{`Start Building`}
{`START BUILDING`}
</Button>
<Button
bgColor={'#fff'}
Expand All @@ -89,12 +89,12 @@ const Section_1 = () => {
justifyContent={'center'}
alignItems={'center'}
fontWeight={400}
fontSize={'16px'}
fontSize={'14px'}
onClick={() =>
window.open('https://docs.trustless.computer/', '_blank')
}
>
{`Read Docs`}
{`READ DOCS`}
</Button>
</HStack>

Expand Down
Loading

0 comments on commit 24f06d4

Please sign in to comment.