Skip to content

Commit 471bb61

Browse files
authored
Merge pull request #144 from GeekyAnts/fix/twitter-handle
Fix/twitter handle
2 parents bb58bdb + 1fde349 commit 471bb61

File tree

2 files changed

+27
-39
lines changed

2 files changed

+27
-39
lines changed

docusaurus.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ module.exports = {
3232
content:
3333
'NativeBase 3.0 enables you to build a consistent design system across android, iOS & web. It is powered by React Native ARIA and Styled System. Rich, highly themeable and responsive.',
3434
},
35-
{ name: 'twitter:site', content: '@NativeBaseIO' },
35+
{ name: 'twitter:site', content: '@nativebase' },
3636
{
3737
property: 'og:title',
3838
content:
@@ -155,7 +155,7 @@ module.exports = {
155155
items: [
156156
{
157157
label: 'Twitter',
158-
href: 'https://twitter.com/nativebaseio',
158+
href: 'https://twitter.com/nativebase',
159159
},
160160
{
161161
label: 'Stack Overflow',

src/theme/Footer.js

Lines changed: 25 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import useThemeContext from '@theme/hooks/useThemeContext';
44
const communities = [
55
{
66
name: 'Twitter',
7-
url: 'https://twitter.com/nativebaseio',
7+
url: 'https://twitter.com/nativebase',
88
},
99
{
1010
name: 'StackOverflow',
@@ -55,16 +55,14 @@ export default function Footer() {
5555
return (
5656
<div className="tailwind">
5757
<div
58-
className={`w-full py-8 mt-10 ${
59-
isDarkTheme ? 'bg-coolGray-800' : 'bg-coolGray-100'
60-
} `}
58+
className={`w-full py-8 mt-10 ${isDarkTheme ? 'bg-coolGray-800' : 'bg-coolGray-100'
59+
} `}
6160
>
6261
<div className="flex flex-col justify-between w-full px-6 mx-auto text-gray-500 max-w-7xl lg:px-4 md:flex-row gap-y-10">
6362
<div className="">
6463
<div
65-
className={`font-semibold ${
66-
isDarkTheme ? 'text-gray-100' : 'text-gray-900'
67-
}`}
64+
className={`font-semibold ${isDarkTheme ? 'text-gray-100' : 'text-gray-900'
65+
}`}
6866
>
6967
Docs
7068
</div>
@@ -73,9 +71,8 @@ export default function Footer() {
7371
return (
7472
<div className="text-gray-500 hover:underline" key={idx}>
7573
<a
76-
className={` ${linkHoverColor} ${
77-
isDarkTheme ? 'text-gray-200' : 'text-gray-500'
78-
}`}
74+
className={` ${linkHoverColor} ${isDarkTheme ? 'text-gray-200' : 'text-gray-500'
75+
}`}
7976
rel="noreferrer"
8077
href={items.url}
8178
>
@@ -88,9 +85,8 @@ export default function Footer() {
8885
</div>
8986
<div>
9087
<div
91-
className={`font-semibold ${
92-
isDarkTheme ? 'text-gray-100' : 'text-gray-900'
93-
}`}
88+
className={`font-semibold ${isDarkTheme ? 'text-gray-100' : 'text-gray-900'
89+
}`}
9490
>
9591
Community
9692
</div>
@@ -99,9 +95,8 @@ export default function Footer() {
9995
return (
10096
<div className="hover:underline " key={idx}>
10197
<a
102-
className={` ${linkHoverColor} ${
103-
isDarkTheme ? 'text-gray-200' : 'text-gray-500'
104-
}`}
98+
className={` ${linkHoverColor} ${isDarkTheme ? 'text-gray-200' : 'text-gray-500'
99+
}`}
105100
rel="noreferrer"
106101
target="_blank"
107102
href={items.url}
@@ -115,9 +110,8 @@ export default function Footer() {
115110
</div>
116111
<div className="">
117112
<div
118-
className={`font-semibold ${
119-
isDarkTheme ? 'text-gray-100' : 'text-gray-900'
120-
}`}
113+
className={`font-semibold ${isDarkTheme ? 'text-gray-100' : 'text-gray-900'
114+
}`}
121115
>
122116
More
123117
</div>
@@ -126,9 +120,8 @@ export default function Footer() {
126120
return (
127121
<div className="hover:underline" key={idx}>
128122
<a
129-
className={` ${linkHoverColor} ${
130-
isDarkTheme ? 'text-gray-200' : 'text-gray-500'
131-
} `}
123+
className={` ${linkHoverColor} ${isDarkTheme ? 'text-gray-200' : 'text-gray-500'
124+
} `}
132125
rel="noreferrer"
133126
target="_blank"
134127
href={items.url}
@@ -143,9 +136,8 @@ export default function Footer() {
143136
<div className="flex flex-col space-y-5 text-gray-500 list-none">
144137
<div className="hover:underline">
145138
<a
146-
className={` ${linkHoverColor} ${
147-
isDarkTheme ? 'text-gray-200' : 'text-gray-500'
148-
}`}
139+
className={` ${linkHoverColor} ${isDarkTheme ? 'text-gray-200' : 'text-gray-500'
140+
}`}
149141
href="https://geekyants.com/?utm_source=RnD&utm_medium=Landing_Page&utm_campaign=NativeBase_3"
150142
target="_blank"
151143
rel="noreferrer"
@@ -161,9 +153,8 @@ export default function Footer() {
161153
href="https://www.linkedin.com/company/nativebase/about/?viewAsMember=true"
162154
>
163155
<svg
164-
className={`w-6 h-6 ${
165-
isDarkTheme ? 'text-gray-200' : 'text-gray-500 '
166-
} fill-current`}
156+
className={`w-6 h-6 ${isDarkTheme ? 'text-gray-200' : 'text-gray-500 '
157+
} fill-current`}
167158
aria-hidden="true"
168159
focusable="false"
169160
data-prefix="fab"
@@ -185,9 +176,8 @@ export default function Footer() {
185176
href="https://www.instagram.com/nativebaseio/?hl=en"
186177
>
187178
<svg
188-
className={`w-6 h-6 ${
189-
isDarkTheme ? 'text-gray-200' : 'text-gray-500 '
190-
} fill-current`}
179+
className={`w-6 h-6 ${isDarkTheme ? 'text-gray-200' : 'text-gray-500 '
180+
} fill-current`}
191181
xmlns="http://www.w3.org/2000/svg"
192182
data-name="Layer 1"
193183
viewBox="0 0 24 24"
@@ -201,9 +191,8 @@ export default function Footer() {
201191
href="https://www.youtube.com/channel/UCoL_iTwpY07vDs91974z3xA/about"
202192
>
203193
<svg
204-
className={`w-6 h-6 ${
205-
isDarkTheme ? 'text-gray-200' : 'text-gray-500 '
206-
} fill-current`}
194+
className={`w-6 h-6 ${isDarkTheme ? 'text-gray-200' : 'text-gray-500 '
195+
} fill-current`}
207196
version="1.0"
208197
xmlns="http://www.w3.org/2000/svg"
209198
width="512.000000pt"
@@ -233,9 +222,8 @@ export default function Footer() {
233222
</a>
234223
</div>
235224
<div
236-
className={`text-sm ${
237-
isDarkTheme ? 'text-gray-200' : 'text-gray-500 '
238-
}`}
225+
className={`text-sm ${isDarkTheme ? 'text-gray-200' : 'text-gray-500 '
226+
}`}
239227
>
240228
Copyright © 2021 NativeBase
241229
</div>

0 commit comments

Comments
 (0)