Skip to content

Commit

Permalink
Modify code
Browse files Browse the repository at this point in the history
  • Loading branch information
tonytc13579 committed Jan 4, 2024
1 parent f20742d commit 1089e72
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
10 changes: 5 additions & 5 deletions src/config/metadata.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { Metadata } from 'next';
import { CDN_URL_ICONS } from '.';
import { CDN_URL_ICONS } from '../config';

const APP_NAME = 'Bitcoin Virtual Machine';
const APP_DEFAULT_TITLE = 'Bitcoin Virtual Machine';
const APP_TITLE_TEMPLATE = '%s - Bitcoin Virtual Machine';
const APP_TITLE_TEMPLATE = 'Bitcoin Virtual Machine';
const APP_DESCRIPTION =
'A metaprotocol that lets developers launch their own blockchain and build dapps on Bitcoin';
const APP_THUMBNAIL = `${CDN_URL_ICONS}/metadata.jpg`;
'A metaprotocol that lets developers launch their own L2 blockchain and build dapps on Bitcoin';
// const APP_THUMBNAIL = `${CDN_URL_ICONS}/metadata.jpg`;

const metadataConfig: Metadata = {
metadataBase: new URL(`${process.env.NEXT_PUBLIC_DOMAIN_URL}`),
Expand Down Expand Up @@ -35,7 +35,7 @@ const metadataConfig: Metadata = {
description: APP_DESCRIPTION,
images: [
{
url: APP_THUMBNAIL,
url: 'https://cdn.newbitcoincity.com//nbc/icons/bvm-icons/metadata.jpg',
width: 1200,
height: 630,
alt: APP_NAME,
Expand Down
1 change: 0 additions & 1 deletion src/layouts/Header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ const Header = (props: HeaderProps) => {
>
<Flex
minH={['40px', '40px']}
w={['311px', '311px']}
className="maxWidth"
alignSelf={'center'}
display={'flex'}
Expand Down
6 changes: 6 additions & 0 deletions src/layouts/Header/menuConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,10 @@ export const NAV_ITEMS: Array<NavItem> = [
isNewWindow: true,
isHide: false,
},
{
label: 'Contact',
href: 'https://twitter.com/bvmnetwork',
isNewWindow: true,
isHide: false,
},
].filter((item) => !item.isHide);

0 comments on commit 1089e72

Please sign in to comment.