import React from "react"; import { Box, Grid, Typography } from "@mui/material"; import useMediaQuery from "@mui/material/useMediaQuery"; import { useTheme } from "@mui/material/styles"; import Image from "next/image"; import Link from "next/link"; import networkDocs from "../public/images/landing/network-docs.png"; import developerDocs from "../public/images/landing/developer-docs.png"; import sdkDocs from "../public/images/landing/sdk-docs.png"; import operatorGuide from "../public/images/landing/operator-guide.png"; import { t } from "nextra/dist/types-c8e621b7"; // import networkDocs from "./images/network-docs.png"; // import developerDocs from "./images/developer-docs.png"; // import sdkDocs from "./images/sdk-docs.png"; // import operatorGuide from "./images/operator-guide.png"; export const LandingPage = () => { const theme = useTheme(); const isTablet = useMediaQuery(theme.breakpoints.up("md")); const isDesktop = useMediaQuery(theme.breakpoints.up("xl")); const squares = [ { text: "Network Docs", description: "Architecture, crypto systems, and how the Mixnet works", href: "/network", icon: developerDocs, }, { text: "Operator Guides", description: "Guides and maintenance: if you want to run a node, start here", href: "/operators/introduction", icon: operatorGuide, }, { text: "Developer Portal", description: "Conceptual overview, clients, and tools for developers and integrations", href: "/developers", icon: networkDocs, }, { text: "SDKs", description: "Rust and Typescript SDK docs", href: "/developers/rust", icon: sdkDocs, }, ]; const shortenDescription = (description: string) => { return description.slice(0, 18) + "..."; }; return ( Nym Docs Nym is a privacy platform. It provides strong network-level privacy against sophisticated end-to-end attackers, and anonymous access control using blinded, re-randomizable, decentralized credentials. Our goal is to allow developers to build new applications, or upgrade existing apps, with privacy features unavailable in other systems. {squares.map((square, index) => ( {square.text} {square.text} {square.description} Open ))} ); };