Skip to content

Commit

Permalink
update homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
sigmar-const committed Nov 13, 2024
1 parent c88fc95 commit dda572a
Show file tree
Hide file tree
Showing 31 changed files with 55 additions and 24 deletions.
Binary file removed public/landing-v7/home-alpha-1.png
Binary file not shown.
Binary file added public/landing-v7/home-alpha-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 removed public/landing-v7/home-arcade-1.png
Binary file not shown.
Binary file added public/landing-v7/home-arcade-3.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 removed public/landing-v7/home-bitcoinwar-1.png
Binary file not shown.
Binary file added public/landing-v7/home-bitcoinwar-5.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 removed public/landing-v7/home-heartbeats-1.png
Binary file not shown.
Binary file removed public/landing-v7/home-heartbeats-2.png
Binary file not shown.
Binary file removed public/landing-v7/home-heartbeats-3.png
Binary file not shown.
Binary file added public/landing-v7/home-heartbeats-4.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 removed public/landing-v7/home-naka-1.png
Binary file not shown.
Binary file added public/landing-v7/home-naka-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 removed public/landing-v7/home-perp-1.png
Binary file not shown.
Binary file added public/landing-v7/home-perp-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/landing-v7/home-rundex-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 removed public/landing-v7/home-studio-1.png
Binary file not shown.
Binary file added public/landing-v7/home-studio-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 removed public/landing-v7/home-timechain-1.png
Binary file not shown.
Binary file removed public/landing-v7/home-timechain-2.png
Binary file not shown.
Binary file added public/landing-v7/home-timechain-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions src/app/experience/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
'use client';

import MainLayout from '@/layouts/MainLayout';
// import LandingV3 from '@/modules/landingV3';
import LandingV5 from '@/modules/landingV5';

export default function Home() {
return (
<MainLayout
headerProps={{
// color: 'white',
// colorLogo: 'white',
// bgColor: '#1C1C1C',
theme: 'white',
}}
hideFooter
>
{/* <LandingV3 /> */}
<LandingV5 />
</MainLayout>
);
}
4 changes: 3 additions & 1 deletion src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import MainLayout from '@/layouts/MainLayout';
// import LandingV3 from '@/modules/landingV3';
import LandingV5 from '@/modules/landingV5';
import Landing from '@/modules/landing';

export default function Home() {
return (
Expand All @@ -16,7 +17,8 @@ export default function Home() {
hideFooter
>
{/* <LandingV3 /> */}
<LandingV5 />
{/* <LandingV5 /> */}
<Landing />
</MainLayout>
);
}
20 changes: 10 additions & 10 deletions src/constants/home-content.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export const STEP_1_SECTION = {
{
title: 'Perceptrons',
description: 'The first onchain neural networks.',
homeImage: '/landing-v7/home-perp-1.png',
homeImage: '/landing-v7/home-perp-2.png',

// bgColor:
// 'linear-gradient(227deg, #FF8D97 -7.83%, #FF6366 21.47%, #E40004 69.37%, #FFDEDE 118.41%)',
Expand Down Expand Up @@ -171,7 +171,7 @@ export const STEP_2_SECTION = {
{
title: 'Rune Dex',
description: 'Buy & sell Bitcoin permisionlessly',
homeImage: '/explore/dapp-runedex2.png',
homeImage: '/landing-v7/home-rundex-1.png',
link: {
url: 'https://runechain.com/',
target: '_blank',
Expand All @@ -180,7 +180,7 @@ export const STEP_2_SECTION = {
{
title: 'NAKA Dex',
description: 'Trade Bitcoin futures permisionlessly.',
homeImage: '/landing-v7/home-naka-1.png',
homeImage: '/landing-v7/home-naka-2.png',
link: {
url: 'https://nakachain.xyz/perpetual',
target: '_blank',
Expand All @@ -207,7 +207,7 @@ export const GAME_SECTION = {
title: 'Bitcoin Wars',
description:
'The first fully onchain game built on a ZK Rollup on Bitcoin.',
homeImage: `/landing-v7/home-bitcoinwar-1.png`,
homeImage: `/landing-v7/home-bitcoinwar-5.png`,
link: {
url: '/bitcoin-wars',
target: '_blank',
Expand All @@ -218,7 +218,7 @@ export const GAME_SECTION = {
{
title: 'Bitcoin ARCADE (Coming Soon)',
description: 'Endless fun with onchain Bitcoin games.',
homeImage: `/landing-v7/home-arcade-1.png`,
homeImage: `/landing-v7/home-arcade-3.png`,
link: {
url: '',
target: '_blank',
Expand All @@ -245,7 +245,7 @@ export const TOOLS_SECTION = {
{
title: 'BVM Studio',
description: 'Customize your blockchain with drag-and-drop',
homeImage: `/landing-v7/home-studio-1.png`,
homeImage: `/landing-v7/home-studio-2.png`,
link: {
url: '/studio',
target: '_blank',
Expand All @@ -256,7 +256,7 @@ export const TOOLS_SECTION = {
{
title: 'Heartbeats',
description: 'Insights into Bitcoin chains',
homeImage: `/landing-v7/home-heartbeats-3.png`,
homeImage: `/landing-v7/home-heartbeats-4.png`,
link: {
url: '/heartbeats',
target: '_blank',
Expand All @@ -283,7 +283,7 @@ export const ART_SECTION = {
{
title: 'Perceptrons',
description: 'The first on-chain neural networks',
homeImage: `/landing-v7/home-perp-1.png`,
homeImage: `/landing-v7/home-perp-2.png`,
link: {
url: 'https://eternalai.org/perceptrons',
target: '_blank',
Expand All @@ -294,7 +294,7 @@ export const ART_SECTION = {
{
title: 'Timechain',
description: 'The first long-form gen art collection',
homeImage: `/landing-v7/home-timechain-2.png`,
homeImage: `/landing-v7/home-timechain-4.png`,

link: {
url: 'https://generative.xyz/generative/1000001',
Expand All @@ -321,7 +321,7 @@ export const SOCIALFI_SECTION = {
{
title: 'Alpha',
description: 'The first social app on Bitcoin. ',
homeImage: `/landing-v7/home-alpha-1.png`,
homeImage: `/landing-v7/home-alpha-2.png`,

link: {
url: 'https://alpha.wtf/',
Expand Down
7 changes: 4 additions & 3 deletions src/layouts/HeaderV4/menuConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,17 +163,18 @@ export const NAV_ITEMS_LEFT: Array<NavItem> = [
// isHide: false,
// },
{
label: 'Experience Bitcoin',
label: 'Build on Bitcoin',
href: '/',
isNewWindow: false,
isHide: false,
},
{
label: 'Build on Bitcoin',
href: '/build-bitcoin',
label: 'Experience Bitcoin',
href: '/experience',
isNewWindow: false,
isHide: false,
},

// {
// label: '$BVM',
// href: '/bvm',
Expand Down
6 changes: 3 additions & 3 deletions src/modules/landing/Componets/Hero/Content/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,16 @@ export default function HeroContent() {
</button>
</Fade>
</li>
{/* <li>
<li>
<Fade delayEnter={6.6}>
<button
onClick={() => router.push('/')}
onClick={() => router.push('/experience')}
className={`${s.btn} ${s.btn__red}`}
>
Experience Bitcoin
</button>
</Fade>
</li> */}
</li>
</ul>
{/* <Fade delay={6.7}>
<div className={s.contact}>
Expand Down
4 changes: 2 additions & 2 deletions src/modules/landing/Componets/Hero/Content/styles.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
left: 50%;
transform: translateX(-50%);
z-index: 2;
max-width: 1200px;
max-width: 1000px;
width: 100%;
top: 180px;
padding-left: 16px;
Expand Down Expand Up @@ -63,7 +63,7 @@
justify-content: center;
list-style: none !important;
margin-top: rem(16px);
margin-bottom: 16px;
margin-bottom: 24px;
position: relative;
z-index: 2;
flex-wrap: wrap;
Expand Down
2 changes: 1 addition & 1 deletion src/modules/landing/Componets/PreLoader/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ export default function PreLoader() {
}
}, []);

return <>{true ? <Loader /> : <Intro />}</>;
return <>{isHadLoaded ? <Loader /> : <Intro />}</>;
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@

}

&.games {
width: 440px;
}

&:not(.popular) {
// margin-top: 40px;
// margin-bottom: 18px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ const SectionItemApp = ({ item, sectionId, idx }: Props) => {
['pointer-none']: !item.link?.url,
},
{ [s.eternal]: item.link?.url === ETERNAL_URL },
{ [s.games]: sectionId === 'games' },
)}
href={item.link?.url}
target="_blank"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ $text-max-width: 85ch;

.title {
color: rgba(255, 255, 255, 0.60);
font-family: "JetBrains Mono";
font-family: "SF Pro Display";
font-size: 28px;
font-style: normal;
font-weight: 700;
Expand All @@ -39,7 +39,7 @@ $text-max-width: 85ch;
p {
// max-width: 37ch;
color: #2E2E2E;
letter-spacing: -1.8px;
// letter-spacing: -1.8px;
}

}
Expand Down
5 changes: 3 additions & 2 deletions src/modules/landingV5/styles.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,14 @@

.introduction_title {
color: #000;
font-family: "JetBrains Mono";
font-family: "SF Pro Display";

font-size: 48px;
font-style: normal;
font-weight: 700;
line-height: normal;
letter-spacing: -1.8px;
max-width: 13ch;
max-width: 10ch;
}

.introduction_desc {
Expand Down

0 comments on commit dda572a

Please sign in to comment.