react-component / react-component/menu

Remove hardcoded fontawesome from CDN

Open
#134 3 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
701
Forks
266
Avg merge
4d 11h
Merged PRs (30d)
3

Description

This library uses a stylesheet that pulls in the font-awesome library from a CDN. Would it be possible to remove this or make it optional in some manner? For sites that have a more restrictive Content Security Policy, this external CDN causes errors in the JS console.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the stylesheet that pulls Font Awesome from a CDN and inspect how the menu uses it. Verify the change no longer requires an external CDN under a restrictive Content Security Policy, while preserving the menu's existing appearance and behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.