diff --git a/src/pages/index.tsx b/src/pages/index.tsx index de3703f4..234e1b23 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -76,14 +76,21 @@ const Container = styled.div` @media (max-width: 960px) { flex-direction: column; gap: 16px; - margin: 0 1rem; + margin: 0 2rem; } @media (max-width: 640px) { - margin: 0; + margin: 0 1rem; } ` +const InnerContainer = styled.div` + display: flex; + flex-direction: column; + margin: 0 auto; + max-width: 1100px; +` + const Row = styled.div` display: flex; justify-content: space-between; @@ -119,10 +126,8 @@ const RowCentered = styled.div` const Card = styled.div` display: flex; max-height: 250px; - min-width: 330px; padding: 1rem; flex-direction: column; - justify-content: center; cursor: pointer; border: 1px solid transparent; border-radius: 20px; @@ -162,6 +167,7 @@ const CenterCard = styled(Card)` const ShadowCard = styled(Card)` flex: 1 1 200px; /* Grow, shrink, min-width */ box-sizing: border-box; + background: #ffffff10; ` const IconWrapper = styled.div` @@ -264,8 +270,7 @@ const DappsContainer = styled.div` flex-direction: column; @media (max-width: 640px) { - margin-top: 2rem; - padding: 0 1rem; + margin: 2rem 1rem 0 1rem; } ` @@ -275,8 +280,7 @@ const ExploreContainer = styled.div` flex-direction: column; @media (max-width: 640px) { - margin-top: 1rem; - padding: 0 1rem; + margin: 2rem 1rem 0 1rem; } ` @@ -298,216 +302,218 @@ export default function Home() { }} /> - -
-
Welcome to t1 Docs
-
- - - t1 is an EVM-based cross-chain application infrastructure that introduces Real-time proving (RTP) and - programmability to address fragmentation and composability challenges in scaling Ethereum: - - - - - Real-time proving: Using Trusted Execution Environments (TEEs), t1 proves its execution - integrity to Ethereum and partner rollups in under 12 seconds. By running partner rollup nodes within - its infrastructure, t1 aggregates and proves their state to Ethereum in 1-2 L1 blocks—enabling instant - settlement between Ethereum and any partner rollup. - - - Programmability: t1 smart contracts are able to read from and write to Ethereum and - partner rollups. (coming soon) - - - - - t1 provides the missing infrastructure for seamless cross-chain applications and liquidity movement—today. - - - - - {actions.map((action) => ( - - - - - - - - - - - -

{action.title}

-

{action.text}

-
- -
- ))} -
-
- <> - {/* Smart Contracts Section */} - -
- Integrate Your Smart Contracts -
-

Build with t1's cross-chain capabilities

- + +
- {smartContractGuides.map((action) => ( +
Welcome to t1 Docs
+
+ + + t1 is an EVM-based cross-chain application infrastructure that introduces Real-time proving (RTP) and + programmability to address fragmentation and composability challenges in scaling Ethereum: + + + + + Real-time proving: Using Trusted Execution Environments (TEEs), t1 proves its + execution integrity to Ethereum and partner rollups in under 12 seconds. By running partner rollup + nodes within its infrastructure, t1 aggregates and proves their state to Ethereum in 1-2 L1 + blocks—enabling instant settlement between Ethereum and any partner rollup. + + + Programmability: t1 smart contracts are able to read from and write to Ethereum and + partner rollups. (coming soon) + + + + + t1 provides the missing infrastructure for seamless cross-chain applications and liquidity + movement—today. + + + + + {actions.map((action) => ( - - - -
-

{action.title}

-
+ + + + + + -
-

{action.text}

-
+ +

{action.title}

+

{action.text}

+
))} - -
- - {/* Explore dApps Section */} - -
Explore dApps
-

See what's possible with t1

- -
- {dAppGuides.map((action) => ( - - - - -
-

{action.title}

-
- {!action.disabled && ( + + + <> + {/* Smart Contracts Section */} + +
+ Integrate Your Smart Contracts +
+

Build with t1's cross-chain capabilities

+ +
+ {smartContractGuides.map((action) => ( + + + + +
+

{action.title}

+
- )} -
-

{action.text}

-
- -
- ))} -
- - -
- - - - - - - - -
-

X

-

Stay up to date on X.

-
-
- -
- - - - -
-

Discord

-

Join our Developer Community.

-
-
- -
- - - - - - -
-

GitHub

-

View all t1 repositories.

-
-
- -
-
-
+
+

{action.text}

+
+ +
+ ))} +
+ + + {/* Explore dApps Section */} + +
Explore dApps
+

See what's possible with t1

+ +
+ {dAppGuides.map((action) => ( + + + + +
+

{action.title}

+
+ {!action.disabled && ( + + + + )} +
+

{action.text}

+
+ +
+ ))} +
+
+ +
+ + + + + + + + +
+

X

+

Stay up to date on X.

+
+
+ +
+ + + + +
+

Discord

+

Join our Developer Community.

+
+
+ +
+ + + + + + +
+

GitHub

+

View all t1 repositories.

+
+
+ +
+
+
+
)