Skip to content

Commit 09e4164

Browse files
authored
update more menu links (#2558)
1 parent 7c9ad29 commit 09e4164

File tree

2 files changed

+21
-55
lines changed

2 files changed

+21
-55
lines changed

src/components/RightSidebar/MoreMenu.astro

Lines changed: 21 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -37,38 +37,6 @@ const showMoreSection = CONFIG.COMMUNITY_INVITE_URL || editHref
3737
</li>
3838
)
3939
}
40-
{
41-
CONFIG.TRANSLATION_FEEDBACK_URL && (
42-
<li class="header-link">
43-
<a href={CONFIG.TRANSLATION_FEEDBACK_URL} target="_blank">
44-
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
45-
<g clip-path="url(#clip0_8788_113707)">
46-
<path d="M7.22461 14.8273L10.3279 6.13794H11.5693L14.6726 14.8273" stroke="#0D5DFF" stroke-width="1.5" />
47-
<path d="M8.33203 11.7241H13.5634" stroke="#0D5DFF" stroke-width="1.5" />
48-
<path
49-
d="M1.32812 9.24121C2.63311 9.24121 4.39529 8.09804 5.77355 7.01346C7.23098 5.86656 7.94861 4.06156 7.94861 2.20703"
50-
stroke="#0D5DFF"
51-
stroke-width="1.5"
52-
/>
53-
<path d="M0.707031 2.20703H9.39636" stroke="#0D5DFF" stroke-width="1.5" />
54-
<path d="M5.05176 0.552002V2.20709" stroke="#0D5DFF" stroke-width="1.5" />
55-
<path
56-
d="M2.15527 2.20703C2.15527 4.06156 2.87284 5.86656 4.33027 7.01346C5.21123 7.70671 6.24901 8.42383 7.22403 8.8512"
57-
stroke="#0D5DFF"
58-
stroke-width="1.5"
59-
/>
60-
</g>
61-
<defs>
62-
<clipPath id="clip0_8788_113707">
63-
<rect width="16" height="16" fill="white" />
64-
</clipPath>
65-
</defs>
66-
</svg>
67-
<p>Report a translation issue</p>
68-
</a>
69-
</li>
70-
)
71-
}
7240
<li class="header-link">
7341
<a href="/builders-quick-links" target="_blank" id="quick-links-sidebar-link">
7442
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
@@ -83,26 +51,27 @@ const showMoreSection = CONFIG.COMMUNITY_INVITE_URL || editHref
8351
CONFIG.COMMUNITY_INVITE_URL && (
8452
<li class="header-link">
8553
<a href={CONFIG.COMMUNITY_INVITE_URL} target="_blank">
86-
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
87-
<g clip-path="url(#clip0_8806_115917)">
88-
<path
89-
d="M9.5337 3.99301C9.51053 3.96962 9.48296 3.95105 9.45258 3.93835C9.42221 3.92565 9.38963 3.91908 9.3567 3.91901C9.32382 3.91901 9.29125 3.92551 9.26088 3.93812C9.23051 3.95073 9.20292 3.96922 9.1797 3.99251L3.7187 9.45501C3.67184 9.50189 3.64551 9.56547 3.64551 9.63176C3.64551 9.69805 3.67184 9.76162 3.7187 9.80851L6.1927 12.2825C6.23959 12.3294 6.30316 12.3557 6.36945 12.3557C6.43575 12.3557 6.49932 12.3294 6.5462 12.2825L12.0047 6.82401C12.0514 6.77714 12.0777 6.71367 12.0777 6.64751C12.0777 6.58134 12.0514 6.51787 12.0047 6.47101L9.5337 3.99301Z"
90-
fill="#0D5DFF"
91-
/>
92-
<path
93-
d="M3.215 10.4C3.18356 10.3687 3.14433 10.3463 3.10136 10.3351C3.05839 10.324 3.01322 10.3244 2.9705 10.3365C2.92771 10.3485 2.8889 10.3717 2.85805 10.4037C2.8272 10.4357 2.80544 10.4753 2.795 10.5185L2.042 13.657C2.03206 13.6986 2.03296 13.742 2.0446 13.7832C2.05624 13.8243 2.07825 13.8618 2.1085 13.892C2.13895 13.9219 2.17646 13.9436 2.21753 13.9552C2.25861 13.9667 2.30194 13.9677 2.3435 13.958L5.4795 13.208C5.52275 13.1977 5.56245 13.176 5.59451 13.1452C5.62658 13.1144 5.64985 13.0756 5.66192 13.0328C5.674 12.99 5.67444 12.9447 5.6632 12.9017C5.65197 12.8587 5.62946 12.8194 5.598 12.788L3.215 10.4Z"
94-
fill="#0D5DFF"
95-
/>
96-
<path
97-
d="M13.5999 3.46202L12.5384 2.40002C12.3041 2.16614 11.9865 2.03479 11.6554 2.03479C11.3243 2.03479 11.0068 2.16614 10.7724 2.40002L10.0634 3.10852C10.0166 3.15541 9.99023 3.21898 9.99023 3.28527C9.99023 3.35156 10.0166 3.41514 10.0634 3.46202L12.5384 5.93652C12.5853 5.98339 12.6489 6.00972 12.7152 6.00972C12.7815 6.00972 12.845 5.98339 12.8919 5.93652L13.5999 5.22702C13.8335 4.99272 13.9647 4.67537 13.9647 4.34452C13.9647 4.01368 13.8335 3.69633 13.5999 3.46202Z"
98-
fill="#0D5DFF"
99-
/>
100-
</g>
101-
<defs>
102-
<clipPath id="clip0_8806_115917">
103-
<rect width="12" height="12" fill="white" transform="translate(2 2)" />
104-
</clipPath>
105-
</defs>
54+
<svg
55+
viewBox="0 0 28 28"
56+
version="1.1"
57+
xmlns="http://www.w3.org/2000/svg"
58+
xmlns:xlink="http://www.w3.org/1999/xlink"
59+
fill="#0D5DFF"
60+
stroke="#0D5DFF"
61+
width="16"
62+
height="16"
63+
>
64+
<>
65+
<g stroke-width="0" />
66+
<g stroke-linecap="round" stroke-linejoin="round" />
67+
<g>
68+
<g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
69+
<g id="people_community" fill="#0D5DFF" fill-rule="nonzero">
70+
<path d="M17.75,18 C18.7164983,18 19.5,18.7835017 19.5,19.75 L19.5,21.7519766 L19.4921156,21.8604403 C19.1813607,23.9866441 17.2715225,25.0090369 14.0667905,25.0090369 C10.8736123,25.0090369 8.93330141,23.9983408 8.51446278,21.8965776 L8.5,21.75 L8.5,19.75 C8.5,18.7835017 9.28350169,18 10.25,18 L17.75,18 Z M18.2439108,11.9999135 L24.25,12 C25.2164983,12 26,12.7835017 26,13.75 L26,15.7519766 L25.9921156,15.8604403 C25.6813607,17.9866441 23.7715225,19.0090369 20.5667905,19.0090369 L20.3985759,19.007437 C20.0900029,17.9045277 19.1110503,17.0815935 17.9288034,17.0057197 L17.75,17 L16.8277704,17.0007255 C17.8477843,16.1757619 18.5,14.9140475 18.5,13.5 C18.5,12.9740145 18.4097576,12.4691063 18.2439108,11.9999135 Z M3.75,12 L9.75608915,11.9999135 C9.59024243,12.4691063 9.5,12.9740145 9.5,13.5 C9.5,14.8308682 10.0777413,16.0267978 10.996103,16.8506678 L11.1722296,17.0007255 L10.25,17 C8.9877951,17 7.92420242,17.85036 7.60086562,19.0094363 L7.5667905,19.0090369 C4.37361228,19.0090369 2.43330141,17.9983408 2.01446278,15.8965776 L2,15.75 L2,13.75 C2,12.7835017 2.78350169,12 3.75,12 Z M14,10 C15.9329966,10 17.5,11.5670034 17.5,13.5 C17.5,15.4329966 15.9329966,17 14,17 C12.0670034,17 10.5,15.4329966 10.5,13.5 C10.5,11.5670034 12.0670034,10 14,10 Z M20.5,4 C22.4329966,4 24,5.56700338 24,7.5 C24,9.43299662 22.4329966,11 20.5,11 C18.5670034,11 17,9.43299662 17,7.5 C17,5.56700338 18.5670034,4 20.5,4 Z M7.5,4 C9.43299662,4 11,5.56700338 11,7.5 C11,9.43299662 9.43299662,11 7.5,11 C5.56700338,11 4,9.43299662 4,7.5 C4,5.56700338 5.56700338,4 7.5,4 Z" />
71+
</g>
72+
</g>
73+
</g>
74+
</>
10675
</svg>
10776

10877
<p>Join our community</p>

src/config/site.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,5 @@ export const OPEN_GRAPH = {
2020
// Uncomment this to add an "Edit this page" button to every page of documentation.
2121
export const GITHUB_EDIT_URL = `https://github.com/smartcontractkit/documentation/tree/main/`
2222

23-
// Uncomment this to add an "Edit this page" button to every page of documentation.
24-
export const TRANSLATION_FEEDBACK_URL = `https://chainlinkcommunity.typeform.com/to/bV6ux9R7/`
25-
2623
// Uncomment this to add an "Join our Community" button to every page of documentation.
2724
export const COMMUNITY_INVITE_URL = `https://discord.com/invite/aSK4zew`

0 commit comments

Comments
 (0)