Skip to content
This repository has been archived by the owner on Apr 3, 2023. It is now read-only.

Commit

Permalink
Merge pull request #46 from dragonfruitnetwork/operator-svgs
Browse files Browse the repository at this point in the history
Move operator icons to svg
  • Loading branch information
aspriddell committed Sep 7, 2022
2 parents 5f072b8 + f9bcc8a commit 0af1609
Show file tree
Hide file tree
Showing 142 changed files with 48,437 additions and 30 deletions.
26 changes: 0 additions & 26 deletions .github/workflows/firebase.yaml

This file was deleted.

13 changes: 9 additions & 4 deletions .github/workflows/pages.yml → .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish (Pages)
name: Publish

permissions:
contents: read
Expand All @@ -10,18 +10,23 @@ on:
types: [ published ]

concurrency:
group: "pages"
group: "publish"
cancel-in-progress: true

jobs:
publish:
pages:
runs-on: ubuntu-latest

environment:
name: production
url: https://d6static.dragonfruit.network

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Process Assets
run: ./process-assets.sh

- name: Setup Pages
uses: actions/configure-pages@v2
Expand Down
13 changes: 13 additions & 0 deletions process-assets.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/usr/bin/env bash

echo "Converting Operator Icons to PNG..."

cd ./public/ops
for f in *.svg
do
output="$(basename $f .svg).png"
echo "Processing $f -> $output"
convert -resize 300x300 -background none $f $output
done

echo "Processing Complete!"
Binary file removed public/ops/ace.png
Binary file not shown.
695 changes: 695 additions & 0 deletions public/ops/ace.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/ops/alibi.png
Binary file not shown.
785 changes: 785 additions & 0 deletions public/ops/alibi.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/ops/amaru.png
Binary file not shown.
628 changes: 628 additions & 0 deletions public/ops/amaru.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/ops/aruni.png
Binary file not shown.
677 changes: 677 additions & 0 deletions public/ops/aruni.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/ops/ash.png
Binary file not shown.
608 changes: 608 additions & 0 deletions public/ops/ash.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/ops/azami.png
Binary file not shown.
1,343 changes: 1,343 additions & 0 deletions public/ops/azami.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/ops/bandit.png
Binary file not shown.
553 changes: 553 additions & 0 deletions public/ops/bandit.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/ops/blackbeard.png
Binary file not shown.
663 changes: 663 additions & 0 deletions public/ops/blackbeard.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/ops/blitz.png
Binary file not shown.
713 changes: 713 additions & 0 deletions public/ops/blitz.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/ops/buck.png
Binary file not shown.
662 changes: 662 additions & 0 deletions public/ops/buck.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/ops/capitao.png
Binary file not shown.
578 changes: 578 additions & 0 deletions public/ops/capitao.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/ops/castle.png
Binary file not shown.
181 changes: 181 additions & 0 deletions public/ops/castle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/ops/caveira.png
Binary file not shown.
Loading

0 comments on commit 0af1609

Please sign in to comment.