import React from 'react'

import './Css/Footer.css'

function Footer() {
    const version = window._env_?.APP_VERSION || '1.1.0';
    
    return (
        <footer>
            <p className="copyright">
                Based on <a href="https://github.com/vallezw/Image-Uploader" target="_blank" rel="noopener noreferrer">Image-Uploader by vallezw</a>
                {' | '}
                Extended by <a href="https://gitea.lan.hobbyhimmel.de/hobbyhimmel/Project-Image-Uploader" target="_blank" rel="noopener noreferrer">Hobbyhimmel</a>
                {' | '}
                v{version}
            </p>
        </footer>
    )
}

export default Footer
