-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: adds automation to pull down official translate icon for use in…
… extension (#21) feat: adds automation to pull down official translate icon for use in extension Adds an automation script to cURL the official Amazon Translate icon and add it to the codebase prior to build. This is done because of legal implications of including the icon with the project because it is open source. Refactors some of the CSS and moves the Spinner component from the popup folder to the components folder. Adds SVG import support to vite. fix #14 docs(third-party-licenses.txt): updates third-party licenses file to include bootstrap icons Adds attribution for bootstrap-icons to the third-party licenses file.
- Loading branch information
Showing
14 changed files
with
456 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Remove the current logo files | ||
rm -f ./src/assets/logo.svg | ||
rm -f ./src/assets/logo.png | ||
|
||
# Get the Amazon Translate icon from the web and pipe it into an svg file | ||
curl -XGET 'https://d2q66yyjeovezo.cloudfront.net/icon/fc46e26a907870744758b76166150f62-76c22bfd03882310f44da5a6a9590864.svg' > ./src/assets/logo.svg | ||
|
||
# Convert the svg to a png for use as the extension icon | ||
./node_modules/.bin/svg2png ./src/assets/logo.svg -o ./src/assets/logo.png |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.