// React import React, { useState, useEffect } from 'react'; // i18n import { useTranslation, useLanguageQuery } from 'next-export-i18n'; // Font Awesome import { faKey, faEye, faDownload } from '@fortawesome/free-solid-svg-icons' import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' // Next.js import Link from 'next/link' export default function Modal() { const [showModal, setShowModal] = React.useState(false); const { t } = useTranslation(); const [query] = useLanguageQuery(); return ( <> {showModal ? ( <>
{/* Modal content */}
{/* Modal body */}

{t('keys')}

  • PGP    {t('download')}

    {t('fingerprint')}:

    3745 F270 DB4E 8975 6B07 62BE EB0F E5D9 25C4 A968
  • SSH    {t('view')}

    {t('fingerprint')}:

    2048 SHA256:xwSL4DORWmroWdC6P0GU1m1yZl/cXqjo9rCCWqqO+Dc
{/* Modal footer for close button */}
) : null} ); }