Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update source content #146

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
6 changes: 3 additions & 3 deletions src/en/components/layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ export const Layout = ({
url = 'https://xarray.dev',
enableBanner = false,
}) => {
const bannerTitle = "Xarray's 2024 User Survey is live now."
const bannerTitle = 'Check out the new blog post on DataTree!'
const bannerDescription = ''
const bannerChildren = (
<Link href='https://forms.gle/KEq7WviCdz9xTaJX6'>
Please take ~5 minutes to fill it out and help us improve Xarray.
<Link href='/blog/datatree'>
Xarray x NASA: xarray.DataTree for hierarchical data structures
</Link>
)

Expand Down
10 changes: 4 additions & 6 deletions src/en/components/mdx/link.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,14 @@ export const Link = React.forwardRef(function CustomLink(props, ref) {

if (isInternalLink) {
return (
<NextLink href={href} passHref>
<ChakraLink ref={ref} {...rest}>
{rest.children}
</ChakraLink>
</NextLink>
<ChakraLink as={NextLink} ref={ref} {...rest}>
{rest.children}
</ChakraLink>
)
}

return (
<ChakraLink isExternal {...rest} ref={ref}>
<ChakraLink isExternal {...rest} as={NextLink} ref={ref}>
{rest.children}
{useExternalIcon && <ExternalLinkIcon mx='2px' />}
</ChakraLink>
Expand Down
2 changes: 1 addition & 1 deletion src/en/data/sponsors.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export const Sponsors = [
{
name: t`CZI`,
logo: t`/Chan_Zuckerberg_Initiative.svg`,
url: 'https://chanzuckerberg.com//',
url: 'https://chanzuckerberg.com/',
},
{ name: t`NVIDIA`, logo: t`/Nvidia_logo.svg`, url: 'https://www.nvidia.com/' },
]
2 changes: 1 addition & 1 deletion src/en/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default function IndexPage() {
card={
'https://raw.githubusercontent.com/xarray-contrib/xarray.dev/main/public/Xarray-assets/Icon/Xarray_Icon_Final.png'
}
// enableBanner
enableBanner
>
<HeroBanner />
<Features />
Expand Down