From 9560492a84ce85acae6de880076196316db3f095 Mon Sep 17 00:00:00 2001 From: Earl Warren Date: Sun, 25 Feb 2024 23:41:33 +0100 Subject: [PATCH] [FRONTEND] move the gitea svg to web_src/svg and run make svg to update the forgejo svg as well --- build/generate-svg.js | 1 - public/assets/img/svg/gitea-forgejo.svg | 10 +--------- public/assets/img/svg/gitea-gitea.svg | 2 +- web_src/svg/gitea-gitea.svg | 1 + 4 files changed, 3 insertions(+), 11 deletions(-) create mode 100644 web_src/svg/gitea-gitea.svg diff --git a/build/generate-svg.js b/build/generate-svg.js index 2c0a5e37b..1d92bc0b1 100755 --- a/build/generate-svg.js +++ b/build/generate-svg.js @@ -59,7 +59,6 @@ async function main() { await Promise.all([ ...processFiles('node_modules/@primer/octicons/build/svg/*-16.svg', {prefix: 'octicon'}), ...processFiles('web_src/svg/*.svg'), - ...processFiles('public/assets/img/gitea.svg', {fullName: 'gitea-gitea'}), ]); } diff --git a/public/assets/img/svg/gitea-forgejo.svg b/public/assets/img/svg/gitea-forgejo.svg index ef617c00f..22ae79035 100644 --- a/public/assets/img/svg/gitea-forgejo.svg +++ b/public/assets/img/svg/gitea-forgejo.svg @@ -1,9 +1 @@ - - - - - - - - - + \ No newline at end of file diff --git a/public/assets/img/svg/gitea-gitea.svg b/public/assets/img/svg/gitea-gitea.svg index 5d89fa1da..61ef37074 100644 --- a/public/assets/img/svg/gitea-gitea.svg +++ b/public/assets/img/svg/gitea-gitea.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/web_src/svg/gitea-gitea.svg b/web_src/svg/gitea-gitea.svg new file mode 100644 index 000000000..5d89fa1da --- /dev/null +++ b/web_src/svg/gitea-gitea.svg @@ -0,0 +1 @@ + \ No newline at end of file