Consolidate Logos and update README header (#14136)
* Consolidate Logos and update README header - Remove unused `logo-lg.png`, `logo-sm.png` and `logo-192.png`. - Consolidate `favicon.svg` and `logo.svg` to just `logo.svg`. - Remove Safari Mask icon, it seems to work fine with just `favicon.png` (no SVG support). - Remove Fluid Icon. It only served Firefox and SVG works just fine there. - Update customization instructions. - Update README.md to use SVG icon, increase logo size and center it and badges. * Update README_ZH.md Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> * Update README_ZH.md Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: techknowlogick <techknowlogick@gitea.io>
61
README.md
|
@ -1,19 +1,52 @@
|
||||||
[简体中文](README_ZH.md)
|
<p align="center">
|
||||||
|
<a href="https://gitea.io/">
|
||||||
|
<img alt="Gitea" src="https://raw.githubusercontent.com/go-gitea/gitea/master/public/img/gitea.svg" width="220"/>
|
||||||
|
</a>
|
||||||
|
</p>
|
||||||
|
<h1 align="center">Gitea - Git with a cup of tea</h1>
|
||||||
|
|
||||||
<h1> <img src="https://raw.githubusercontent.com/go-gitea/gitea/master/public/img/gitea-192.png" alt="logo" width="30" height="30"> Gitea - Git with a cup of tea</h1>
|
<p align="center">
|
||||||
|
<a href="https://drone.gitea.io/go-gitea/gitea" title="Build Status">
|
||||||
|
<img src="https://drone.gitea.io/api/badges/go-gitea/gitea/status.svg?ref=refs/heads/master">
|
||||||
|
</a>
|
||||||
|
<a href="https://discord.gg/Gitea" title="Join the Discord chat at https://discord.gg/Gitea">
|
||||||
|
<img src="https://img.shields.io/discord/322538954119184384.svg">
|
||||||
|
</a>
|
||||||
|
<a href="https://microbadger.com/images/gitea/gitea" title="Get your own image badge on microbadger.com">
|
||||||
|
<img src="https://images.microbadger.com/badges/image/gitea/gitea.svg">
|
||||||
|
</a>
|
||||||
|
<a href="https://codecov.io/gh/go-gitea/gitea" title="Codecov">
|
||||||
|
<img src="https://codecov.io/gh/go-gitea/gitea/branch/master/graph/badge.svg">
|
||||||
|
</a>
|
||||||
|
<a href="https://godoc.org/code.gitea.io/gitea" title="Go Report Card">
|
||||||
|
<img src="https://goreportcard.com/badge/code.gitea.io/gitea">
|
||||||
|
</a>
|
||||||
|
<a href="https://godoc.org/code.gitea.io/gitea" title="GoDoc">
|
||||||
|
<img src="https://godoc.org/code.gitea.io/gitea?status.svg">
|
||||||
|
</a>
|
||||||
|
<a href="https://github.com/go-gitea/gitea/releases/latest" title="GitHub release">
|
||||||
|
<img src="https://img.shields.io/github/release/go-gitea/gitea.svg">
|
||||||
|
</a>
|
||||||
|
<a href="https://www.codetriage.com/go-gitea/gitea" title="Help Contribute to Open Source">
|
||||||
|
<img src="https://www.codetriage.com/go-gitea/gitea/badges/users.svg">
|
||||||
|
</a>
|
||||||
|
<a href="https://opencollective.com/gitea" title="Become a backer/sponsor of gitea">
|
||||||
|
<img src="https://opencollective.com/gitea/tiers/backers/badge.svg?label=backers&color=brightgreen">
|
||||||
|
</a>
|
||||||
|
<a href="https://opensource.org/licenses/MIT" title="License: MIT">
|
||||||
|
<img src="https://img.shields.io/badge/License-MIT-blue.svg">
|
||||||
|
</a>
|
||||||
|
<a href="https://crowdin.com/project/gitea" title="Crowdin">
|
||||||
|
<img src="https://badges.crowdin.net/gitea/localized.svg">
|
||||||
|
</a>
|
||||||
|
<a href="https://www.tickgit.com/browse?repo=github.com/go-gitea/gitea" title="TODOs">
|
||||||
|
<img src="https://badgen.net/https/api.tickgit.com/badgen/github.com/go-gitea/gitea">
|
||||||
|
</a>
|
||||||
|
</p>
|
||||||
|
|
||||||
[![Build Status](https://drone.gitea.io/api/badges/go-gitea/gitea/status.svg?ref=refs/heads/master)](https://drone.gitea.io/go-gitea/gitea)
|
<p align="center">
|
||||||
[![Join the Discord chat at https://discord.gg/Gitea](https://img.shields.io/discord/322538954119184384.svg)](https://discord.gg/Gitea)
|
<a href="README_ZH.md">View the chinese version of this document</a>
|
||||||
[![](https://images.microbadger.com/badges/image/gitea/gitea.svg)](https://microbadger.com/images/gitea/gitea "Get your own image badge on microbadger.com")
|
</p>
|
||||||
[![codecov](https://codecov.io/gh/go-gitea/gitea/branch/master/graph/badge.svg)](https://codecov.io/gh/go-gitea/gitea)
|
|
||||||
[![Go Report Card](https://goreportcard.com/badge/code.gitea.io/gitea)](https://goreportcard.com/report/code.gitea.io/gitea)
|
|
||||||
[![GoDoc](https://godoc.org/code.gitea.io/gitea?status.svg)](https://godoc.org/code.gitea.io/gitea)
|
|
||||||
[![GitHub release](https://img.shields.io/github/release/go-gitea/gitea.svg)](https://github.com/go-gitea/gitea/releases/latest)
|
|
||||||
[![Help Contribute to Open Source](https://www.codetriage.com/go-gitea/gitea/badges/users.svg)](https://www.codetriage.com/go-gitea/gitea)
|
|
||||||
[![Become a backer/sponsor of gitea](https://opencollective.com/gitea/tiers/backers/badge.svg?label=backers&color=brightgreen)](https://opencollective.com/gitea)
|
|
||||||
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
|
|
||||||
[![Crowdin](https://badges.crowdin.net/gitea/localized.svg)](https://crowdin.com/project/gitea)
|
|
||||||
[![TODOs](https://badgen.net/https/api.tickgit.com/badgen/github.com/go-gitea/gitea)](https://www.tickgit.com/browse?repo=github.com/go-gitea/gitea)
|
|
||||||
|
|
||||||
## Purpose
|
## Purpose
|
||||||
|
|
||||||
|
|
60
README_ZH.md
|
@ -1,18 +1,52 @@
|
||||||
[English](README.md)
|
<p align="center">
|
||||||
|
<a href="https://gitea.io/">
|
||||||
|
<img alt="Gitea" src="https://raw.githubusercontent.com/go-gitea/gitea/master/public/img/gitea.svg" width="220"/>
|
||||||
|
</a>
|
||||||
|
</p>
|
||||||
|
<h1 align="center">Gitea - Git with a cup of tea</h1>
|
||||||
|
|
||||||
<h1> <img src="https://raw.githubusercontent.com/go-gitea/gitea/master/public/img/gitea-192.png" alt="logo" width="30" height="30"> Gitea - Git with a cup of tea</h1>
|
<p align="center">
|
||||||
|
<a href="https://drone.gitea.io/go-gitea/gitea" title="Build Status">
|
||||||
|
<img src="https://drone.gitea.io/api/badges/go-gitea/gitea/status.svg?ref=refs/heads/master">
|
||||||
|
</a>
|
||||||
|
<a href="https://discord.gg/Gitea" title="Join the Discord chat at https://discord.gg/Gitea">
|
||||||
|
<img src="https://img.shields.io/discord/322538954119184384.svg">
|
||||||
|
</a>
|
||||||
|
<a href="https://microbadger.com/images/gitea/gitea" title="Get your own image badge on microbadger.com">
|
||||||
|
<img src="https://images.microbadger.com/badges/image/gitea/gitea.svg">
|
||||||
|
</a>
|
||||||
|
<a href="https://codecov.io/gh/go-gitea/gitea" title="Codecov">
|
||||||
|
<img src="https://codecov.io/gh/go-gitea/gitea/branch/master/graph/badge.svg">
|
||||||
|
</a>
|
||||||
|
<a href="https://godoc.org/code.gitea.io/gitea" title="Go Report Card">
|
||||||
|
<img src="https://goreportcard.com/badge/code.gitea.io/gitea">
|
||||||
|
</a>
|
||||||
|
<a href="https://godoc.org/code.gitea.io/gitea" title="GoDoc">
|
||||||
|
<img src="https://godoc.org/code.gitea.io/gitea?status.svg">
|
||||||
|
</a>
|
||||||
|
<a href="https://github.com/go-gitea/gitea/releases/latest" title="GitHub release">
|
||||||
|
<img src="https://img.shields.io/github/release/go-gitea/gitea.svg">
|
||||||
|
</a>
|
||||||
|
<a href="https://www.codetriage.com/go-gitea/gitea" title="Help Contribute to Open Source">
|
||||||
|
<img src="https://www.codetriage.com/go-gitea/gitea/badges/users.svg">
|
||||||
|
</a>
|
||||||
|
<a href="https://opencollective.com/gitea" title="Become a backer/sponsor of gitea">
|
||||||
|
<img src="https://opencollective.com/gitea/tiers/backers/badge.svg?label=backers&color=brightgreen">
|
||||||
|
</a>
|
||||||
|
<a href="https://opensource.org/licenses/MIT" title="License: MIT">
|
||||||
|
<img src="https://img.shields.io/badge/License-MIT-blue.svg">
|
||||||
|
</a>
|
||||||
|
<a href="https://crowdin.com/project/gitea" title="Crowdin">
|
||||||
|
<img src="https://badges.crowdin.net/gitea/localized.svg">
|
||||||
|
</a>
|
||||||
|
<a href="https://www.tickgit.com/browse?repo=github.com/go-gitea/gitea" title="TODOs">
|
||||||
|
<img src="https://badgen.net/https/api.tickgit.com/badgen/github.com/go-gitea/gitea">
|
||||||
|
</a>
|
||||||
|
</p>
|
||||||
|
|
||||||
[![Build Status](https://drone.gitea.io/api/badges/go-gitea/gitea/status.svg)](https://drone.gitea.io/go-gitea/gitea)
|
<p align="center">
|
||||||
[![Join the Discord chat at https://discord.gg/Gitea](https://img.shields.io/discord/322538954119184384.svg)](https://discord.gg/Gitea)
|
<a href="README.md">View the english version of this document</a>
|
||||||
[![](https://images.microbadger.com/badges/image/gitea/gitea.svg)](https://microbadger.com/images/gitea/gitea "Get your own image badge on microbadger.com")
|
</p>
|
||||||
[![codecov](https://codecov.io/gh/go-gitea/gitea/branch/master/graph/badge.svg)](https://codecov.io/gh/go-gitea/gitea)
|
|
||||||
[![Go Report Card](https://goreportcard.com/badge/code.gitea.io/gitea)](https://goreportcard.com/report/code.gitea.io/gitea)
|
|
||||||
[![GoDoc](https://godoc.org/code.gitea.io/gitea?status.svg)](https://godoc.org/code.gitea.io/gitea)
|
|
||||||
[![GitHub release](https://img.shields.io/github/release/go-gitea/gitea.svg)](https://github.com/go-gitea/gitea/releases/latest)
|
|
||||||
[![Help Contribute to Open Source](https://www.codetriage.com/go-gitea/gitea/badges/users.svg)](https://www.codetriage.com/go-gitea/gitea)
|
|
||||||
[![Become a backer/sponsor of gitea](https://opencollective.com/gitea/tiers/backers/badge.svg?label=backers&color=brightgreen)](https://opencollective.com/gitea)
|
|
||||||
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
|
|
||||||
[![Crowdin](https://badges.crowdin.net/gitea/localized.svg)](https://crowdin.com/project/gitea)
|
|
||||||
|
|
||||||
## 目标
|
## 目标
|
||||||
|
|
||||||
|
|
|
@ -2,10 +2,10 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
const imageminZopfli = require('imagemin-zopfli');
|
const imageminZopfli = require('imagemin-zopfli');
|
||||||
|
const Svgo = require('svgo');
|
||||||
const {fabric} = require('fabric');
|
const {fabric} = require('fabric');
|
||||||
const {readFile, writeFile} = require('fs').promises;
|
const {readFile, writeFile} = require('fs').promises;
|
||||||
const {resolve} = require('path');
|
const {resolve} = require('path');
|
||||||
const Svgo = require('svgo');
|
|
||||||
|
|
||||||
const logoFile = resolve(__dirname, '../assets/logo.svg');
|
const logoFile = resolve(__dirname, '../assets/logo.svg');
|
||||||
|
|
||||||
|
@ -22,32 +22,20 @@ function loadSvg(svg) {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
async function generateSvgFavicon(svg, outputFile) {
|
async function generate(svg, outputFile, {size, bg}) {
|
||||||
|
if (outputFile.endsWith('.svg')) {
|
||||||
const svgo = new Svgo({
|
const svgo = new Svgo({
|
||||||
plugins: [
|
plugins: [
|
||||||
{removeDimensions: true},
|
{removeDimensions: true},
|
||||||
{
|
{addAttributesToSVGElement: {attributes: [{width: size}, {height: size}]}},
|
||||||
addAttributesToSVGElement: {
|
|
||||||
attributes: [
|
|
||||||
{'width': '32'},
|
|
||||||
{'height': '32'},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
},
|
|
||||||
],
|
],
|
||||||
});
|
});
|
||||||
|
|
||||||
const {data} = await svgo.optimize(svg);
|
const {data} = await svgo.optimize(svg);
|
||||||
await writeFile(outputFile, data);
|
await writeFile(outputFile, data);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
async function generateSvg(svg, outputFile) {
|
|
||||||
const svgo = new Svgo();
|
|
||||||
const {data} = await svgo.optimize(svg);
|
|
||||||
await writeFile(outputFile, data);
|
|
||||||
}
|
|
||||||
|
|
||||||
async function generate(svg, outputFile, {size, bg}) {
|
|
||||||
const {objects, options} = await loadSvg(svg);
|
const {objects, options} = await loadSvg(svg);
|
||||||
const canvas = new fabric.Canvas();
|
const canvas = new fabric.Canvas();
|
||||||
canvas.setDimensions({width: size, height: size});
|
canvas.setDimensions({width: size, height: size});
|
||||||
|
@ -78,25 +66,16 @@ async function generate(svg, outputFile, {size, bg}) {
|
||||||
|
|
||||||
async function main() {
|
async function main() {
|
||||||
const gitea = process.argv.slice(2).includes('gitea');
|
const gitea = process.argv.slice(2).includes('gitea');
|
||||||
|
|
||||||
const svg = await readFile(logoFile, 'utf8');
|
const svg = await readFile(logoFile, 'utf8');
|
||||||
|
|
||||||
await Promise.all([
|
await Promise.all([
|
||||||
generateSvgFavicon(svg, resolve(__dirname, '../public/img/favicon.svg')),
|
generate(svg, resolve(__dirname, '../public/img/logo.svg'), {size: 32}),
|
||||||
generateSvg(svg, resolve(__dirname, '../public/img/logo.svg')),
|
generate(svg, resolve(__dirname, '../public/img/logo.png'), {size: 512}),
|
||||||
generate(svg, resolve(__dirname, '../public/img/logo-lg.png'), {size: 880}),
|
|
||||||
generate(svg, resolve(__dirname, '../public/img/logo-512.png'), {size: 512}),
|
|
||||||
generate(svg, resolve(__dirname, '../public/img/logo-192.png'), {size: 192}),
|
|
||||||
generate(svg, resolve(__dirname, '../public/img/logo-sm.png'), {size: 120}),
|
|
||||||
generate(svg, resolve(__dirname, '../public/img/avatar_default.png'), {size: 200}),
|
|
||||||
generate(svg, resolve(__dirname, '../public/img/favicon.png'), {size: 180}),
|
generate(svg, resolve(__dirname, '../public/img/favicon.png'), {size: 180}),
|
||||||
|
generate(svg, resolve(__dirname, '../public/img/avatar_default.png'), {size: 200}),
|
||||||
generate(svg, resolve(__dirname, '../public/img/apple-touch-icon.png'), {size: 180, bg: true}),
|
generate(svg, resolve(__dirname, '../public/img/apple-touch-icon.png'), {size: 180, bg: true}),
|
||||||
|
gitea && generate(svg, resolve(__dirname, '../public/img/gitea.svg'), {size: 32}),
|
||||||
]);
|
]);
|
||||||
if (gitea) {
|
|
||||||
await Promise.all([
|
|
||||||
generateSvg(svg, resolve(__dirname, '../public/img/gitea.svg')),
|
|
||||||
generate(svg, resolve(__dirname, '../public/img/gitea-192.png'), {size: 192}),
|
|
||||||
]);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
main().then(exit).catch(exit);
|
main().then(exit).catch(exit);
|
||||||
|
|
|
@ -59,11 +59,20 @@ the url `http://gitea.domain.tld/image.png`.
|
||||||
|
|
||||||
## Changing the default logo
|
## Changing the default logo
|
||||||
|
|
||||||
To automatically update custom logo png and svg files replace `assets/logo.svg` and run `make generate-images`. This will update the user-designated logo files served in `public/img`. Alternatively, you can manually update each `logo-X.png` and `logo.svg` file in `public/img`.
|
To build a custom logo replace `assets/logo.svg` and run `make generate-images`. This will update
|
||||||
|
these customizable logo files which you can then place in `custom/public/img` on your server:
|
||||||
|
|
||||||
|
- `public/img/logo.svg`
|
||||||
|
- `public/img/logo.png`
|
||||||
|
- `public/img/favicon.png`
|
||||||
|
- `public/img/avatar_default.png`
|
||||||
|
- `public/img/apple-touch-icon.png`
|
||||||
|
|
||||||
## Changing the default avatar
|
## Changing the default avatar
|
||||||
|
|
||||||
Place the png image at the following path: `custom/public/img/avatar_default.png`
|
Either generate it via above method or place the png image at the following path:
|
||||||
|
|
||||||
|
- `custom/public/img/avatar_default.png`
|
||||||
|
|
||||||
## Customizing Gitea pages and resources
|
## Customizing Gitea pages and resources
|
||||||
|
|
||||||
|
|
|
@ -1089,24 +1089,14 @@ func MakeManifestData(appName string, appURL string, absoluteAssetURL string) []
|
||||||
StartURL: appURL,
|
StartURL: appURL,
|
||||||
Icons: []manifestIcon{
|
Icons: []manifestIcon{
|
||||||
{
|
{
|
||||||
Src: absoluteAssetURL + "/img/logo-lg.png",
|
Src: absoluteAssetURL + "/img/logo.png",
|
||||||
Type: "image/png",
|
|
||||||
Sizes: "880x880",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
Src: absoluteAssetURL + "/img/logo-512.png",
|
|
||||||
Type: "image/png",
|
Type: "image/png",
|
||||||
Sizes: "512x512",
|
Sizes: "512x512",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Src: absoluteAssetURL + "/img/logo-192.png",
|
Src: absoluteAssetURL + "/img/logo.svg",
|
||||||
Type: "image/png",
|
Type: "image/svg+xml",
|
||||||
Sizes: "192x192",
|
Sizes: "512x512",
|
||||||
},
|
|
||||||
{
|
|
||||||
Src: absoluteAssetURL + "/img/logo-sm.png",
|
|
||||||
Type: "image/png",
|
|
||||||
Sizes: "120x120",
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
Before Width: | Height: | Size: 4.6 KiB |
|
@ -1 +1 @@
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path d="M395.9 484.2l-126.9-61c-12.5-6-17.9-21.2-11.8-33.8l61-126.9c6-12.5 21.2-17.9 33.8-11.8 17.2 8.3 27.1 13 27.1 13l-.1-109.2 16.7-.1.1 117.1s57.4 24.2 83.1 40.1c3.7 2.3 10.2 6.8 12.9 14.4 2.1 6.1 2 13.1-1 19.3l-61 126.9c-6.2 12.7-21.4 18.1-33.9 12z" fill="#fff"/><g fill="#609926"><path d="M622.7 149.8c-4.1-4.1-9.6-4-9.6-4s-117.2 6.6-177.9 8c-13.3.3-26.5.6-39.6.7v117.2c-5.5-2.6-11.1-5.3-16.6-7.9 0-36.4-.1-109.2-.1-109.2-29 .4-89.2-2.2-89.2-2.2s-141.4-7.1-156.8-8.5c-9.8-.6-22.5-2.1-39 1.5-8.7 1.8-33.5 7.4-53.8 26.9C-4.9 212.4 6.6 276.2 8 285.8c1.7 11.7 6.9 44.2 31.7 72.5 45.8 56.1 144.4 54.8 144.4 54.8s12.1 28.9 30.6 55.5c25 33.1 50.7 58.9 75.7 62 63 0 188.9-.1 188.9-.1s12 .1 28.3-10.3c14-8.5 26.5-23.4 26.5-23.4S547 483 565 451.5c5.5-9.7 10.1-19.1 14.1-28 0 0 55.2-117.1 55.2-231.1-1.1-34.5-9.6-40.6-11.6-42.6zM125.6 353.9c-25.9-8.5-36.9-18.7-36.9-18.7S69.6 321.8 60 295.4c-16.5-44.2-1.4-71.2-1.4-71.2s8.4-22.5 38.5-30c13.8-3.7 31-3.1 31-3.1s7.1 59.4 15.7 94.2c7.2 29.2 24.8 77.7 24.8 77.7s-26.1-3.1-43-9.1zm300.3 107.6s-6.1 14.5-19.6 15.4c-5.8.4-10.3-1.2-10.3-1.2s-.3-.1-5.3-2.1l-112.9-55s-10.9-5.7-12.8-15.6c-2.2-8.1 2.7-18.1 2.7-18.1L322 273s4.8-9.7 12.2-13c.6-.3 2.3-1 4.5-1.5 8.1-2.1 18 2.8 18 2.8L467.4 315s12.6 5.7 15.3 16.2c1.9 7.4-.5 14-1.8 17.2-6.3 15.4-55 113.1-55 113.1z"/><path d="M326.8 380.1c-8.2.1-15.4 5.8-17.3 13.8-1.9 8 2 16.3 9.1 20 7.7 4 17.5 1.8 22.7-5.4 5.1-7.1 4.3-16.9-1.8-23.1l24-49.1c1.5.1 3.7.2 6.2-.5 4.1-.9 7.1-3.6 7.1-3.6 4.2 1.8 8.6 3.8 13.2 6.1 4.8 2.4 9.3 4.9 13.4 7.3.9.5 1.8 1.1 2.8 1.9 1.6 1.3 3.4 3.1 4.7 5.5 1.9 5.5-1.9 14.9-1.9 14.9-2.3 7.6-18.4 40.6-18.4 40.6-8.1-.2-15.3 5-17.7 12.5-2.6 8.1 1.1 17.3 8.9 21.3 7.8 4 17.4 1.7 22.5-5.3 5-6.8 4.6-16.3-1.1-22.6 1.9-3.7 3.7-7.4 5.6-11.3 5-10.4 13.5-30.4 13.5-30.4.9-1.7 5.7-10.3 2.7-21.3-2.5-11.4-12.6-16.7-12.6-16.7-12.2-7.9-29.2-15.2-29.2-15.2s0-4.1-1.1-7.1c-1.1-3.1-2.8-5.1-3.9-6.3 4.7-9.7 9.4-19.3 14.1-29-4.1-2-8.1-4-12.2-6.1-4.8 9.8-9.7 19.7-14.5 29.5-6.7-.1-12.9 3.5-16.1 9.4-3.4 6.3-2.7 14.1 1.9 19.8l-24.6 50.4z"/></g></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640" width="32" height="32"><path d="M395.9 484.2l-126.9-61c-12.5-6-17.9-21.2-11.8-33.8l61-126.9c6-12.5 21.2-17.9 33.8-11.8 17.2 8.3 27.1 13 27.1 13l-.1-109.2 16.7-.1.1 117.1s57.4 24.2 83.1 40.1c3.7 2.3 10.2 6.8 12.9 14.4 2.1 6.1 2 13.1-1 19.3l-61 126.9c-6.2 12.7-21.4 18.1-33.9 12z" fill="#fff"/><g fill="#609926"><path d="M622.7 149.8c-4.1-4.1-9.6-4-9.6-4s-117.2 6.6-177.9 8c-13.3.3-26.5.6-39.6.7v117.2c-5.5-2.6-11.1-5.3-16.6-7.9 0-36.4-.1-109.2-.1-109.2-29 .4-89.2-2.2-89.2-2.2s-141.4-7.1-156.8-8.5c-9.8-.6-22.5-2.1-39 1.5-8.7 1.8-33.5 7.4-53.8 26.9C-4.9 212.4 6.6 276.2 8 285.8c1.7 11.7 6.9 44.2 31.7 72.5 45.8 56.1 144.4 54.8 144.4 54.8s12.1 28.9 30.6 55.5c25 33.1 50.7 58.9 75.7 62 63 0 188.9-.1 188.9-.1s12 .1 28.3-10.3c14-8.5 26.5-23.4 26.5-23.4S547 483 565 451.5c5.5-9.7 10.1-19.1 14.1-28 0 0 55.2-117.1 55.2-231.1-1.1-34.5-9.6-40.6-11.6-42.6zM125.6 353.9c-25.9-8.5-36.9-18.7-36.9-18.7S69.6 321.8 60 295.4c-16.5-44.2-1.4-71.2-1.4-71.2s8.4-22.5 38.5-30c13.8-3.7 31-3.1 31-3.1s7.1 59.4 15.7 94.2c7.2 29.2 24.8 77.7 24.8 77.7s-26.1-3.1-43-9.1zm300.3 107.6s-6.1 14.5-19.6 15.4c-5.8.4-10.3-1.2-10.3-1.2s-.3-.1-5.3-2.1l-112.9-55s-10.9-5.7-12.8-15.6c-2.2-8.1 2.7-18.1 2.7-18.1L322 273s4.8-9.7 12.2-13c.6-.3 2.3-1 4.5-1.5 8.1-2.1 18 2.8 18 2.8L467.4 315s12.6 5.7 15.3 16.2c1.9 7.4-.5 14-1.8 17.2-6.3 15.4-55 113.1-55 113.1z"/><path d="M326.8 380.1c-8.2.1-15.4 5.8-17.3 13.8-1.9 8 2 16.3 9.1 20 7.7 4 17.5 1.8 22.7-5.4 5.1-7.1 4.3-16.9-1.8-23.1l24-49.1c1.5.1 3.7.2 6.2-.5 4.1-.9 7.1-3.6 7.1-3.6 4.2 1.8 8.6 3.8 13.2 6.1 4.8 2.4 9.3 4.9 13.4 7.3.9.5 1.8 1.1 2.8 1.9 1.6 1.3 3.4 3.1 4.7 5.5 1.9 5.5-1.9 14.9-1.9 14.9-2.3 7.6-18.4 40.6-18.4 40.6-8.1-.2-15.3 5-17.7 12.5-2.6 8.1 1.1 17.3 8.9 21.3 7.8 4 17.4 1.7 22.5-5.3 5-6.8 4.6-16.3-1.1-22.6 1.9-3.7 3.7-7.4 5.6-11.3 5-10.4 13.5-30.4 13.5-30.4.9-1.7 5.7-10.3 2.7-21.3-2.5-11.4-12.6-16.7-12.6-16.7-12.2-7.9-29.2-15.2-29.2-15.2s0-4.1-1.1-7.1c-1.1-3.1-2.8-5.1-3.9-6.3 4.7-9.7 9.4-19.3 14.1-29-4.1-2-8.1-4-12.2-6.1-4.8 9.8-9.7 19.7-14.5 29.5-6.7-.1-12.9 3.5-16.1 9.4-3.4 6.3-2.7 14.1 1.9 19.8l-24.6 50.4z"/></g></svg>
|
Before Width: | Height: | Size: 2 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 4.6 KiB |
Before Width: | Height: | Size: 26 KiB |
|
@ -1 +0,0 @@
|
||||||
<svg clip-rule="evenodd" fill-rule="evenodd" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="m83.046 35.842c10.395-.091 22.52-.636 42.972-1.719 12.367.282-4.316 74.37-26.594 76.038h-37.152c-8.48-.911-19.934-18.203-21.002-23.216-9.735-.215-34.086-2.695-35.192-29.423-.707-17.106 12.085-23.932 21.632-23.904 3.736.01 7.213.478 9.708.505 19.935 1.104 30.433 1.729 42.366 1.733l.021 21.503 3.241 1.61zm18.936 34.047-31.267-15.193-15.192 31.267 31.267 15.192zm-71.781-26.813c-12.443-.333-15.784 7.423-14.833 14.834 1.782 13.885 11.469 17.605 22.851 19.11-4.462-12.24-6.666-20.251-8.018-33.944z" transform="matrix(.128847 0 0 .128847 -.779534 -1.26275)"/><g transform="matrix(.128847 0 0 .128847 -.779534 -1.26275)"><g transform="matrix(.940904 -.338674 .338674 .940904 0 0)"><circle cx="49.065" cy="90.078" r="3.475"/><circle cx="36.81" cy="102.105" r="3.475"/><circle cx="46.484" cy="111.439" r="3.475"/></g><path d="m97.333 18.062h2.673v27.261h-2.673z" transform="matrix(.898609 .43875 -.447723 .916987 .406685 -.832937)"/><path d="m76.558 68.116c12.976 6.396 13.013 4.102 4.891 20.908" fill="none" stroke="#000" stroke-width="2.68"/></g></svg>
|
|
Before Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
|
@ -1 +1 @@
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path d="M395.9 484.2l-126.9-61c-12.5-6-17.9-21.2-11.8-33.8l61-126.9c6-12.5 21.2-17.9 33.8-11.8 17.2 8.3 27.1 13 27.1 13l-.1-109.2 16.7-.1.1 117.1s57.4 24.2 83.1 40.1c3.7 2.3 10.2 6.8 12.9 14.4 2.1 6.1 2 13.1-1 19.3l-61 126.9c-6.2 12.7-21.4 18.1-33.9 12z" fill="#fff"/><g fill="#609926"><path d="M622.7 149.8c-4.1-4.1-9.6-4-9.6-4s-117.2 6.6-177.9 8c-13.3.3-26.5.6-39.6.7v117.2c-5.5-2.6-11.1-5.3-16.6-7.9 0-36.4-.1-109.2-.1-109.2-29 .4-89.2-2.2-89.2-2.2s-141.4-7.1-156.8-8.5c-9.8-.6-22.5-2.1-39 1.5-8.7 1.8-33.5 7.4-53.8 26.9C-4.9 212.4 6.6 276.2 8 285.8c1.7 11.7 6.9 44.2 31.7 72.5 45.8 56.1 144.4 54.8 144.4 54.8s12.1 28.9 30.6 55.5c25 33.1 50.7 58.9 75.7 62 63 0 188.9-.1 188.9-.1s12 .1 28.3-10.3c14-8.5 26.5-23.4 26.5-23.4S547 483 565 451.5c5.5-9.7 10.1-19.1 14.1-28 0 0 55.2-117.1 55.2-231.1-1.1-34.5-9.6-40.6-11.6-42.6zM125.6 353.9c-25.9-8.5-36.9-18.7-36.9-18.7S69.6 321.8 60 295.4c-16.5-44.2-1.4-71.2-1.4-71.2s8.4-22.5 38.5-30c13.8-3.7 31-3.1 31-3.1s7.1 59.4 15.7 94.2c7.2 29.2 24.8 77.7 24.8 77.7s-26.1-3.1-43-9.1zm300.3 107.6s-6.1 14.5-19.6 15.4c-5.8.4-10.3-1.2-10.3-1.2s-.3-.1-5.3-2.1l-112.9-55s-10.9-5.7-12.8-15.6c-2.2-8.1 2.7-18.1 2.7-18.1L322 273s4.8-9.7 12.2-13c.6-.3 2.3-1 4.5-1.5 8.1-2.1 18 2.8 18 2.8L467.4 315s12.6 5.7 15.3 16.2c1.9 7.4-.5 14-1.8 17.2-6.3 15.4-55 113.1-55 113.1z"/><path d="M326.8 380.1c-8.2.1-15.4 5.8-17.3 13.8-1.9 8 2 16.3 9.1 20 7.7 4 17.5 1.8 22.7-5.4 5.1-7.1 4.3-16.9-1.8-23.1l24-49.1c1.5.1 3.7.2 6.2-.5 4.1-.9 7.1-3.6 7.1-3.6 4.2 1.8 8.6 3.8 13.2 6.1 4.8 2.4 9.3 4.9 13.4 7.3.9.5 1.8 1.1 2.8 1.9 1.6 1.3 3.4 3.1 4.7 5.5 1.9 5.5-1.9 14.9-1.9 14.9-2.3 7.6-18.4 40.6-18.4 40.6-8.1-.2-15.3 5-17.7 12.5-2.6 8.1 1.1 17.3 8.9 21.3 7.8 4 17.4 1.7 22.5-5.3 5-6.8 4.6-16.3-1.1-22.6 1.9-3.7 3.7-7.4 5.6-11.3 5-10.4 13.5-30.4 13.5-30.4.9-1.7 5.7-10.3 2.7-21.3-2.5-11.4-12.6-16.7-12.6-16.7-12.2-7.9-29.2-15.2-29.2-15.2s0-4.1-1.1-7.1c-1.1-3.1-2.8-5.1-3.9-6.3 4.7-9.7 9.4-19.3 14.1-29-4.1-2-8.1-4-12.2-6.1-4.8 9.8-9.7 19.7-14.5 29.5-6.7-.1-12.9 3.5-16.1 9.4-3.4 6.3-2.7 14.1 1.9 19.8l-24.6 50.4z"/></g></svg>
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640" width="32" height="32"><path d="M395.9 484.2l-126.9-61c-12.5-6-17.9-21.2-11.8-33.8l61-126.9c6-12.5 21.2-17.9 33.8-11.8 17.2 8.3 27.1 13 27.1 13l-.1-109.2 16.7-.1.1 117.1s57.4 24.2 83.1 40.1c3.7 2.3 10.2 6.8 12.9 14.4 2.1 6.1 2 13.1-1 19.3l-61 126.9c-6.2 12.7-21.4 18.1-33.9 12z" fill="#fff"/><g fill="#609926"><path d="M622.7 149.8c-4.1-4.1-9.6-4-9.6-4s-117.2 6.6-177.9 8c-13.3.3-26.5.6-39.6.7v117.2c-5.5-2.6-11.1-5.3-16.6-7.9 0-36.4-.1-109.2-.1-109.2-29 .4-89.2-2.2-89.2-2.2s-141.4-7.1-156.8-8.5c-9.8-.6-22.5-2.1-39 1.5-8.7 1.8-33.5 7.4-53.8 26.9C-4.9 212.4 6.6 276.2 8 285.8c1.7 11.7 6.9 44.2 31.7 72.5 45.8 56.1 144.4 54.8 144.4 54.8s12.1 28.9 30.6 55.5c25 33.1 50.7 58.9 75.7 62 63 0 188.9-.1 188.9-.1s12 .1 28.3-10.3c14-8.5 26.5-23.4 26.5-23.4S547 483 565 451.5c5.5-9.7 10.1-19.1 14.1-28 0 0 55.2-117.1 55.2-231.1-1.1-34.5-9.6-40.6-11.6-42.6zM125.6 353.9c-25.9-8.5-36.9-18.7-36.9-18.7S69.6 321.8 60 295.4c-16.5-44.2-1.4-71.2-1.4-71.2s8.4-22.5 38.5-30c13.8-3.7 31-3.1 31-3.1s7.1 59.4 15.7 94.2c7.2 29.2 24.8 77.7 24.8 77.7s-26.1-3.1-43-9.1zm300.3 107.6s-6.1 14.5-19.6 15.4c-5.8.4-10.3-1.2-10.3-1.2s-.3-.1-5.3-2.1l-112.9-55s-10.9-5.7-12.8-15.6c-2.2-8.1 2.7-18.1 2.7-18.1L322 273s4.8-9.7 12.2-13c.6-.3 2.3-1 4.5-1.5 8.1-2.1 18 2.8 18 2.8L467.4 315s12.6 5.7 15.3 16.2c1.9 7.4-.5 14-1.8 17.2-6.3 15.4-55 113.1-55 113.1z"/><path d="M326.8 380.1c-8.2.1-15.4 5.8-17.3 13.8-1.9 8 2 16.3 9.1 20 7.7 4 17.5 1.8 22.7-5.4 5.1-7.1 4.3-16.9-1.8-23.1l24-49.1c1.5.1 3.7.2 6.2-.5 4.1-.9 7.1-3.6 7.1-3.6 4.2 1.8 8.6 3.8 13.2 6.1 4.8 2.4 9.3 4.9 13.4 7.3.9.5 1.8 1.1 2.8 1.9 1.6 1.3 3.4 3.1 4.7 5.5 1.9 5.5-1.9 14.9-1.9 14.9-2.3 7.6-18.4 40.6-18.4 40.6-8.1-.2-15.3 5-17.7 12.5-2.6 8.1 1.1 17.3 8.9 21.3 7.8 4 17.4 1.7 22.5-5.3 5-6.8 4.6-16.3-1.1-22.6 1.9-3.7 3.7-7.4 5.6-11.3 5-10.4 13.5-30.4 13.5-30.4.9-1.7 5.7-10.3 2.7-21.3-2.5-11.4-12.6-16.7-12.6-16.7-12.2-7.9-29.2-15.2-29.2-15.2s0-4.1-1.1-7.1c-1.1-3.1-2.8-5.1-3.9-6.3 4.7-9.7 9.4-19.3 14.1-29-4.1-2-8.1-4-12.2-6.1-4.8 9.8-9.7 19.7-14.5 29.5-6.7-.1-12.9 3.5-16.1 9.4-3.4 6.3-2.7 14.1 1.9 19.8l-24.6 50.4z"/></g></svg>
|
Before Width: | Height: | Size: 2 KiB After Width: | Height: | Size: 2.1 KiB |
|
@ -6,7 +6,7 @@ description: |
|
||||||
an independent binary distribution across ALL platforms that Go supports,
|
an independent binary distribution across ALL platforms that Go supports,
|
||||||
including Linux, Mac OS X, Windows and ARM.
|
including Linux, Mac OS X, Windows and ARM.
|
||||||
|
|
||||||
icon: public/img/logo-lg.png
|
icon: public/img/logo.png
|
||||||
confinement: strict
|
confinement: strict
|
||||||
base: core18
|
base: core18
|
||||||
adopt-info: gitea
|
adopt-info: gitea
|
||||||
|
|
|
@ -62,10 +62,8 @@
|
||||||
{{end}}
|
{{end}}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
<link rel="icon" href="{{StaticUrlPrefix}}/img/favicon.svg" type="image/svg+xml">
|
<link rel="icon" href="{{StaticUrlPrefix}}/img/logo.svg" type="image/svg+xml">
|
||||||
<link rel="alternate icon" href="{{StaticUrlPrefix}}/img/favicon.png" type="image/png">
|
<link rel="alternate icon" href="{{StaticUrlPrefix}}/img/favicon.png" type="image/png">
|
||||||
<link rel="mask-icon" href="{{StaticUrlPrefix}}/img/logo-safari.svg" color="#609926">
|
|
||||||
<link rel="fluid-icon" href="{{StaticUrlPrefix}}/img/logo-lg.png" title="{{AppName}}">
|
|
||||||
{{if .RequireSimpleMDE}}
|
{{if .RequireSimpleMDE}}
|
||||||
<link rel="stylesheet" href="{{StaticUrlPrefix}}/css/easymde.css?v={{MD5 AppVer}}">
|
<link rel="stylesheet" href="{{StaticUrlPrefix}}/css/easymde.css?v={{MD5 AppVer}}">
|
||||||
{{end}}
|
{{end}}
|
||||||
|
@ -108,7 +106,7 @@
|
||||||
{{else}}
|
{{else}}
|
||||||
<meta property="og:title" content="{{AppName}}">
|
<meta property="og:title" content="{{AppName}}">
|
||||||
<meta property="og:type" content="website" />
|
<meta property="og:type" content="website" />
|
||||||
<meta property="og:image" content="{{StaticUrlPrefix}}/img/logo-lg.png" />
|
<meta property="og:image" content="{{StaticUrlPrefix}}/img/logo.png" />
|
||||||
<meta property="og:url" content="{{AppUrl}}" />
|
<meta property="og:url" content="{{AppUrl}}" />
|
||||||
<meta property="og:description" content="{{MetaDescription}}">
|
<meta property="og:description" content="{{MetaDescription}}">
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<div class="ui container" id="navbar">
|
<div class="ui container" id="navbar">
|
||||||
<div class="item brand" style="justify-content: space-between;">
|
<div class="item brand" style="justify-content: space-between;">
|
||||||
<a href="{{AppSubUrl}}/">
|
<a href="{{AppSubUrl}}/">
|
||||||
<img class="ui mini image" src="{{StaticUrlPrefix}}/img/logo.svg">
|
<img class="ui mini image" with="30" height="30" src="{{StaticUrlPrefix}}/img/logo.svg">
|
||||||
</a>
|
</a>
|
||||||
<div class="ui basic icon button mobile-only" id="navbar-expand-toggle">
|
<div class="ui basic icon button mobile-only" id="navbar-expand-toggle">
|
||||||
<i class="sidebar icon"></i>
|
<i class="sidebar icon"></i>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<div class="ui stackable middle very relaxed page grid">
|
<div class="ui stackable middle very relaxed page grid">
|
||||||
<div class="sixteen wide center aligned centered column">
|
<div class="sixteen wide center aligned centered column">
|
||||||
<div>
|
<div>
|
||||||
<img class="logo" src="{{StaticUrlPrefix}}/img/logo.svg" />
|
<img class="logo" width="220" height="220" src="{{StaticUrlPrefix}}/img/logo.svg"/>
|
||||||
</div>
|
</div>
|
||||||
<div class="hero">
|
<div class="hero">
|
||||||
<h1 class="ui icon header title">
|
<h1 class="ui icon header title">
|
||||||
|
|