MCPcopy Index your code
hub / github.com/TechForPalestine/palestine-banner

github.com/TechForPalestine/palestine-banner @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
21 symbols 78 edges 22 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

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.

Extension points exported contracts — how you extend this code

InputProps (Interface)
(no doc)
src/components/ui/input.tsx
State (Interface)
(no doc)
src/components/ui/use-toast.ts
ButtonProps (Interface)
(no doc)
src/components/ui/button.tsx

Core symbols most depended-on inside this repo

cn
called by 19
src/lib/utils.ts
dispatch
called by 5
src/components/ui/use-toast.ts
addToRemoveQueue
called by 2
src/components/ui/use-toast.ts
useToast
called by 2
src/components/ui/use-toast.ts
genId
called by 1
src/components/ui/use-toast.ts
reducer
called by 1
src/components/ui/use-toast.ts
toast
called by 1
src/components/ui/use-toast.ts
dismiss
called by 1
src/components/ui/use-toast.ts

Shape

Function 18
Interface 3

Languages

TypeScript100%

Modules by API surface

src/components/ui/use-toast.ts9 symbols
src/components/configure-snippet.tsx2 symbols
src/lib/utils.ts1 symbols
src/components/ui/toaster.tsx1 symbols
src/components/ui/input.tsx1 symbols
src/components/ui/copy-button.tsx1 symbols
src/components/ui/code-snippet.tsx1 symbols
src/components/ui/button.tsx1 symbols
src/components/banner.tsx1 symbols
src/App.tsx1 symbols
public/lib/banner.min.js1 symbols
public/lib/banner.js1 symbols

For agents

$ claude mcp add palestine-banner \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page