Skip to content

Commit

Permalink
Merge pull request #31 from suba327777/feat/github-api-commit-count
Browse files Browse the repository at this point in the history
add GitHub api commit count
  • Loading branch information
suba327777 authored Apr 28, 2024
2 parents ea99b99 + f7e82cb commit 1033a50
Show file tree
Hide file tree
Showing 6 changed files with 51 additions and 23 deletions.
2 changes: 1 addition & 1 deletion api/fetch_user_data.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ func getUserData(username string, from, to time.Time) (object.UserData, error) {
}

user := object.UserData{
DailyCommitsSince1Month: dailyCommits,
DailyCommitsPeriod: dailyCommits,
}

return user, nil
Expand Down
24 changes: 21 additions & 3 deletions api/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import (
)

func MountainHandler() ([]byte, error) {

username := os.Getenv("USERNAME")
if len(username) == 0 {
return nil, errors.New("USERNAME is not set")
Expand All @@ -22,9 +21,28 @@ func MountainHandler() ([]byte, error) {
return nil, err
}

dailyCommitsSince1MonthCount := commitCountDailySince1Month(user.DailyCommitsSince1Month)
dailyCommitsSince1MonthCount := dailyCommitsPeriodCount(user.DailyCommitsPeriod)

fromDate = time.Date(time.Now().Year(), time.Now().Month(), 1, 0, 0, 0, 0, time.UTC)
toDate = time.Date(time.Now().Year(), time.Now().Month()+1, 1, 0, 0, 0, -1, time.UTC)
user, err = getUserData(username, fromDate, toDate)
if err != nil {
return nil, err
}

endOfMonth := toDate.Day()
dailyCommitsMonthCount := dailyCommitsPeriodCount(user.DailyCommitsPeriod)

fromDate = time.Date(time.Now().Year(), 1, 1, 0, 0, 0, 0, time.UTC)
toDate = time.Date(time.Now().Year(), 12, 31, 23, 59, 59, 999999999, time.UTC)
user, err = getUserData(username, fromDate, toDate)
if err != nil {
return nil, err
}

commitsYearCount := commitsPeriodCount(user.DailyCommitsPeriod)

svg := ui.GenerateCard(username, dailyCommitsSince1MonthCount)
svg := ui.GenerateCard(username, dailyCommitsSince1MonthCount, dailyCommitsMonthCount, endOfMonth, commitsYearCount)

return []byte(svg), nil
}
13 changes: 11 additions & 2 deletions api/utils.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,20 @@
package api

func commitCountDailySince1Month(DailyCommitsSince1Month map[string]int) int {
func dailyCommitsPeriodCount(dailyCommitsPeriodCount map[string]int) int {
count := 0
for _, commits := range DailyCommitsSince1Month {
for _, commits := range dailyCommitsPeriodCount {
if commits >= 1 {
count++
}
}
return count
}

func commitsPeriodCount(commitsPerodCount map[string]int) int {
count := 0
for _, commits := range commitsPerodCount {
count += commits
}

return count
}
2 changes: 1 addition & 1 deletion object/user_data.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package object

type UserData struct {
DailyCommitsSince1Month map[string]int
DailyCommitsPeriod map[string]int
}
29 changes: 15 additions & 14 deletions ui/card.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,23 +21,24 @@ func title(username string, mountain string) string {
`, mountain, username)
}

func leftInfo(width int, tree, climber, Backpack string) string {
func leftInfo(dailyCommitsMonthCount, endOfMonth, commitsYearCount int, tree, climber string) string {
return fmt.Sprintf(`
<g>
<g>
<g transform="translate(5,65)">%s</g>
<text x="35" y="75" font-size="11" dominant-baseline="middle" text-anchor="start" fill="white">test: %d</text>
<g transform="translate(5,75)">%s</g>
<text x="48" y="85" font-size="11" dominant-baseline="middle" text-anchor="start" fill="white">commit day</text>
<text x="50" y="100" font-size="11" dominant-baseline="middle" text-anchor="start" fill="white">per month</text>
<text x="125" y="90" font-size="10" dominant-baseline="middle" text-anchor="start" fill="white">%d/%d</text>
</g>
<g>
<g transform="translate(5,110)">%s</g>
<text x="35" y="120" font-size="11" dominant-baseline="middle" text-anchor="start" fill="white">test: %d</text>
</g>
<g>
<g transform="translate(5,155)">%s</g>
<text x="35" y="165" font-size="11" dominant-baseline="middle" text-anchor="start" fill="white">test: %d</text>
<g transform="translate(5,140)">%s</g>
<text x="40" y="150" font-size="11" dominant-baseline="middle" text-anchor="start" fill="white">Total Commits</text>
<text x="60" y="165" font-size="11" dominant-baseline="middle" text-anchor="start" fill="white">(2024)</text>
<text x="130" y="155" font-size="10" dominant-baseline="middle" text-anchor="start" fill="white">%d</text>
</g>
</g>
`, tree, width, climber, width, Backpack, width)
`, tree, dailyCommitsMonthCount, endOfMonth, climber, commitsYearCount)
}

func rightInfo(grass string) string {
Expand All @@ -55,17 +56,17 @@ func endSVG() string {
return `</svg>`
}

func GenerateCard(username string, dailyCommitsSince1MonthCount int) string {
func GenerateCard(username string, dailyCommitsSince1MonthCount, dailyCommitsMonthCount, endOfMonth, commitsYearCount int) string {
width := 340
height := 200
viewBox := fmt.Sprintf("0 0 %d %d", width, height)
bgColor := "#141321"
Grass := generateMountain(dailyCommitsSince1MonthCount)
grassMountain := generateMountain(dailyCommitsSince1MonthCount)
svg := startSVG(width, height, viewBox)
svg += rect(width, height, bgColor)
svg += title(username, Mountain)
svg += leftInfo(width, Tree, Climber, Backpack)
svg += rightInfo(Grass)
svg += leftInfo(dailyCommitsMonthCount, endOfMonth, commitsYearCount, Tree, Climber)
svg += rightInfo(grassMountain)

svg += endSVG()

Expand Down
4 changes: 2 additions & 2 deletions ui/icon.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import "fmt"

const (
Mountain = `<path fill="#ADFF2F" fill-rule="evenodd" d="M18.4425,5.795625L12.450625,14.969875l-2.677,-4.09925L0,26.2045h32L18.4425,5.795625z M11.796875,21.410875l-2.978375,-2.08775l-5.275375,4.365125l6.246875,-9.801125l0.54825,0.839375l3.74825,6.4665L11.796875,21.410875z M17.4665,14.65075L11.19625,20.666375l-1.243375,-2.159875l5.065625,-7.756625l10.063875,15.149125L18.904125,20.855625l0.795625,4.248625L17.4665,14.65075z" />`
Climber = `<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 1819.000000 2771.000000" preserveAspectRatio="xMidYMid meet"><g transform="translate(0.000000,2771.000000) scale(0.100000,-0.100000)" fill="white" fill-rule="evenodd"><path d="M8883 27695 c-705 -89 -1321 -472 -1714 -1064 -192 -289 -320 -620 -375 -966 -24 -157 -29 -463 -10 -629 109 -940 743 -1720 1638 -2015 272 -90 442 -116 753 -116 185 0 265 4 350 18 538 90 983 314 1350 682 369 368 591 809 682 1350 14 87 18 161 17 360 0 224 -3 265 -27 395 -62 346 -179 640 -366 921 -188 284 -408 502 -696 691 -278 183 -610 310 -950 364 -141 22 -507 27 -652 9z" /><path d="M2310 23095 c-178 -26 -319 -63 -478 -125 -684 -266 -1188 -898 -1291 -1620 -26 -179 -541 -6254 -541 -6379 0 -958 697 -1804 1646 -1996 168 -34 1693 -167 1914 -167 991 2 1859 748 2014 1732 27 167 546 6262 546 6405 0 680 -353 1323 -935 1708 -221 146 -501 256 -769 302 -48 8 -454 46 -901 85 -855 74 -1027 81 -1205 55z m1093 -1750 l748 -64 64 -29 c73 -35 136 -95 173 -167 20 -39 26 -68 29 -135 6 -118 -512 -6137 -533 -6201 -28 -87 -96 -165 -181 -208 -92 -46 -83 -47 -903 24 -421 36 -783 68 -805 71 -104 15 -209 94 -261 196 -21 41 -28 71 -32 133 -2 53 86 1117 258 3125 222 2575 265 3053 282 3097 24 65 100 150 166 186 55 30 135 46 202 40 25 -2 382 -33 793 -68z" /><path d="M8715 22383 c-22 -2 -86 -10 -143 -19 -954 -144 -1589 -814 -1786 -1884 -142 -773 -544 -5300 -686 -7720 -31 -519 -36 -945 -16 -1295 29 -515 36 -731 43 -1245 9 -796 -20 -1399 -93 -1925 -65 -468 -144 -736 -311 -1055 -490 -935 -2418 -4025 -2952 -4730 -226 -299 -351 -528 -425 -784 -101 -349 -62 -710 109 -1010 203 -356 533 -596 946 -688 136 -30 405 -32 541 -5 294 59 554 201 766 416 279 283 791 1018 1589 2281 892 1413 1610 2616 1951 3270 370 710 546 1395 636 2475 26 307 55 877 56 1077 l0 47 98 -102 c469 -492 1141 -1238 1411 -1567 185 -226 219 -277 263 -403 55 -155 136 -441 219 -766 38 -151 71 -276 72 -277 4 -4 1381 3491 1381 3507 2 45 -923 1061 -1648 1813 l-230 238 2 87 c18 628 193 3263 287 4311 26 289 110 1070 115 1070 3 0 59 -51 125 -112 459 -427 815 -740 930 -818 480 -325 1963 -878 4176 -1559 429 -132 451 -136 674 -136 192 0 272 12 424 62 399 129 731 452 869 844 59 166 77 275 77 464 0 182 -12 261 -62 419 -80 254 -251 501 -457 659 -173 134 -271 180 -581 277 -1698 529 -3009 982 -3470 1200 -92 43 -113 59 -255 192 -287 268 -842 810 -2286 2233 -341 336 -658 641 -704 678 -341 275 -718 434 -1129 476 -94 10 -430 12 -526 4z" /><path d="M15057 14758 c-242 -607 -5360 -13551 -5380 -13608 -27 -75 -31 -98 -31 -200 -1 -94 3 -129 22 -190 66 -210 216 -365 423 -435 73 -25 99 -28 199 -28 98 -1 127 3 195 26 44 15 109 43 144 64 78 46 196 170 233 244 34 69 5430 13710 5425 13715 -2 2 -271 96 -598 208 -327 113 -601 207 -610 211 -9 3 -19 0 -22 -7z" /><path d="M13901 6365 c-7 -16 -447 -1131 -978 -2477 l-966 -2448 33 -77 c167 -401 521 -701 960 -816 100 -26 138 -30 290 -34 193 -6 296 7 447 53 432 131 777 456 923 869 111 316 112 552 4 1305 -117 814 -426 2439 -668 3505 -31 141 -34 148 -45 120z" /></g></svg>`
Tree = `<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 2001.000000 2771.000000" preserveAspectRatio="xMidYMid meet"><g transform="translate(0.000000,2771.000000) scale(0.100000,-0.100000)" fill="white" fill-rule="evenodd"><path d="M9795 27704 c-1102 -121 -2565 -973 -4125 -2403 -1860 -1706 -3548 -3993 -4546 -6159 -634 -1376 -984 -2605 -1101 -3872 -25 -272 -25 -1085 0 -1400 78 -966 261 -1780 574 -2545 80 -196 255 -557 359 -742 1171 -2083 3402 -3399 6533 -3852 112 -17 204 -31 205 -33 2 -2 -215 -1470 -480 -3263 -266 -1793 -483 -3274 -484 -3290 0 -49 32 -98 80 -122 l44 -23 3148 0 c2637 0 3154 2 3181 14 42 17 85 68 92 109 3 19 -195 1382 -479 3302 -266 1799 -482 3271 -481 3273 2 2 94 17 205 33 2922 422 5054 1592 6285 3449 695 1047 1079 2272 1187 3785 20 279 17 1031 -5 1285 -106 1219 -452 2459 -1062 3805 -1150 2537 -3239 5218 -5430 6971 -1043 835 -2012 1380 -2830 1594 -232 60 -388 82 -620 85 -115 2 -228 1 -250 -1z m403 -1640 c552 -114 1422 -616 2322 -1339 1544 -1241 3112 -3085 4190 -4930 377 -645 738 -1377 983 -1995 395 -994 615 -1890 678 -2758 15 -215 6 -936 -15 -1162 -86 -918 -269 -1610 -602 -2280 -593 -1192 -1623 -2076 -3094 -2655 -616 -243 -1330 -435 -2075 -559 -248 -41 -506 -79 -510 -74 -1 2 -210 1409 -464 3128 -254 1719 -464 3137 -467 3152 -5 25 1 31 53 64 760 481 1412 1082 1941 1789 679 907 1142 1985 1337 3115 14 79 25 160 25 178 0 107 -107 175 -209 132 -27 -11 -55 -46 -146 -184 -795 -1211 -1849 -2202 -3117 -2931 l-183 -105 -8 33 c-4 17 -160 1069 -347 2337 -243 1654 -344 2315 -357 2340 -10 19 -34 45 -53 58 -70 47 -181 12 -211 -66 -5 -13 -270 -1790 -590 -3950 -319 -2160 -582 -3928 -584 -3930 -2 -2 -79 38 -172 88 -1119 614 -2089 1452 -2845 2462 -120 160 -146 189 -181 203 -97 39 -197 -29 -197 -134 0 -83 114 -514 214 -808 270 -795 671 -1526 1197 -2183 449 -562 1005 -1076 1582 -1462 64 -43 117 -84 117 -91 1 -15 -472 -3231 -476 -3235 -4 -6 -419 57 -654 99 -1374 245 -2551 703 -3431 1336 -424 305 -835 703 -1131 1098 -637 848 -1002 1939 -1077 3225 -40 668 -11 1181 100 1790 398 2176 1785 4733 3794 6990 407 457 972 1024 1400 1406 764 681 1530 1223 2180 1544 513 254 797 323 1083 264z" /></g></svg>`
Climber = `<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 1819.000000 2771.000000" preserveAspectRatio="xMidYMid meet"><g transform="translate(0.000000,2771.000000) scale(0.100000,-0.100000)" fill="white" fill-rule="evenodd"><path d="M8883 27695 c-705 -89 -1321 -472 -1714 -1064 -192 -289 -320 -620 -375 -966 -24 -157 -29 -463 -10 -629 109 -940 743 -1720 1638 -2015 272 -90 442 -116 753 -116 185 0 265 4 350 18 538 90 983 314 1350 682 369 368 591 809 682 1350 14 87 18 161 17 360 0 224 -3 265 -27 395 -62 346 -179 640 -366 921 -188 284 -408 502 -696 691 -278 183 -610 310 -950 364 -141 22 -507 27 -652 9z" /><path d="M2310 23095 c-178 -26 -319 -63 -478 -125 -684 -266 -1188 -898 -1291 -1620 -26 -179 -541 -6254 -541 -6379 0 -958 697 -1804 1646 -1996 168 -34 1693 -167 1914 -167 991 2 1859 748 2014 1732 27 167 546 6262 546 6405 0 680 -353 1323 -935 1708 -221 146 -501 256 -769 302 -48 8 -454 46 -901 85 -855 74 -1027 81 -1205 55z m1093 -1750 l748 -64 64 -29 c73 -35 136 -95 173 -167 20 -39 26 -68 29 -135 6 -118 -512 -6137 -533 -6201 -28 -87 -96 -165 -181 -208 -92 -46 -83 -47 -903 24 -421 36 -783 68 -805 71 -104 15 -209 94 -261 196 -21 41 -28 71 -32 133 -2 53 86 1117 258 3125 222 2575 265 3053 282 3097 24 65 100 150 166 186 55 30 135 46 202 40 25 -2 382 -33 793 -68z" /><path d="M8715 22383 c-22 -2 -86 -10 -143 -19 -954 -144 -1589 -814 -1786 -1884 -142 -773 -544 -5300 -686 -7720 -31 -519 -36 -945 -16 -1295 29 -515 36 -731 43 -1245 9 -796 -20 -1399 -93 -1925 -65 -468 -144 -736 -311 -1055 -490 -935 -2418 -4025 -2952 -4730 -226 -299 -351 -528 -425 -784 -101 -349 -62 -710 109 -1010 203 -356 533 -596 946 -688 136 -30 405 -32 541 -5 294 59 554 201 766 416 279 283 791 1018 1589 2281 892 1413 1610 2616 1951 3270 370 710 546 1395 636 2475 26 307 55 877 56 1077 l0 47 98 -102 c469 -492 1141 -1238 1411 -1567 185 -226 219 -277 263 -403 55 -155 136 -441 219 -766 38 -151 71 -276 72 -277 4 -4 1381 3491 1381 3507 2 45 -923 1061 -1648 1813 l-230 238 2 87 c18 628 193 3263 287 4311 26 289 110 1070 115 1070 3 0 59 -51 125 -112 459 -427 815 -740 930 -818 480 -325 1963 -878 4176 -1559 429 -132 451 -136 674 -136 192 0 272 12 424 62 399 129 731 452 869 844 59 166 77 275 77 464 0 182 -12 261 -62 419 -80 254 -251 501 -457 659 -173 134 -271 180 -581 277 -1698 529 -3009 982 -3470 1200 -92 43 -113 59 -255 192 -287 268 -842 810 -2286 2233 -341 336 -658 641 -704 678 -341 275 -718 434 -1129 476 -94 10 -430 12 -526 4z" /><path d="M15057 14758 c-242 -607 -5360 -13551 -5380 -13608 -27 -75 -31 -98 -31 -200 -1 -94 3 -129 22 -190 66 -210 216 -365 423 -435 73 -25 99 -28 199 -28 98 -1 127 3 195 26 44 15 109 43 144 64 78 46 196 170 233 244 34 69 5430 13710 5425 13715 -2 2 -271 96 -598 208 -327 113 -601 207 -610 211 -9 3 -19 0 -22 -7z" /><path d="M13901 6365 c-7 -16 -447 -1131 -978 -2477 l-966 -2448 33 -77 c167 -401 521 -701 960 -816 100 -26 138 -30 290 -34 193 -6 296 7 447 53 432 131 777 456 923 869 111 316 112 552 4 1305 -117 814 -426 2439 -668 3505 -31 141 -34 148 -45 120z" /></g></svg>`
Tree = `<svg xmlns="http://www.w3.org/2000/svg" width="30" height="30" viewBox="0 0 2001.000000 2771.000000" preserveAspectRatio="xMidYMid meet"><g transform="translate(0.000000,2771.000000) scale(0.100000,-0.100000)" fill="white" fill-rule="evenodd"><path d="M9795 27704 c-1102 -121 -2565 -973 -4125 -2403 -1860 -1706 -3548 -3993 -4546 -6159 -634 -1376 -984 -2605 -1101 -3872 -25 -272 -25 -1085 0 -1400 78 -966 261 -1780 574 -2545 80 -196 255 -557 359 -742 1171 -2083 3402 -3399 6533 -3852 112 -17 204 -31 205 -33 2 -2 -215 -1470 -480 -3263 -266 -1793 -483 -3274 -484 -3290 0 -49 32 -98 80 -122 l44 -23 3148 0 c2637 0 3154 2 3181 14 42 17 85 68 92 109 3 19 -195 1382 -479 3302 -266 1799 -482 3271 -481 3273 2 2 94 17 205 33 2922 422 5054 1592 6285 3449 695 1047 1079 2272 1187 3785 20 279 17 1031 -5 1285 -106 1219 -452 2459 -1062 3805 -1150 2537 -3239 5218 -5430 6971 -1043 835 -2012 1380 -2830 1594 -232 60 -388 82 -620 85 -115 2 -228 1 -250 -1z m403 -1640 c552 -114 1422 -616 2322 -1339 1544 -1241 3112 -3085 4190 -4930 377 -645 738 -1377 983 -1995 395 -994 615 -1890 678 -2758 15 -215 6 -936 -15 -1162 -86 -918 -269 -1610 -602 -2280 -593 -1192 -1623 -2076 -3094 -2655 -616 -243 -1330 -435 -2075 -559 -248 -41 -506 -79 -510 -74 -1 2 -210 1409 -464 3128 -254 1719 -464 3137 -467 3152 -5 25 1 31 53 64 760 481 1412 1082 1941 1789 679 907 1142 1985 1337 3115 14 79 25 160 25 178 0 107 -107 175 -209 132 -27 -11 -55 -46 -146 -184 -795 -1211 -1849 -2202 -3117 -2931 l-183 -105 -8 33 c-4 17 -160 1069 -347 2337 -243 1654 -344 2315 -357 2340 -10 19 -34 45 -53 58 -70 47 -181 12 -211 -66 -5 -13 -270 -1790 -590 -3950 -319 -2160 -582 -3928 -584 -3930 -2 -2 -79 38 -172 88 -1119 614 -2089 1452 -2845 2462 -120 160 -146 189 -181 203 -97 39 -197 -29 -197 -134 0 -83 114 -514 214 -808 270 -795 671 -1526 1197 -2183 449 -562 1005 -1076 1582 -1462 64 -43 117 -84 117 -91 1 -15 -472 -3231 -476 -3235 -4 -6 -419 57 -654 99 -1374 245 -2551 703 -3431 1336 -424 305 -835 703 -1131 1098 -637 848 -1002 1939 -1077 3225 -40 668 -11 1181 100 1790 398 2176 1785 4733 3794 6990 407 457 972 1024 1400 1406 764 681 1530 1223 2180 1544 513 254 797 323 1083 264z" /></g></svg>`
Backpack = `<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 500.000000 500.000000" preserveAspectRatio="xMidYMid meet"><g transform="translate(0.000000,500.000000) scale(0.100000,-0.100000)" fill="white" fill-rule="evenodd"><path d="M728 4981 c-31 -10 -72 -28 -91 -40 -54 -33 -126 -116 -155 -179 l-27 -57 0 -445 0 -445 33 -67 c57 -116 167 -199 295 -223 20 -4 37 -8 37 -9 0 -1 -9 -27 -20 -58 -71 -204 -99 -386 -107 -700 l-6 -248 -161 0 c-171 0 -240 -11 -318 -51 -63 -32 -135 -111 -171 -187 l-32 -67 -3 -709 c-2 -629 -1 -715 14 -765 35 -123 126 -221 248 -269 30 -12 92 -17 236 -21 l195 -6 7 -50 c23 -177 155 -323 333 -370 52 -13 234 -15 1465 -15 1231 0 1413 2 1465 15 178 47 310 193 333 370 l7 50 195 6 c144 4 206 9 236 21 122 48 213 146 248 269 15 50 16 136 14 765 l-3 709 -32 67 c-36 76 -108 155 -171 187 -78 40 -147 51 -318 51 l-161 0 -6 248 c-8 314 -36 496 -107 700 -11 31 -20 57 -20 58 0 1 17 5 37 9 128 24 238 107 295 223 l33 67 0 445 0 445 -33 67 c-41 84 -128 167 -209 200 l-58 23 -1730 2 c-1648 2 -1733 1 -1787 -16z m652 -579 l0 -287 -65 -19 c-36 -10 -91 -34 -123 -53 -63 -38 -162 -130 -193 -180 l-21 -33 -84 0 c-77 0 -87 2 -109 25 l-25 24 0 381 0 381 25 24 24 25 286 0 285 0 0 -288z m1930 13 l0 -275 -810 0 -810 0 0 275 0 275 810 0 810 0 0 -275z m905 250 l25 -24 0 -381 0 -381 -25 -24 c-22 -23 -32 -25 -109 -25 l-84 0 -21 33 c-31 50 -130 142 -193 180 -32 19 -87 43 -123 53 l-65 19 0 287 0 288 285 0 286 0 24 -25z m-755 -1505 l0 -670 -34 -38 -34 -37 -892 0 -892 0 -34 37 -34 38 0 670 0 670 960 0 960 0 0 -670z m-2206 -770 c67 -156 187 -255 343 -280 77 -13 1729 -13 1806 0 119 19 227 87 289 182 77 118 72 73 78 753 l5 610 72 -142 c75 -147 100 -221 130 -383 16 -87 18 -212 20 -1400 3 -1232 2 -1307 -14 -1340 -10 -19 -33 -45 -52 -57 l-34 -23 -1397 0 -1397 0 -34 23 c-19 12 -42 38 -52 57 -16 33 -17 108 -14 1340 2 1188 4 1313 20 1400 30 162 55 236 130 383 l72 142 5 -610 c5 -572 6 -613 24 -655z m-564 -915 l0 -725 -165 0 c-163 0 -166 0 -190 25 l-25 24 0 675 0 674 31 26 c30 26 33 26 190 26 l159 0 0 -725z m3969 699 l31 -26 0 -674 0 -675 -25 -24 c-24 -25 -27 -25 -190 -25 l-165 0 0 725 0 725 159 0 c157 0 160 0 190 -26z" /><path d="M2392 3014 c-175 -87 -170 -327 8 -420 23 -12 57 -18 101 -19 56 0 73 4 114 30 73 45 108 101 113 179 5 80 -10 127 -57 179 -72 80 -181 100 -279 51z" /><path d="M1730 1719 c-120 -23 -230 -110 -287 -227 l-28 -57 0 -255 0 -255 27 -57 c52 -112 165 -202 286 -227 74 -15 1470 -15 1544 0 121 25 234 115 286 227 l27 57 0 255 0 255 -28 57 c-59 120 -168 204 -296 228 -67 12 -1467 12 -1531 -1z m1509 -314 c42 -21 51 -61 51 -227 0 -159 -10 -207 -48 -227 -29 -15 -1455 -15 -1484 0 -38 20 -48 68 -48 227 0 164 9 205 49 227 40 22 1438 22 1480 0z" /></g></svg>`
)

Expand Down

0 comments on commit 1033a50

Please sign in to comment.