import { defineComponent } from "vue";

export default defineComponent({
    name: "dj-paypal-donate",
    setup: () => {
        return () => (
            <form action="https://www.paypal.com/donate" method="post" target="_top">
                <input type="hidden" name="hosted_button_id" value="9NXC6V5HDPGFL" />
                <input
                    id="ppbutton"
                    type="image"
                    src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif"
                    name="submit"
                    title="Thanks for your support!"
                    alt="Donate with PayPal button"
                />
                <img alt="" src="https://www.paypal.com/en_DE/i/scr/pixel.gif" width="1" height="1" />
            </form>
        );
    },
});
