This is a custom web component that displays a banner with a link to donate to a charity that supports Palestine.
-
Download the
support-palestine-banner.js
file and include it in your project directory. -
In your HTML file, include a script tag that references the
support-palestine-banner.js
file:
<script type="module" src="path/to/support-palestine-banner.js"></script>
To use the support-palestine-banner component, simply include the following tag in your HTML:
<support-palestine-banner></support-palestine-banner>
This will display a banner on your page with a stylized representation of the Palestinian flag and a link to donate to a charity that supports Palestine.
See example usage in the index.html
file on this folder.
The styles for the banner and flag are defined in the support-palestine-banner.js file. You can modify these styles to customize the appearance of the component.
If you have any questions or issues, please open an issue on this repository.