diff --git a/public/landing/ic-ordinal.svg b/public/landing/ic-ordinal.svg new file mode 100644 index 000000000..4971c3fdc --- /dev/null +++ b/public/landing/ic-ordinal.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/public/landing/uni-v2.svg b/public/landing/uni-v2.svg new file mode 100644 index 000000000..466b2cced --- /dev/null +++ b/public/landing/uni-v2.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/src/modules/landing/Componets/BitEth/index.tsx b/src/modules/landing/Componets/BitEth/index.tsx index c3ac003bd..048913074 100644 --- a/src/modules/landing/Componets/BitEth/index.tsx +++ b/src/modules/landing/Componets/BitEth/index.tsx @@ -24,7 +24,7 @@ export default function BitEth() { - Minimal effort to migrate from Ethereum to Bitcoin. + Minimal effort to migrate from Ethereum to Bitcoin. diff --git a/src/modules/landing/Componets/Chain/styles.module.scss b/src/modules/landing/Componets/Chain/styles.module.scss index fb2bed096..db9751d62 100644 --- a/src/modules/landing/Componets/Chain/styles.module.scss +++ b/src/modules/landing/Componets/Chain/styles.module.scss @@ -43,7 +43,7 @@ } &_heading { - max-width: 1200px; + max-width: 980px; margin-left: auto; margin-right: auto; } diff --git a/src/modules/landing/Componets/Hero/HeroLabel/index.tsx b/src/modules/landing/Componets/Hero/HeroLabel/index.tsx index e073e69d9..9c0ea8993 100644 --- a/src/modules/landing/Componets/Hero/HeroLabel/index.tsx +++ b/src/modules/landing/Componets/Hero/HeroLabel/index.tsx @@ -21,21 +21,25 @@ const DATA_HERO = [ title: 'Polygon', }, { - icon: '/landing/uni.svg', + icon: '/landing/uni-v2.svg', title: 'Uniswap', }, + { + icon: '/landing/ic-ordinal.svg', + title: 'Ordinals', + }, ]; const DELAY = 1.8; -export default function HeroLabel() { +export default function HeroLabel({ isMobile }: { isMobile?: boolean }) { return ( -
+
cube @@ -44,7 +48,7 @@ export default function HeroLabel() {

-
+
{DATA_HERO.map((item, index) => { return ; })} diff --git a/src/modules/landing/Componets/Hero/HeroLabel/styles.module.scss b/src/modules/landing/Componets/Hero/HeroLabel/styles.module.scss index 1beb02117..a3ce7f6f1 100644 --- a/src/modules/landing/Componets/Hero/HeroLabel/styles.module.scss +++ b/src/modules/landing/Componets/Hero/HeroLabel/styles.module.scss @@ -3,6 +3,14 @@ flex-direction: column; gap: 12px; + padding-top: 48px; + padding-bottom: 48px; + + @include is-pc { + padding-top: 0; + padding-bottom: 0; + } + &_content { display: flex; @@ -21,6 +29,7 @@ justify-content: center; gap: 8px; } + &_text { font-size: 20px; line-height: 36px; @@ -28,12 +37,12 @@ color: #fff; @include is-mobile { - //color: #000; + color: #000; font-size: 16px; line-height: 24px; } @include is-tablet { - //color: #000; + color: #000; } } } @@ -41,6 +50,10 @@ &_listHero { display: flex; flex-direction: row; + flex-wrap: wrap; gap: 4px; + @include is-mobile { + justify-content: center; + } } } diff --git a/src/modules/landing/Componets/Hero/ItemHero/index.tsx b/src/modules/landing/Componets/Hero/ItemHero/index.tsx index 32ed50441..6bf7d6ed0 100644 --- a/src/modules/landing/Componets/Hero/ItemHero/index.tsx +++ b/src/modules/landing/Componets/Hero/ItemHero/index.tsx @@ -16,7 +16,7 @@ export default function ItemHero({ delay: number; }) { return ( -
+
@@ -27,7 +27,7 @@ export default function ItemHero({ width={45} height={45} /> -

{data.title}

+

{data.title}

diff --git a/src/modules/landing/Componets/Hero/ItemHero/styles.module.scss b/src/modules/landing/Componets/Hero/ItemHero/styles.module.scss index bf1d34707..a1a159eb7 100644 --- a/src/modules/landing/Componets/Hero/ItemHero/styles.module.scss +++ b/src/modules/landing/Componets/Hero/ItemHero/styles.module.scss @@ -3,7 +3,6 @@ &_inner { - display: flex; justify-content: center; align-items: center; @@ -21,29 +20,24 @@ height: 80px; } - //@include is-mobile { - // background-color: #f6f6f6; - // width: calc(33vw - 30px); - // align-items: center; - // aspect-ratio: 1; - //} - // - //@include is-tablet { - // background-color: #f6f6f6; - // width: calc(33vw - 30px); - // align-items: center; - // aspect-ratio: 1; - //} + @include is-mobile { + background-color: #f6f6f6; + width: calc(33vw - 30px); + align-items: center; + aspect-ratio: 1; + } + + @include is-tablet { + background-color: #f6f6f6; + width: calc(33vw - 30px); + align-items: center; + aspect-ratio: 1; + } } &_img { - - height: 30px; + height: 40px; width: auto; - - @include is-min-table{ - height: 40px; - } } &_content { @@ -59,12 +53,12 @@ text-align: center; color: #fff; - //@include is-mobile { - // color: #000; - //} - //@include is-tablet { - // color: #000; - //} + @include is-mobile { + color: #000; + } + @include is-tablet { + color: #000; + } } } } diff --git a/src/modules/landing/Componets/Hero/JoinAllowList/index.tsx b/src/modules/landing/Componets/Hero/JoinAllowList/index.tsx index b713134a4..aa20e4cc4 100644 --- a/src/modules/landing/Componets/Hero/JoinAllowList/index.tsx +++ b/src/modules/landing/Componets/Hero/JoinAllowList/index.tsx @@ -10,7 +10,7 @@ import Image from 'next/image'; const DELAY = 2; -const JoinAllowList = () => { +const JoinAllowList = ({isFooter}: {isFooter?: boolean}) => { const router = useRouter(); const [isCreating, setIsCreating] = useState(false); const [totalUser, setTotalUser] = useState(''); @@ -34,7 +34,7 @@ const JoinAllowList = () => { return ( -
+
diff --git a/src/modules/landing/Componets/Hero/JoinAllowList/styles.module.scss b/src/modules/landing/Componets/Hero/JoinAllowList/styles.module.scss index 4f19a17c2..fcec579ef 100644 --- a/src/modules/landing/Componets/Hero/JoinAllowList/styles.module.scss +++ b/src/modules/landing/Componets/Hero/JoinAllowList/styles.module.scss @@ -1,14 +1,26 @@ .container { - padding: 40px 0; + width: 100%; background: url('/landing/images/hero-bg-allow.jpg'); background-repeat: no-repeat; background-size: cover; - @include is-pc { + &:not(.isFooter) { + padding: 20px 0; position: absolute; bottom: 0; left: 0; + @include is-min-table { + padding: 40px 0; + } + } + + &.isFooter { + padding: 40px 0; + } + + @include is-min-table { + padding: 40px 0; } .content { @@ -24,19 +36,12 @@ } .titleWrapper { - width: 100%; - text-align: center; - display: flex; - justify-content: center; - - @include is-pc{ - display: block; - width: fit-content; - } + display: block; + width: fit-content; } .title { - text-align: center; + font-size: 12px; line-height: normal; font-weight: 500; @@ -46,21 +51,32 @@ -webkit-background-clip: text; -webkit-text-fill-color: transparent; width: fit-content; + + @include is-mobile { + font-size: 10px; + } + } .desc { - font-size: 32px; + + text-align: left; font-style: normal; font-weight: 400; line-height: 130%; max-width: 571px; + @include is-mobile { + font-size: 20px; + } + + @include is-tablet { font-size: 24px; } - text-align: center; - @include is-pc{ - text-align: left; + @include is-pc { + font-size: 32px; + } span { @@ -178,12 +194,14 @@ .whiteList { display: flex; flex-direction: row; - justify-content: end; align-items: center; gap: 8px; - padding-right: 16px; margin-top: 20px; + @include is-pc { + justify-content: end; + } + &_users { display: flex; flex-direction: row; diff --git a/src/modules/landing/Componets/Hero/index.tsx b/src/modules/landing/Componets/Hero/index.tsx index 46651a165..6aed26207 100644 --- a/src/modules/landing/Componets/Hero/index.tsx +++ b/src/modules/landing/Componets/Hero/index.tsx @@ -6,15 +6,21 @@ import JoinAllowList from './JoinAllowList'; export default function Hero() { return ( -
-
- -
- + + <> +
+
+ +
+ +
+ + +
+
+
- - -
+ ); } diff --git a/src/modules/landing/Componets/Hero/styles.module.scss b/src/modules/landing/Componets/Hero/styles.module.scss index 267039db3..f1dec773c 100644 --- a/src/modules/landing/Componets/Hero/styles.module.scss +++ b/src/modules/landing/Componets/Hero/styles.module.scss @@ -26,59 +26,19 @@ position: absolute; z-index: 2; width: 100%; - - @include is-mobile { - bottom: 20px; - display: flex; - justify-content: center; - } - - @include is-tablet { - bottom: 40px; - display: flex; - justify-content: center; - } + display: none; @include is-pc { bottom: 210px; + display: block; } } - &_heading { - color: #fff; - font-size: 68px; - font-style: normal; - font-weight: 300; - line-height: 100%; - padding-bottom: 16px; - width: 100%; - - @include is-mobile { - font-size: 44px; - line-height: 120%; - padding: 0; - } - } - - &_headingSub { - font-size: 42px; - font-style: normal; - color: #fff; - font-weight: 400; - line-height: 36px; - padding-bottom: 24px; - display: flex; - align-items: center; - gap: 6px; +} - @include is-mobile { - padding-bottom: 10px; - font-size: 20px; - } +.hero_wrap__mobile { - @include is-tablet { - font-size: 32px; - padding-bottom: 10px; - } + @include is-pc { + display: none; } } diff --git a/src/modules/landing/Componets/Intro/styles.module.scss b/src/modules/landing/Componets/Intro/styles.module.scss index 8db119eb3..59e98afe0 100644 --- a/src/modules/landing/Componets/Intro/styles.module.scss +++ b/src/modules/landing/Componets/Intro/styles.module.scss @@ -38,7 +38,7 @@ left: 50%; transform: translate(-50%, -50%); @include is-min-table { - top: calc(50% - 5vh); + top: 50%; } &_inner { diff --git a/src/modules/landing/Componets/LegoV2/index.tsx b/src/modules/landing/Componets/LegoV2/index.tsx index c7dd2cf7a..30106e6ad 100644 --- a/src/modules/landing/Componets/LegoV2/index.tsx +++ b/src/modules/landing/Componets/LegoV2/index.tsx @@ -57,7 +57,7 @@ export default function LegoV2() {
- Customize and launch your modular Bitcoin L2 blockchain with the best-of-breed modules with a few clicks. + Customize and launch your modular Bitcoin L2 blockchain with the best-of-breed modules with a few clicks. @@ -65,7 +65,7 @@ export default function LegoV2() { Choose a rollup module, select a data availability module, and then launch to theworld — it’s that easy. You can even install - dapp modules like Uniswap,Compound, and NFT Marketplace. It’s a + dapp modules like Uniswap, Compound, and NFT Marketplace. It’s a whole new way to build a Bitcoin L2. diff --git a/src/modules/landing/Componets/ScalableSlide/ScalableContnet/styles.module.scss b/src/modules/landing/Componets/ScalableSlide/ScalableContnet/styles.module.scss index 44afd5113..620a47ce1 100644 --- a/src/modules/landing/Componets/ScalableSlide/ScalableContnet/styles.module.scss +++ b/src/modules/landing/Componets/ScalableSlide/ScalableContnet/styles.module.scss @@ -1,5 +1,5 @@ .scalableContent { - flex: 0 0 auto; + flex: 1; max-width: 445px; position: relative; padding-top: 16px; diff --git a/src/modules/landing/Componets/ScalableSlide/style.module.scss b/src/modules/landing/Componets/ScalableSlide/style.module.scss index aae71e810..036566e93 100644 --- a/src/modules/landing/Componets/ScalableSlide/style.module.scss +++ b/src/modules/landing/Componets/ScalableSlide/style.module.scss @@ -40,13 +40,15 @@ display: flex; flex-wrap: wrap; justify-content: center; - gap: 120px; + gap: 3vw; bottom: 60px; width: 100%; position: absolute; z-index: 2; left: 0; border-top: 1px solid rgba(white, 0.2); + padding-left: 32px; + padding-right: 32px; @include is-tablet { flex-wrap: nowrap; diff --git a/src/modules/landing/Componets/Section_7/constant.ts b/src/modules/landing/Componets/Section_7/constant.ts index b60b356a0..68ac3a624 100644 --- a/src/modules/landing/Componets/Section_7/constant.ts +++ b/src/modules/landing/Componets/Section_7/constant.ts @@ -31,6 +31,25 @@ const BLOGS = [ link: 'https://blockworks.co/news/defi-on-bitcoin', linkTarget: '_blank', }, + { + id: '6', + title: `Bitcoin faster? Project uses Optimism to generate blocks every 2 seconds`, + desc: `Blockchain NOS aims to give scalability to the decentralized ecosystem created on Bitcoin, says Punk 3700, one of the developers behind the project`, + logo: 'CoinTelegraph Brazil', + imageUrl: `${CDN_URL_BLOGS}/CoinTelegraph_Brazil_02.jpeg`, + link: 'https://br.cointelegraph.com/news/bitcoin-becoming-faster-project-uses-optimism-to-generate-blocks-with-2-second-time', + linkTarget: '_blank', + }, + { + id: '8', + title: `BITCOIN VIRTUAL MACHINE DEPLOYS UNISWAP V2 SMART CONTRACTS: HUGE MILESTONE FOR BITCOIN`, + desc: `The emergence of #Ordinals and #BRC20 tokens has led to a renaissance period for #Bitcoin + With their deployment of Uniswap v2 smart contracts on #BTC, @TrustlessOnBTC is right at the forefront of this exciting development`, + logo: 'Influencive', + imageUrl: `${CDN_URL_BLOGS}/Influencive.png`, + link: 'https://twitter.com/Influencive/status/1657455923692986370', + linkTarget: '_blank', + }, { id: '12', title: `Bitcoin Transactions Hit Record High as New Token Type Takes Off`, @@ -125,26 +144,9 @@ const BLOGS = [ linkTarget: '_blank', }, - { - id: '6', - title: `Bitcoin faster? Project uses Optimism to generate blocks every 2 seconds`, - desc: `Blockchain NOS aims to give scalability to the decentralized ecosystem created on Bitcoin, says Punk 3700, one of the developers behind the project`, - logo: 'CoinTelegraph Brazil', - imageUrl: `${CDN_URL_BLOGS}/CoinTelegraph_Brazil_02.jpeg`, - link: 'https://br.cointelegraph.com/news/bitcoin-becoming-faster-project-uses-optimism-to-generate-blocks-with-2-second-time', - linkTarget: '_blank', - }, - { - id: '8', - title: `BITCOIN VIRTUAL MACHINE DEPLOYS UNISWAP V2 SMART CONTRACTS: HUGE MILESTONE FOR BITCOIN`, - desc: `The emergence of #Ordinals and #BRC20 tokens has led to a renaissance period for #Bitcoin - With their deployment of Uniswap v2 smart contracts on #BTC, @TrustlessOnBTC is right at the forefront of this exciting development`, - logo: 'Influencive', - imageUrl: `${CDN_URL_BLOGS}/Influencive.png`, - link: 'https://twitter.com/Influencive/status/1657455923692986370', - linkTarget: '_blank', - }, + + { id: '10', title: `Smart Contracts on Bitcoin? Here’s All You Need to Know`, diff --git a/src/modules/landing/Componets/Section_7/index.tsx b/src/modules/landing/Componets/Section_7/index.tsx index 36ca1aaa7..83ed2eb43 100644 --- a/src/modules/landing/Componets/Section_7/index.tsx +++ b/src/modules/landing/Componets/Section_7/index.tsx @@ -46,7 +46,7 @@ const Section_7 = () => { thumb image { return ( - + Oh, and the press loves us too! diff --git a/src/modules/landing/Componets/Section_7/styles.module.scss b/src/modules/landing/Componets/Section_7/styles.module.scss index 7f07d6387..724f93edb 100644 --- a/src/modules/landing/Componets/Section_7/styles.module.scss +++ b/src/modules/landing/Componets/Section_7/styles.module.scss @@ -90,6 +90,20 @@ } .slide { + + padding-top: 48px; + padding-bottom: 48px; + + @include is-tablet{ + padding-top: 80px; + padding-bottom: 80px; + } + + @include is-pc{ + padding-top: 120px; + padding-bottom: 120px; + } + :global { .slick-arrow { diff --git a/src/modules/landing/index.tsx b/src/modules/landing/index.tsx index e4dffc856..9f98e3f3f 100644 --- a/src/modules/landing/index.tsx +++ b/src/modules/landing/index.tsx @@ -10,6 +10,7 @@ import Section7Mobile from './Componets/Section_7/Section_7_Mobile'; import BitEth from '@/modules/landing/Componets/BitEth'; import Ecosystem from './Componets/Ecosystem'; import LegoV2 from '@/modules/landing/Componets/LegoV2'; +import JoinAllowList from '@/modules/landing/Componets/Hero/JoinAllowList'; export default function Landing() { const { mobileScreen, tabletScreen } = useWindowSize(); @@ -25,6 +26,7 @@ export default function Landing() { {mobileScreen || tabletScreen ? : } {mobileScreen || tabletScreen ? : } +
); }