import robotImage from "../../../assets/images/robot.jpg"; import Button from "../Button"; import { BsFacebook, BsDiscord, BsTwitter, BsTelegram, BsInstagram, } from "react-icons/bs"; import { MdContentCopy } from "react-icons/md"; const FirstSection = () => { const address = "0x3c97331438e90680a17c35905ffc2b8ef760f844"; const truncateAddress = (address: string) => { return address.slice(0, 8) + "......" + address.slice(-7); }; const copyToClipboard = (address: string) => { navigator.clipboard.writeText(address); }; return (
Lorem ipsum dolor sit amet consectetur adipisicing elit. Similique amet eveniet fugiat pariatur, illo in est officiis labore ad corrupti obcaecati asperiores! Quos ratione tempore dolorum temporibus tenetur quaerat.
{truncateAddress(address)}
{truncateAddress(address)}