diff --git a/public/images/3nodes.png b/public/images/3nodes.png new file mode 100644 index 0000000..000a9e9 Binary files /dev/null and b/public/images/3nodes.png differ diff --git a/public/images/capacity.png b/public/images/capacity.png new file mode 100644 index 0000000..8720cef Binary files /dev/null and b/public/images/capacity.png differ diff --git a/public/images/rewards.png b/public/images/rewards.png new file mode 100644 index 0000000..deedde0 Binary files /dev/null and b/public/images/rewards.png differ diff --git a/src/components/Apps.tsx b/src/components/Apps.tsx index 09768eb..f5bd91f 100644 --- a/src/components/Apps.tsx +++ b/src/components/Apps.tsx @@ -21,7 +21,7 @@ const logos = [ export function AppsPreview() { return (
-
+
{/* Heading */} - + ))} diff --git a/src/components/Farmer.tsx b/src/components/Farmer.tsx index e3dabda..486abe2 100644 --- a/src/components/Farmer.tsx +++ b/src/components/Farmer.tsx @@ -1,29 +1,96 @@ "use client"; import { Button } from "./Button"; +import Image from "next/image"; + +const posts = [ + { + id: 1, + title: 'Host A Node', + href: '#', + description1: + 'All you need to get started is a modern computer, electricity and network. Once booted with Zero OS, a computer becomes a ThreeFold Node.', + description2: '', + imageUrl: + './images/3nodes.png', + }, + { + id: 2, + title: 'Offer Capacity', + href: '#', + description1: 'The capacity of the node gets registered on the ThreeFold Blockchain and is available for users on the TF Marketplace.', + description2: '', + imageUrl: + './images/capacity.png', + }, + { + id: 3, + title: 'Earn Rewards', + href: '#', + description1: + 'Farmers earn rewards for their used resources, enabling a fair and transparent peer-to-peer economy.', + description2: '', + imageUrl: + './images/rewards.png', + }, +] export function FarmerPreview() { return ( -
+
{/* Gradient Blob Component */}
{/* Left Column - Text (1/3 width) */} -
-

+
+
+

Contribute to the Decentralized Internet in 3 Steps

+
{/* Right Column - Stacked Cubes (2/3 width) */}
-

+
+ {posts.map((post) => ( +
+
{ + e.currentTarget.style.filter = 'brightness(0.8) drop-shadow(0 0 20px rgba(156, 163, 175, 0.5))'; + }} + onMouseLeave={(e) => { + e.currentTarget.style.filter = 'brightness(1)'; + }} + > +
+

+ + + {post.title} + +

+ < div className="max-w-2/3"> +

{post.description1}

+

{post.description2}

+
+ + + ))} +
); diff --git a/src/components/StackSection.tsx b/src/components/StackSection.tsx index fd59e2c..5a8f8bf 100644 --- a/src/components/StackSection.tsx +++ b/src/components/StackSection.tsx @@ -13,7 +13,7 @@ export function StackSectionPreview() {
{/* Left Column - Text (1/3 width) */}
-

+

A Decentralized Infrastructure Layer

diff --git a/src/components/ui/Blog.tsx b/src/components/ui/Blog.tsx new file mode 100644 index 0000000..00e54ca --- /dev/null +++ b/src/components/ui/Blog.tsx @@ -0,0 +1,97 @@ +const posts = [ + { + id: 1, + title: 'Boost your conversion rate', + href: '#', + description: + 'Illo sint voluptas. Error voluptates culpa eligendi. Hic vel totam vitae illo. Non aliquid explicabo necessitatibus unde. Sed exercitationem placeat consectetur nulla deserunt vel. Iusto corrupti dicta.', + imageUrl: + 'https://images.unsplash.com/photo-1496128858413-b36217c2ce36?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=3603&q=80', + date: 'Mar 16, 2020', + datetime: '2020-03-16', + author: { + name: 'Michael Foster', + imageUrl: + 'https://images.unsplash.com/photo-1519244703995-f4e0f30006d5?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80', + }, + }, + { + id: 2, + title: 'How to use search engine optimization to drive sales', + href: '#', + description: 'Optio cum necessitatibus dolor voluptatum provident commodi et. Qui aperiam fugiat nemo cumque.', + imageUrl: + 'https://images.unsplash.com/photo-1547586696-ea22b4d4235d?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=3270&q=80', + date: 'Mar 10, 2020', + datetime: '2020-03-10', + author: { + name: 'Lindsay Walton', + imageUrl: + 'https://images.unsplash.com/photo-1517841905240-472988babdf9?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80', + }, + }, + { + id: 3, + title: 'Improve your customer experience', + href: '#', + description: + 'Cupiditate maiores ullam eveniet adipisci in doloribus nulla minus. Voluptas iusto libero adipisci rem et corporis.', + imageUrl: + 'https://images.unsplash.com/photo-1492724441997-5dc865305da7?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=3270&q=80', + date: 'Feb 12, 2020', + datetime: '2020-02-12', + author: { + name: 'Tom Cook', + imageUrl: + 'https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80', + }, + }, +] + +export default function Example() { + return ( +

+
+
+

+ From the blog +

+

Learn how to grow your business with our expert advice.

+
+
+ {posts.map((post) => ( + + ))} +
+
+
+ ) +} diff --git a/src/images/3nodes.png b/src/images/3nodes.png new file mode 100644 index 0000000..0603be8 Binary files /dev/null and b/src/images/3nodes.png differ