- Empowering Stories,
-
- Decentralized Freedom.
-
- - - What is Chainlib? - -
- -- Chainlib is a new marketplace built on the Polygon blockchain, - where authors can publish books and readers can support them - directly. We eliminate middlemen, ensure fair compensation, - and provide a platform where creativity thrives and readers - discover unique voices. -
-- - Why Chainlib Exists? - -
-- We believe creators deserve fair pay for their publications. - ChainLib empowers authors to earn more from their work and - give readers direct access to their favorite writers. By using - blockchain technology, we've created a transparent and - decentralized way of supporting literary creation and - readership. -
-- What Makes Us Different -
-- Decentralized Storage -
-- Books live on IPFS, never locked behind servers. -
-- NFT Publishing -
-- Every published work is a tradable asset, linked to a - tokenbound account.{" "} -
-- Smart Contracts -
-- Royalties, rights, and revenue handled transparently and - automatically. -
-- Reader Rewards -
-- Read, review, and grow your rank in our engaged reading - community. -
-
+ Empowering Stories,
+
+ Decentralized Freedom.
+
- Join Our Community of Book Lovers -
- - -- Our Community -
-- 40k+ active members -
-Page
- ) +function Page() { + returnPage
; } - -export default Page; \ No newline at end of file +export default Page; diff --git a/src/app/author/layout.tsx b/src/app/author/layout.tsx index fec8c4d..64800cc 100644 --- a/src/app/author/layout.tsx +++ b/src/app/author/layout.tsx @@ -1,7 +1,7 @@ "use client"; -import React from 'react'; -import SideNavBar from '@/components/layout/Sidenavbar'; +import React from "react"; +import SideNavBar from "@/components/layout/Sidenavbar"; interface LayoutProps { children: React.ReactNode; @@ -9,10 +9,10 @@ interface LayoutProps { const Layout: React.FCJoseph Yanum
-@joeyanum
-Joseph Yanum
+@joeyanum
Your Words
-Deserve the World
++ Your Words +
++ Deserve the World +
Books Published
-{stats.booksPublished}
++ {stats.booksPublished} +
Total Earning
-${stats.totalEarning.toFixed(2)}
++ ${stats.totalEarning.toFixed(2)} +
Total Reads
-{stats.totalReads}
++ {stats.totalReads} +
Followers
-{stats.followers}
++ {stats.followers} +
Just a few more details and your profile will be complete!
- Let's get this done so you can enjoy all the features.
+
+ Let's get this done so you can enjoy all the features.
+
Recent Published Books
- ++ Recent Published Books +
+ View All →Trending Books
- + View All →Top Authors for the Week
- ++ Top Authors for the Week +
+ View All →{author.name}
Page
- ) +function Page() { + returnPage
; } - -export default Page; \ No newline at end of file +export default Page; diff --git a/src/app/community/page.tsx b/src/app/community/page.tsx index a31c30a..0028268 100644 --- a/src/app/community/page.tsx +++ b/src/app/community/page.tsx @@ -1,14 +1,5 @@ - - - - - - -function Page(){ - return ( -Page
- ) +function Page() { + returnPage
; } - -export default Page; \ No newline at end of file +export default Page; diff --git a/src/app/how-it-works/page.tsx b/src/app/how-it-works/page.tsx index 1e7b819..2779195 100644 --- a/src/app/how-it-works/page.tsx +++ b/src/app/how-it-works/page.tsx @@ -1,30 +1,34 @@ +import NavBar from "@/components/landingpage/NavBar"; import FaqSection from "./_components/FaqSection"; -import Footer from "./_components/Footer"; -import Navbar from "./_components/Navbar"; import StepByStepSection from "./_components/StepByStepSection"; +import Footer from "@/components/landingpage/Footer"; export default function Page() { + return ( + <> +
+ Building More
+
+
+ Than an e-Library
+
+
+ + A decentralized world where stories live on-chain and creators stay in + control. Powered by StarkNet, our platform gives writers the freedom + to publish without intermediaries and gives readers direct access to + original, verifiable content they can truly own. +
+
- Building More
-
- Than an e-Library
-
- A decentralized world where stories live on-chain and creators stay in control. Powered by StarkNet, our platform gives writers the freedom to publish without intermediaries and gives readers direct access to original, verifiable content they can truly own.
-Onboarding page
- ) +function Onboarding() { + returnOnboarding page
; } - - -export default Onboarding; \ No newline at end of file +export default Onboarding; diff --git a/src/app/page.tsx b/src/app/page.tsx index c8b9391..68344fe 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -2,13 +2,5 @@ import React from "react"; import LandingPage from "@/app/landing-page/page"; export default function Home() { - return ( - <> -Page
- ) +function Page() { + returnPage
; } - -export default Page; \ No newline at end of file +export default Page; diff --git a/src/app/reader/layout.tsx b/src/app/reader/layout.tsx index b5deda8..bf71e2a 100644 --- a/src/app/reader/layout.tsx +++ b/src/app/reader/layout.tsx @@ -1,5 +1,4 @@ - -import React from 'react'; +import React from "react"; interface LayoutProps { children: React.ReactNode; @@ -7,7 +6,7 @@ interface LayoutProps { const Layout: React.FCReview Page
Page
- ) +function Page() { + returnPage
; } - -export default Page; \ No newline at end of file +export default Page; diff --git a/src/app/reader/page.tsx b/src/app/reader/page.tsx index f75d031..0028268 100644 --- a/src/app/reader/page.tsx +++ b/src/app/reader/page.tsx @@ -1,9 +1,5 @@ - -function Page(){ - return ( -Page
- ) +function Page() { + returnPage
; } - -export default Page; \ No newline at end of file +export default Page; diff --git a/src/app/reader/ranking/page.tsx b/src/app/reader/ranking/page.tsx index 2bf2c4d..0028268 100644 --- a/src/app/reader/ranking/page.tsx +++ b/src/app/reader/ranking/page.tsx @@ -1,16 +1,5 @@ - - - - - - - - -function Page(){ - return ( -Page
- ) +function Page() { + returnPage
; } - -export default Page; \ No newline at end of file +export default Page; diff --git a/src/app/reader/subscription/page.tsx b/src/app/reader/subscription/page.tsx index b30cd9e..0028268 100644 --- a/src/app/reader/subscription/page.tsx +++ b/src/app/reader/subscription/page.tsx @@ -1,15 +1,5 @@ - - - - - - - -function Page(){ - return ( -Page
- ) +function Page() { + returnPage
; } - -export default Page; \ No newline at end of file +export default Page; diff --git a/src/app/settings/page.tsx b/src/app/settings/page.tsx index b30cd9e..0028268 100644 --- a/src/app/settings/page.tsx +++ b/src/app/settings/page.tsx @@ -1,15 +1,5 @@ - - - - - - - -function Page(){ - return ( -Page
- ) +function Page() { + returnPage
; } - -export default Page; \ No newline at end of file +export default Page; diff --git a/src/app/svg/DecentralizedIcon.tsx b/src/app/svg/DecentralizedIcon.tsx new file mode 100644 index 0000000..df95a67 --- /dev/null +++ b/src/app/svg/DecentralizedIcon.tsx @@ -0,0 +1,28 @@ +import React from "react"; + +function DecentralizedIcon() { + return ( + + ); +} + +export default DecentralizedIcon; diff --git a/src/app/svg/Linkedin.tsx b/src/app/svg/Linkedin.tsx new file mode 100644 index 0000000..a5fe801 --- /dev/null +++ b/src/app/svg/Linkedin.tsx @@ -0,0 +1,20 @@ +import React from "react"; + +function Linkedin() { + return ( + + ); +} + +export default Linkedin; diff --git a/src/app/svg/NftCircleIcon.tsx b/src/app/svg/NftCircleIcon.tsx new file mode 100644 index 0000000..5da3975 --- /dev/null +++ b/src/app/svg/NftCircleIcon.tsx @@ -0,0 +1,23 @@ +function NftCircleIcon() { + return ( + + ); +} + +export default NftCircleIcon; diff --git a/src/app/svg/RewardIcon.tsx b/src/app/svg/RewardIcon.tsx new file mode 100644 index 0000000..ab24817 --- /dev/null +++ b/src/app/svg/RewardIcon.tsx @@ -0,0 +1,31 @@ +function RewardIcon() { + return ( + + ); +} + +export default RewardIcon; diff --git a/src/app/svg/SmartContractIcon.tsx b/src/app/svg/SmartContractIcon.tsx new file mode 100644 index 0000000..5daa986 --- /dev/null +++ b/src/app/svg/SmartContractIcon.tsx @@ -0,0 +1,158 @@ +import React from "react"; + +function SmartContractIcon() { + return ( + + ); +} + +export default SmartContractIcon; diff --git a/src/app/svg/Telegram.tsx b/src/app/svg/Telegram.tsx new file mode 100644 index 0000000..434b93a --- /dev/null +++ b/src/app/svg/Telegram.tsx @@ -0,0 +1,22 @@ +import React from "react"; + +function Telegram() { + return ( + + ); +} + +export default Telegram; diff --git a/src/app/svg/X.tsx b/src/app/svg/X.tsx new file mode 100644 index 0000000..34af909 --- /dev/null +++ b/src/app/svg/X.tsx @@ -0,0 +1,47 @@ +import React from "react"; + +function X() { + return ( + + ); +} + +export default X; diff --git a/src/app/svg/x.svg b/src/app/svg/x.svg new file mode 100644 index 0000000..6b9ed29 --- /dev/null +++ b/src/app/svg/x.svg @@ -0,0 +1,15 @@ + diff --git a/src/components/blockchain/Providers.tsx b/src/components/blockchain/Providers.tsx index aa42c70..28c52fb 100644 --- a/src/components/blockchain/Providers.tsx +++ b/src/components/blockchain/Providers.tsx @@ -1,74 +1,34 @@ - -// "use client"; -// import { ReactNode } from "react"; - -// import { sepolia } from "@starknet-react/chains"; -// import { -// StarknetConfig, -// argent, -// braavos, -// useInjectedConnectors, -// jsonRpcProvider, -// voyager, -// } from "@starknet-react/core"; - -// export function Providers({ children }: { children: ReactNode }) { -// const { connectors } = useInjectedConnectors({ -// // Show these connectors if the user has no connector installed. -// recommended: [argent(), braavos()], -// // Hide recommended connectors if the user has any connector installed. -// includeRecommended: "onlyIfNoConnectors", -// // Randomize the order of the connectors. -// order: "random", -// }); -// return ( -//- Connect Wallet -
-
+
+ Connect Wallet +
+ +Choose a wallet you want to connect to Chain Lib
-Top Authors For This Week
-This week's most-read and most-loved authors don't miss their latest work
++ Top Authors For This Week +
++ This week's most-read and most-loved authors don't miss their latest + work +