summaryrefslogtreecommitdiffstats
path: root/public/img/svg/octicon-infinity.svg
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2020-07-12 11:10:56 +0200
committerGitHub <noreply@github.com>2020-07-12 12:10:56 +0300
commit8188176b588264fe0ff8e3f82a623ea007a1af41 (patch)
tree0dd469b25f45c5a40ee62916b40162985753972a /public/img/svg/octicon-infinity.svg
parent63591016b3ecd79ab1172cd98e2e830a09d6f515 (diff)
downloadgitea-8188176b588264fe0ff8e3f82a623ea007a1af41.tar.gz
gitea-8188176b588264fe0ff8e3f82a623ea007a1af41.zip
Direct SVG rendering (#12157)
Introduce 'make svg' which calls a node script that compiles svg files to `public/img/svg`. These files are vendored to not create a dependency on Node for the backend build. On the frontend side, configure webpack using `raw-loader` so SVGs can be imported as string. Also moved our existing SVGs to web_src/svg for consistency. Fixes: https://github.com/go-gitea/gitea/issues/11618
Diffstat (limited to 'public/img/svg/octicon-infinity.svg')
-rw-r--r--public/img/svg/octicon-infinity.svg1
1 files changed, 1 insertions, 0 deletions
diff --git a/public/img/svg/octicon-infinity.svg b/public/img/svg/octicon-infinity.svg
new file mode 100644
index 0000000000..64df65c8c3
--- /dev/null
+++ b/public/img/svg/octicon-infinity.svg
@@ -0,0 +1 @@
+<svg viewBox="0 0 16 16" class="svg octicon-infinity" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M4 6a2 2 0 100 4c.137 0 .402-.073.796-.318a7.49 7.49 0 001.138-.908c.285-.27.543-.542.753-.774a14.22 14.22 0 00-.753-.774 7.49 7.49 0 00-1.138-.908C4.402 6.073 4.137 6 4 6zm5.313 2c.21.232.468.504.753.774.37.35.764.676 1.138.908.394.245.659.318.796.318a2 2 0 100-4c-.137 0-.402.073-.796.318a7.483 7.483 0 00-1.138.908c-.285.27-.543.542-.753.774zM8 9.527a15.45 15.45 0 01-.691.7 9.587 9.587 0 01-1.457 1.154C5.34 11.698 4.69 12 4 12a4 4 0 010-8c.691 0 1.34.302 1.852.62.531.33 1.034.754 1.457 1.154.255.24.489.481.691.699.202-.218.436-.458.691-.7a9.587 9.587 0 011.457-1.154C10.66 4.302 11.31 4 12 4a4 4 0 010 8c-.691 0-1.34-.302-1.852-.62a9.464 9.464 0 01-1.457-1.154A14.47 14.47 0 018 9.527z"/></svg> \ No newline at end of file