// SPDX-License-Identifier: MIT pragma solidity ^0.8.7; import "../FleekERC721.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/Base64.sol"; library FleekSVG { /** * @dev Generates a SVG image. */ function generateBase64(string memory name, string memory ENS) internal pure returns (string memory) { return ( string( abi.encodePacked( "data:application/json;base64,", Base64.encode( abi.encodePacked( '', "", "", '', '', "", '', 'Fleek NFAs', "", '', '', name, '', ENS, "", "", "" ) ) ) ) ); } }