mirror of
https://github.com/techno-tim/littlelink-server.git
synced 2025-02-09 18:01:22 +01:00
Added GitBucket (#165)
This commit is contained in:
parent
89089c2ad2
commit
845bb23290
@ -93,6 +93,7 @@ services:
|
||||
- APPLE_MUSIC=https://www.apple.com/uk/apple-music/
|
||||
- STATUS=https://status.im/
|
||||
- MATRIX=https://matrix.to/
|
||||
- GITBUCKET=https://gitbucket.github.io/
|
||||
- OG_SITE_NAME=Techno Tim Live (OG)
|
||||
- OG_TITLE=Techno Tim (OG)
|
||||
- OG_DESCRIPTION=Techno Tim Link page (OG)
|
||||
|
@ -439,4 +439,10 @@ button {
|
||||
.button.button-matrix {
|
||||
color: #333333;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
/* Gitbucket */
|
||||
.button.button-gitbucket {
|
||||
color: #000;
|
||||
background-color: #fff;
|
||||
}
|
@ -64,6 +64,7 @@ import amazonLogo from '../../icons/amazon.svg';
|
||||
import applemusicLogo from '../../icons/applemusic.svg';
|
||||
import statusLogo from '../../icons/status.svg';
|
||||
import matrixLogo from '../../icons/matrix.svg';
|
||||
import gitbucketLogo from '../../icons/gitbucket.svg';
|
||||
|
||||
function Home(props) {
|
||||
let order = [];
|
||||
@ -697,6 +698,15 @@ function Home(props) {
|
||||
order={buttonOrder('MATRIX')}
|
||||
/>
|
||||
)}
|
||||
{runtimeConfig.GITBUCKET && (
|
||||
<Button
|
||||
name="gitbucket"
|
||||
href={runtimeConfig.GITBUCKET}
|
||||
displayName="GitBucket"
|
||||
logo={gitbucketLogo}
|
||||
order={buttonOrder('GITBUCKET')}
|
||||
/>
|
||||
)}
|
||||
</Sort>
|
||||
<div>
|
||||
<p className="footer">{runtimeConfig.FOOTER}</p>
|
||||
|
@ -106,6 +106,7 @@ export const runtimeConfig =
|
||||
APPLE_MUSIC: window?.env?.APPLE_MUSIC,
|
||||
STATUS: window?.env?.STATUS,
|
||||
MATRIX: window?.env?.MATRIX,
|
||||
GITBUCKET: window?.env?.GITBUCKET,
|
||||
MATOMO_URL: window?.env?.MATOMO_URL,
|
||||
MATOMO_SITE_ID: window?.env?.MATOMO_SITE_ID,
|
||||
}
|
||||
@ -385,6 +386,9 @@ export const runtimeConfig =
|
||||
MATRIX: nodeIsProduction
|
||||
? process.env.MATRIX
|
||||
: process.env.RAZZLE_MATRIX,
|
||||
GITBUCKET: nodeIsProduction
|
||||
? process.env.GITBUCKET
|
||||
: process.env.RAZZLE_GITBUCKET,
|
||||
MATOMO_URL: nodeIsProduction
|
||||
? process.env.MATOMO_URL
|
||||
: process.env.RAZZLE_MATOMO_URL,
|
||||
|
39
src/icons/gitbucket.svg
Normal file
39
src/icons/gitbucket.svg
Normal file
@ -0,0 +1,39 @@
|
||||
<?xml version="1.0" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
|
||||
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
|
||||
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
|
||||
width="316.000000pt" height="329.000000pt" viewBox="0 0 316.000000 329.000000"
|
||||
preserveAspectRatio="xMidYMid meet">
|
||||
<metadata>
|
||||
Created by potrace 1.14, written by Peter Selinger 2001-2017
|
||||
</metadata>
|
||||
<g transform="translate(0.000000,329.000000) scale(0.100000,-0.100000)"
|
||||
fill="#303030" stroke="none">
|
||||
<path d="M1230 3079 c-448 -28 -840 -128 -971 -246 -50 -45 -50 -71 0 -116
|
||||
158 -142 707 -256 1241 -257 l106 0 54 56 c118 121 213 124 326 12 l52 -50
|
||||
133 17 c338 42 615 127 718 220 53 48 53 72 0 120 -101 91 -391 181 -704 219
|
||||
-283 34 -656 44 -955 25z"/>
|
||||
<path d="M232 2484 c4 -16 70 -429 148 -919 79 -490 147 -895 152 -902 17 -21
|
||||
258 -114 416 -159 130 -37 351 -84 400 -84 6 0 12 6 12 13 0 6 -174 185 -386
|
||||
397 -395 394 -424 428 -424 500 0 72 30 107 383 459 301 300 348 343 366 335
|
||||
11 -5 87 -74 170 -152 l151 -144 0 -59 c0 -73 24 -124 77 -167 l38 -30 0 -309
|
||||
0 -309 -38 -34 c-102 -89 -102 -229 -1 -307 31 -23 49 -28 108 -31 82 -4 115
|
||||
11 162 73 22 30 29 51 32 100 4 65 -2 83 -53 154 l-25 34 0 266 c0 267 3 311
|
||||
23 311 5 0 54 -44 109 -97 96 -95 99 -100 108 -157 17 -103 89 -166 190 -166
|
||||
76 0 135 39 174 117 32 64 16 143 -43 206 -41 44 -73 57 -149 57 l-68 0 -127
|
||||
121 c-107 101 -127 126 -132 157 -12 72 -16 82 -47 117 -39 45 -77 65 -122 65
|
||||
-19 0 -45 4 -58 9 -13 5 -99 82 -193 170 l-170 160 -71 1 c-106 0 -360 27
|
||||
-524 55 -228 40 -385 86 -579 172 -11 5 -13 0 -9 -23z"/>
|
||||
<path d="M2785 2454 c-86 -36 -280 -88 -425 -114 -69 -12 -129 -26 -135 -31
|
||||
-6 -6 93 -112 275 -294 156 -156 285 -283 287 -281 2 2 19 158 38 347 19 189
|
||||
37 356 40 372 6 34 -2 34 -80 1z"/>
|
||||
<path d="M2552 697 c-78 -78 -142 -146 -142 -150 0 -4 7 -7 16 -7 22 0 230 89
|
||||
242 103 9 11 35 187 29 193 -2 2 -67 -61 -145 -139z"/>
|
||||
<path d="M560 455 c0 -34 40 -95 84 -129 61 -46 197 -104 317 -135 169 -43
|
||||
321 -62 534 -68 l190 -5 -70 71 c-68 69 -71 71 -120 71 -189 0 -551 79 -806
|
||||
176 -64 24 -119 44 -123 44 -3 0 -6 -11 -6 -25z"/>
|
||||
<path d="M2620 456 c-53 -28 -250 -97 -360 -126 l-114 -29 -78 -78 c-42 -42
|
||||
-76 -79 -74 -81 9 -8 244 41 334 69 164 53 267 114 308 185 24 40 31 74 17 74
|
||||
-5 -1 -19 -7 -33 -14z"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 2.2 KiB |
Loading…
Reference in New Issue
Block a user