Skip to content

A website banner you can load to show solidarity with Palestine

License

Notifications You must be signed in to change notification settings

TechForPalestine/palestine-banner

Repository files navigation

Ceasefire Now

Palestine Banner

Palestine Banner is a tool used to create banners for your website to show support for Palestine. This repository holds the JS and CSS for the banners.

⚡️ Quickstart

Include the already compiled JavaScript into your website and initialize the banner. You can set the theme to "auto", "light", or "dark".

Screenshot 2024-01-12 at 10 21 19 AM Screenshot 2024-01-12 at 10 21 02 AM
<head>
  ...
  <script src="https://tfpb.techforpalestine.org/lib/banner.min.js"></script>
  <script>
    TFPBanner.create({
      theme: "auto",
      fixed: false,
    });
  </script>
</head>

📖 Usage

Clone and install dependencies

git clone https://github.com/techforpalestine/palestine-banner.git && cd palestine-banner && yarn

Run developement server

yarn dev

👍 Contribute

To support the active development of Palestine Banners:

  1. Add a GitHub Star to the project.
  2. Share the project on social media and with other website owners.

⚠️ License

Copyright (c) 2023-present TechForPalestine and Contributors. Palestine Banner is free and open-source software licensed under the MIT License.