Use a globe icon for public repositories

This commit is contained in:
Brandon Oxendine
2026-09-09 14:31:53 +02:00
committed by Rūdolfs Ošiņš
parent 039c0d49d5
commit 6e29b80371
2 changed files with 9 additions and 1 deletions
+8
View File
@@ -63,6 +63,7 @@
| "folder-open"
| "fullscreen"
| "git"
| "globe"
| "guide"
| "hash"
| "help"
@@ -454,6 +455,13 @@
d="M9 7C9 6.44772 8.55228 6 8 6C7.44772 6 7 6.44772 7 7C7 7.55228 7.44772 8 8 8C8.55228 8 9 7.55228 9 7ZM10 7C10 8.10457 9.10457 9 8 9C6.89543 9 6 8.10457 6 7C6 5.89543 6.89543 5 8 5C9.10457 5 10 5.89543 10 7Z" />
<path
d="M15.7783 8.00023L8 15.7785L0.22168 8.00023L8 0.221909L15.7783 8.00023ZM5.6709 3.9641L7.35352 5.64671L6.64648 6.35374L4.96387 4.67113L1.63574 8.00023L8 14.3645L14.3643 8.00023L8 1.63597L5.6709 3.9641ZM8.5 8.50023V12.0002H7.5V8.50023H8.5ZM11.3535 9.64671L10.6465 10.3537L8.64648 8.35374L9.35352 7.64671L11.3535 9.64671Z" />
{:else if name === "globe"}
<path
d="M8 1.5C11.5899 1.5 14.5 4.41015 14.5 8C14.5 11.5899 11.5899 14.5 8 14.5C4.41015 14.5 1.5 11.5899 1.5 8C1.5 4.41015 4.41015 1.5 8 1.5ZM8 2.5C4.96243 2.5 2.5 4.96243 2.5 8C2.5 11.0376 4.96243 13.5 8 13.5C11.0376 13.5 13.5 11.0376 13.5 8C13.5 4.96243 11.0376 2.5 8 2.5Z" />
<path d="M2.34125 5.5H13.6587V6.5H2.34125V5.5Z" />
<path d="M2.34125 9.5H13.6587V10.5H2.34125V9.5Z" />
<path
d="M11 8C11 12.3333 8 14.5 8 14.5C8 14.5 5 12.3333 5 8C5 3.66667 8 1.5 8 1.5C8 1.5 11 3.66667 11 8ZM10 8C10 4.33333 8 2.5 8 2.5C8 2.5 6 4.33333 6 8C6 11.6667 8 13.5 8 13.5C8 13.5 10 11.6667 10 8Z" />
{:else if name === "guide"}
<path
d="M13.5 8C13.5 4.96243 11.0376 2.5 8 2.5C4.96243 2.5 2.5 4.96243 2.5 8C2.5 11.0376 4.96243 13.5 8 13.5C11.0376 13.5 13.5 11.0376 13.5 8ZM14.5 8C14.5 11.5899 11.5899 14.5 8 14.5C4.41015 14.5 1.5 11.5899 1.5 8C1.5 4.41015 4.41015 1.5 8 1.5C11.5899 1.5 14.5 4.41015 14.5 8Z" />
+1 -1
View File
@@ -33,6 +33,6 @@
class="global-chip badge"
class:public={type === "public"}
class:private={type === "private"}>
<Icon name={type === "public" ? "seed" : "lock"} />
<Icon name={type === "public" ? "globe" : "lock"} />
{capitalize(type)}
</span>