Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ module.exports = {
content:
'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.',
},
{ name: 'twitter:site', content: '@NativeBaseIO' },
{ name: 'twitter:site', content: '@nativebase' },
{
property: 'og:title',
content:
Expand Down Expand Up @@ -155,7 +155,7 @@ module.exports = {
items: [
{
label: 'Twitter',
href: 'https://twitter.com/nativebaseio',
href: 'https://twitter.com/nativebase',
},
{
label: 'Stack Overflow',
Expand Down
62 changes: 25 additions & 37 deletions src/theme/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import useThemeContext from '@theme/hooks/useThemeContext';
const communities = [
{
name: 'Twitter',
url: 'https://twitter.com/nativebaseio',
url: 'https://twitter.com/nativebase',
},
{
name: 'StackOverflow',
Expand Down Expand Up @@ -55,16 +55,14 @@ export default function Footer() {
return (
<div className="tailwind">
<div
className={`w-full py-8 mt-10 ${
isDarkTheme ? 'bg-coolGray-800' : 'bg-coolGray-100'
} `}
className={`w-full py-8 mt-10 ${isDarkTheme ? 'bg-coolGray-800' : 'bg-coolGray-100'
} `}
>
<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">
<div className="">
<div
className={`font-semibold ${
isDarkTheme ? 'text-gray-100' : 'text-gray-900'
}`}
className={`font-semibold ${isDarkTheme ? 'text-gray-100' : 'text-gray-900'
}`}
>
Docs
</div>
Expand All @@ -73,9 +71,8 @@ export default function Footer() {
return (
<div className="text-gray-500 hover:underline" key={idx}>
<a
className={` ${linkHoverColor} ${
isDarkTheme ? 'text-gray-200' : 'text-gray-500'
}`}
className={` ${linkHoverColor} ${isDarkTheme ? 'text-gray-200' : 'text-gray-500'
}`}
rel="noreferrer"
href={items.url}
>
Expand All @@ -88,9 +85,8 @@ export default function Footer() {
</div>
<div>
<div
className={`font-semibold ${
isDarkTheme ? 'text-gray-100' : 'text-gray-900'
}`}
className={`font-semibold ${isDarkTheme ? 'text-gray-100' : 'text-gray-900'
}`}
>
Community
</div>
Expand All @@ -99,9 +95,8 @@ export default function Footer() {
return (
<div className="hover:underline " key={idx}>
<a
className={` ${linkHoverColor} ${
isDarkTheme ? 'text-gray-200' : 'text-gray-500'
}`}
className={` ${linkHoverColor} ${isDarkTheme ? 'text-gray-200' : 'text-gray-500'
}`}
rel="noreferrer"
target="_blank"
href={items.url}
Expand All @@ -115,9 +110,8 @@ export default function Footer() {
</div>
<div className="">
<div
className={`font-semibold ${
isDarkTheme ? 'text-gray-100' : 'text-gray-900'
}`}
className={`font-semibold ${isDarkTheme ? 'text-gray-100' : 'text-gray-900'
}`}
>
More
</div>
Expand All @@ -126,9 +120,8 @@ export default function Footer() {
return (
<div className="hover:underline" key={idx}>
<a
className={` ${linkHoverColor} ${
isDarkTheme ? 'text-gray-200' : 'text-gray-500'
} `}
className={` ${linkHoverColor} ${isDarkTheme ? 'text-gray-200' : 'text-gray-500'
} `}
rel="noreferrer"
target="_blank"
href={items.url}
Expand All @@ -143,9 +136,8 @@ export default function Footer() {
<div className="flex flex-col space-y-5 text-gray-500 list-none">
<div className="hover:underline">
<a
className={` ${linkHoverColor} ${
isDarkTheme ? 'text-gray-200' : 'text-gray-500'
}`}
className={` ${linkHoverColor} ${isDarkTheme ? 'text-gray-200' : 'text-gray-500'
}`}
href="https://geekyants.com/?utm_source=RnD&utm_medium=Landing_Page&utm_campaign=NativeBase_3"
target="_blank"
rel="noreferrer"
Expand All @@ -161,9 +153,8 @@ export default function Footer() {
href="https://www.linkedin.com/company/nativebase/about/?viewAsMember=true"
>
<svg
className={`w-6 h-6 ${
isDarkTheme ? 'text-gray-200' : 'text-gray-500 '
} fill-current`}
className={`w-6 h-6 ${isDarkTheme ? 'text-gray-200' : 'text-gray-500 '
} fill-current`}
aria-hidden="true"
focusable="false"
data-prefix="fab"
Expand All @@ -185,9 +176,8 @@ export default function Footer() {
href="https://www.instagram.com/nativebaseio/?hl=en"
>
<svg
className={`w-6 h-6 ${
isDarkTheme ? 'text-gray-200' : 'text-gray-500 '
} fill-current`}
className={`w-6 h-6 ${isDarkTheme ? 'text-gray-200' : 'text-gray-500 '
} fill-current`}
xmlns="http://www.w3.org/2000/svg"
data-name="Layer 1"
viewBox="0 0 24 24"
Expand All @@ -201,9 +191,8 @@ export default function Footer() {
href="https://www.youtube.com/channel/UCoL_iTwpY07vDs91974z3xA/about"
>
<svg
className={`w-6 h-6 ${
isDarkTheme ? 'text-gray-200' : 'text-gray-500 '
} fill-current`}
className={`w-6 h-6 ${isDarkTheme ? 'text-gray-200' : 'text-gray-500 '
} fill-current`}
version="1.0"
xmlns="http://www.w3.org/2000/svg"
width="512.000000pt"
Expand Down Expand Up @@ -233,9 +222,8 @@ export default function Footer() {
</a>
</div>
<div
className={`text-sm ${
isDarkTheme ? 'text-gray-200' : 'text-gray-500 '
}`}
className={`text-sm ${isDarkTheme ? 'text-gray-200' : 'text-gray-500 '
}`}
>
Copyright © 2021 NativeBase
</div>
Expand Down