From a80be11f4e5371c881878d50ed5a2f89ed050d49 Mon Sep 17 00:00:00 2001 From: Anderson Banihirwe Date: Mon, 29 Aug 2022 14:15:58 -0600 Subject: [PATCH 1/8] update hero banner --- src/components/hero-banner.js | 140 +++++++++++++++++++--------------- src/components/layout.js | 20 ++--- 2 files changed, 88 insertions(+), 72 deletions(-) diff --git a/src/components/hero-banner.js b/src/components/hero-banner.js index 9d585b480..057b456db 100644 --- a/src/components/hero-banner.js +++ b/src/components/hero-banner.js @@ -1,4 +1,5 @@ import { + Box, Button, Container, Heading, @@ -11,76 +12,89 @@ import { Image, Link } from '@/components/mdx' export const HeroBanner = () => { return ( - - - - + + + + + + + Xarray + +
+ + N-D labeled arrays and datasets in Python + +
- Xarray - -
- - N-D labeled arrays and datasets in Python + Xarray is an open source project and Python + package that introduces labels in the form of dimensions, + coordinates, and attributes on top of raw NumPy-like arrays, which + allows for more intuitive, more concise, and less error-prone user + experience. +
+
+ Xarray includes a large and growing library of domain-agnostic + functions for advanced analytics and visualization with these data + structures.
-
- - Xarray is an open source project and Python package - that introduces labels in the form of dimensions, coordinates, and - attributes on top of raw NumPy-like arrays, which allows for more - intuitive, more concise, and less error-prone user experience. -
-
- Xarray includes a large and growing library of domain-agnostic - functions for advanced analytics and visualization with these data - structures. -
-
- - xarray data structure + + + xarray data structure - - - + + +
- -
+ + ) } diff --git a/src/components/layout.js b/src/components/layout.js index 11c38027e..30bc242c5 100644 --- a/src/components/layout.js +++ b/src/components/layout.js @@ -2,7 +2,7 @@ import { Banner } from '@/components/banner' import { Footer } from '@/components/footer' import { Header } from '@/components/header' import { Link } from '@/components/mdx' -import { Container, Text } from '@chakra-ui/react' +import { Box, Flex, Text } from '@chakra-ui/react' import Head from 'next/head' export const Layout = ({ @@ -38,23 +38,25 @@ export const Layout = ({ {title} - -
- - + +
{enableBanner && ( {bannerChildren} )} {children} - + +