diff --git a/public/screenshot4.png b/public/screenshot4.png new file mode 100644 index 00000000..611c58a5 Binary files /dev/null and b/public/screenshot4.png differ diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 4c4da34b..9f601fe7 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -9,12 +9,14 @@ import { useStore } from "~/lib/store" import { useAccount } from "wagmi" import { ConnectButton } from "~/components/common/ConnectButton" import Image from "next/image" -import { DotsHorizontalIcon } from "@heroicons/react/solid" +import { DotsHorizontalIcon, CheckIcon, XIcon } from "@heroicons/react/solid" import { LaughIcon } from "~/components/icons/LaughIcon" import { LoveIcon } from "~/components/icons/LoveIcon" +import { BlockchainIcon } from "~/components/icons/BlockchainIcon" import { Button } from "~/components/ui/Button" import { useConnectModal } from "@rainbow-me/rainbowkit" import { useRouter } from "next/router" +import { GITHUB_LINK } from "~/lib/env" export const getServerSideProps: GetServerSideProps = async (ctx) => { return { @@ -50,6 +52,68 @@ export default function Home({ region }: { region: string | null }) { } }, [isTry, address, router]) + const description = [ + { + screenshot: { + src: "/screenshot4.png", + width: 1548, + height: 626, + }, + icon: , + title: "Blockchain", + text: ( + <> + All blog data, including config, posts, following, comment... + Permanently stored on the blockchain by your own hands and can + only be controlled by yourself and not the platform like some other + "Web3" publishing platform. + + ), + }, + { + screenshot: { + src: "/screenshot2.png", + width: 812, + height: 1041, + }, + icon: , + title: "Rich interactions", + text: "Users can follow, comment, like, and collect your blog and posts, all on the blockchain of course.", + }, + { + screenshot: { + src: "/screenshot3.png", + width: 1101, + height: 721, + }, + icon: , + title: "Highly customizable", + text: "Domain name, navigation bar, custom styles, all as you wish, and stored on the blockchain.", + }, + { + screenshot: { + src: "/screenshot1.png", + width: 812, + height: 835, + }, + icon: , + title: "Elegant", + text: "Elegant and clean default theme allows you to get a great looking blog straight away.", + }, + ] + + const comparing = [ + "Only controlled by yourself", + "Like function", + "Comment function", + "Following function", + "Custom domain", + "Custom CSS", + "Navigation", + "Pages", + "Scheduled publishing", + ] + return (
@@ -61,11 +125,9 @@ export default function Home({ region }: { region: string | null }) { Blogging geekily.

- Meet xlog, the on-chain and open-source blogging platform for - everyone. -
- Blog data, including config, posts, following, comment... - Permanently stored on the blockchain and signed by you. + Meet xlog, the on-chain and{" "} + open-source blogging + platform for everyone.

{addressIn ? ( @@ -99,73 +161,53 @@ export default function Home({ region }: { region: string | null }) {
    -
  • -
    - screenshot2 -
    -
    -

    - -
    - Rich interactions -

    -

    - Users can follow, comment, like, and collect your blog and - posts, all on the blockchain of course. -

    -
    -
  • -
  • -
    - screenshot3 -
    -
    -

    - -
    - Highly customizable -

    -

    - Domain name, navigation bar, custom styles, all as you wish, - and stored on the blockchain. -

    -
    -
  • -
  • -
    - screenshot1 -
    -
    -

    - -
    - Elegant -

    -

    - Elegant and clean default theme allows you to get a great - looking blog straight away. -

    -
    -
  • + {description.map((item, index) => ( +
  • +
    + {item.title} +
    +
    +

    + {item.icon} +
    + {item.title} +

    +

    {item.text}

    +
    +
  • + ))}
+ + + + + + + + {comparing.map((item, index) => ( + + + + + + ))} + +
xlogMirror.xyz
{item} + + + +
-

xlog

+

logo

{addressIn ? (