Skip to content

Commit e1ada14

Browse files
authored
Issue #2 links to the communities (#749)
* cleanup community list names in all language layouts - remove some telegram - rename twitter to x - add wiki * rename twitter -> x * reorder list of community links * change url from twitter to X (todo: update react-icons and change twitter icon by x icon * remmove Facebook and LikedIn, restore telegram PT, add telegram IN, add telegram MN EN&DE
1 parent 5032e06 commit e1ada14

8 files changed

Lines changed: 98 additions & 101 deletions

File tree

public/locales/de/layout.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -103,20 +103,14 @@
103103
"title": "Reddit"
104104
},
105105
{
106-
"title": "Twitter"
107-
},
108-
{
109-
"title": "Facebook"
106+
"title": "X (formerly Twitter)"
110107
},
111108
{
112109
"title": "GitHub"
113110
},
114111
{
115112
"title": "YouTube"
116113
},
117-
{
118-
"title": "LinkedIn"
119-
},
120114
{
121115
"title": "Discord"
122116
},
@@ -139,19 +133,25 @@
139133
"title": "Telegram (IT)"
140134
},
141135
{
142-
"title": "Telegram (ID)"
136+
"title": "Telegram (IN)"
143137
},
144138
{
145139
"title": "Telegram (TR)"
146140
},
147-
{
148-
"title": "Telegram (ZH)"
149-
},
150141
{
151142
"title": "Telegram (RU)"
152143
},
153144
{
154145
"title": "Telegram (PT)"
146+
},
147+
{
148+
"title": "Telegram (Masternodes EN)"
149+
},
150+
{
151+
"title": "Telegram (Masternodes DE)"
152+
},
153+
{
154+
"title": "Wiki"
155155
}
156156
]
157157
}

public/locales/en-US/layout.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -105,20 +105,14 @@
105105
"title": "Reddit"
106106
},
107107
{
108-
"title": "Twitter"
109-
},
110-
{
111-
"title": "Facebook"
108+
"title": "X (formerly Twitter)"
112109
},
113110
{
114111
"title": "GitHub"
115112
},
116113
{
117114
"title": "YouTube"
118115
},
119-
{
120-
"title": "LinkedIn"
121-
},
122116
{
123117
"title": "Discord"
124118
},
@@ -141,19 +135,25 @@
141135
"title": "Telegram (IT)"
142136
},
143137
{
144-
"title": "Telegram (ID)"
138+
"title": "Telegram (IN)"
145139
},
146140
{
147141
"title": "Telegram (TR)"
148142
},
149-
{
150-
"title": "Telegram (ZH)"
151-
},
152143
{
153144
"title": "Telegram (RU)"
154145
},
155146
{
156147
"title": "Telegram (PT)"
148+
},
149+
{
150+
"title": "Telegram (Masternodes EN)"
151+
},
152+
{
153+
"title": "Telegram (Masternodes DE)"
154+
},
155+
{
156+
"title": "Wiki"
157157
}
158158
]
159159
}

public/locales/fr/layout.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -101,19 +101,13 @@
101101
"title": "Reddit"
102102
},
103103
{
104-
"title": "Twitter"
105-
},
106-
{
107-
"title": "Facebook"
104+
"title": "X (formerly Twitter)"
108105
},
109106
{
110107
"title": "GitHub"
111108
},
112109
{
113-
"title": "Youtube"
114-
},
115-
{
116-
"title": "LinkedIn"
110+
"title": "YouTube"
117111
},
118112
{
119113
"title": "Discord"
@@ -137,19 +131,25 @@
137131
"title": "Telegram (IT)"
138132
},
139133
{
140-
"title": "Telegram (ID)"
134+
"title": "Telegram (IN)"
141135
},
142136
{
143137
"title": "Telegram (TR)"
144138
},
145-
{
146-
"title": "Telegram (ZH)"
147-
},
148139
{
149140
"title": "Telegram (RU)"
150141
},
151142
{
152143
"title": "Telegram (PT)"
144+
},
145+
{
146+
"title": "Telegram (Masternodes EN)"
147+
},
148+
{
149+
"title": "Telegram (Masternodes DE)"
150+
},
151+
{
152+
"title": "Wiki"
153153
}
154154
]
155155
}

public/locales/zh-Hans/layout.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -101,20 +101,14 @@
101101
"title": "Reddit"
102102
},
103103
{
104-
"title": "Twitter"
105-
},
106-
{
107-
"title": "Facebook"
104+
"title": "X (formerly Twitter)"
108105
},
109106
{
110107
"title": "GitHub"
111108
},
112109
{
113110
"title": "YouTube"
114111
},
115-
{
116-
"title": "LinkedIn"
117-
},
118112
{
119113
"title": "Discord"
120114
},
@@ -137,19 +131,25 @@
137131
"title": "Telegram (IT)"
138132
},
139133
{
140-
"title": "Telegram (ID)"
134+
"title": "Telegram (IN)"
141135
},
142136
{
143137
"title": "Telegram (TR)"
144138
},
145-
{
146-
"title": "Telegram (ZH)"
147-
},
148139
{
149140
"title": "Telegram (RU)"
150141
},
151142
{
152143
"title": "Telegram (PT)"
144+
},
145+
{
146+
"title": "Telegram (Masternodes EN)"
147+
},
148+
{
149+
"title": "Telegram (Masternodes DE)"
150+
},
151+
{
152+
"title": "Wiki"
153153
}
154154
]
155155
}

public/locales/zh-Hant/layout.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -101,19 +101,13 @@
101101
"title": "Reddit"
102102
},
103103
{
104-
"title": "Twitter"
105-
},
106-
{
107-
"title": "Facebook"
104+
"title": "X (formerly Twitter)"
108105
},
109106
{
110107
"title": "GitHub"
111108
},
112109
{
113-
"title": "Youtube"
114-
},
115-
{
116-
"title": "LinkedIn"
110+
"title": "YouTube"
117111
},
118112
{
119113
"title": "Discord"
@@ -137,19 +131,25 @@
137131
"title": "Telegram (IT)"
138132
},
139133
{
140-
"title": "Telegram (ID)"
134+
"title": "Telegram (IN)"
141135
},
142136
{
143137
"title": "Telegram (TR)"
144138
},
145-
{
146-
"title": "Telegram (ZH)"
147-
},
148139
{
149140
"title": "Telegram (RU)"
150141
},
151142
{
152143
"title": "Telegram (PT)"
144+
},
145+
{
146+
"title": "Telegram (Masternodes EN)"
147+
},
148+
{
149+
"title": "Telegram (Masternodes DE)"
150+
},
151+
{
152+
"title": "Wiki"
153153
}
154154
]
155155
}

src/layouts/Default.tsx

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -74,16 +74,13 @@ export function Default(props: PropsWithChildren<any>): JSX.Element | null {
7474
content="image/png"
7575
/>
7676

77-
{/* Twitter */}
78-
<meta name="twitter:card" content="summary_large_image" />
79-
<meta name="twitter:site" content="@defichain" />
80-
<meta name="twitter:creator" content="@defichain" />
81-
<meta name="twitter:title" content={linkTitle} />
82-
<meta name="twitter:description" content={description} />
83-
<meta
84-
name="twitter:image"
85-
content="https://defichain.com/img/og/share.png"
86-
/>
77+
{/* X (formerly twitter) */}
78+
<meta name="x:card" content="summary_large_image" />
79+
<meta name="x:site" content="@defichain" />
80+
<meta name="x:creator" content="@defichain" />
81+
<meta name="x:title" content={linkTitle} />
82+
<meta name="x:description" content={description} />
83+
<meta name="x:image" content="https://defichain.com/img/og/share.png" />
8784
<link rel="icon" href="/favicon.ico" />
8885
<link rel="icon" type="image/png" sizes="48x48" href="/favicon.png" />
8986
</Head>

0 commit comments

Comments
 (0)