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/Vector1.png"; import developerDocs from "../public/images/landing/Vector2.png"; import sdkDocs from "../public/images/landing/Vector3.png"; import operatorGuide from "../public/images/landing/Vector4.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, tools and SDKs", href: "/developers", icon: sdkDocs, }, { text: "APIs", description: "Interactive API specs for Nym infrastructure", href: "/apis/introduction", icon: networkDocs, }, ]; 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 ))} ); };