refactor(forgejo): serve theme related files from a directory instead of adding overrides one by one
All checks were successful
/ check (push) Successful in 2m36s
All checks were successful
/ check (push) Successful in 2m36s
This commit is contained in:
parent
2def5b10eb
commit
dc72926262
3 changed files with 83 additions and 5 deletions
|
@ -78,16 +78,17 @@ in {
|
|||
forceSSL = true;
|
||||
|
||||
locations = {
|
||||
"/" = {
|
||||
"@forgejo" = {
|
||||
proxyPass = "http://localhost:${toString port}";
|
||||
};
|
||||
|
||||
"= /assets/img/logo.svg" = {
|
||||
alias = ../../res/kitchen_logo.svg;
|
||||
"/" = {
|
||||
tryFiles = "$uri @forgejo";
|
||||
};
|
||||
|
||||
"= /assets/img/favicon.svg" = {
|
||||
alias = ../../res/kitchen_logo.svg;
|
||||
"/assets/" = {
|
||||
root = ../../res/forgejo;
|
||||
tryFiles = ''$uri @forgejo'';
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
77
res/forgejo/assets/img/logo.svg
Normal file
77
res/forgejo/assets/img/logo.svg
Normal file
|
@ -0,0 +1,77 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
width="32"
|
||||
height="32"
|
||||
viewBox="0 0 8.4666666 8.4666666"
|
||||
version="1.1"
|
||||
id="svg1"
|
||||
inkscape:version="1.3.2 (091e20ef0f, 2023-11-25)"
|
||||
sodipodi:docname="logo_forkish.svg"
|
||||
inkscape:export-filename="logo_forkish.png"
|
||||
inkscape:export-xdpi="156.0381"
|
||||
inkscape:export-ydpi="156.0381"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<sodipodi:namedview
|
||||
id="namedview1"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#cccccc"
|
||||
borderopacity="1"
|
||||
inkscape:showpageshadow="0"
|
||||
inkscape:pageopacity="1"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#d1d1d1"
|
||||
inkscape:document-units="mm"
|
||||
inkscape:zoom="24.941891"
|
||||
inkscape:cx="19.685757"
|
||||
inkscape:cy="16.317929"
|
||||
inkscape:window-width="1878"
|
||||
inkscape:window-height="991"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="layer1"
|
||||
inkscape:export-bgcolor="#ffffffff" />
|
||||
<defs
|
||||
id="defs1" />
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1">
|
||||
<rect
|
||||
style="display:none;fill:#d4d4d8;fill-opacity:1;stroke-width:0.0521294"
|
||||
id="rect1"
|
||||
width="29.862753"
|
||||
height="41.417007"
|
||||
x="-6.3411751"
|
||||
y="-6.0989685" />
|
||||
<rect
|
||||
style="display:none;fill:#2b3642;fill-opacity:1;stroke-width:0.0422357"
|
||||
id="rect2"
|
||||
width="30.821539"
|
||||
height="29.145094"
|
||||
x="-5.4448314"
|
||||
y="-5.1117887" />
|
||||
<g
|
||||
id="g3"
|
||||
transform="matrix(0.05033667,0,0,0.05033667,-0.88957731,-0.07244705)">
|
||||
<ellipse
|
||||
style="fill:#808080;fill-opacity:1;stroke-width:0.264583"
|
||||
id="path3"
|
||||
cx="140.19504"
|
||||
cy="-73.592682"
|
||||
rx="20.485214"
|
||||
ry="30.19277"
|
||||
transform="rotate(40.05722)" />
|
||||
<path
|
||||
style="fill:#808080;fill-opacity:1;stroke-width:0.264583"
|
||||
d="M 23.911696,24.733714 44.577298,7.0378601 75.901517,39.34082 c 1.509062,8.714787 0.445697,10.472862 -1.498952,15.518926 l 28.204915,32.928938 29.33525,-34.89597 c 2.99312,0.343239 3.83891,0.385735 6.12492,0.6338 0.77967,1.852983 1.18313,4.169864 1.68961,5.97949 l -30.61067,35.924021 53.22408,62.175045 -7.53759,6.43634 -52.15924,-60.92746 -50.08617,59.58127 -7.588211,-6.38035 L 96.148817,95.48336 66.883842,61.305353 C 59.863989,63.209481 57.5696,62.426342 51.38589,60.447918 Z"
|
||||
id="path1"
|
||||
sodipodi:nodetypes="cccccccccccccccccc" />
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 2.7 KiB |
Loading…
Reference in a new issue