File tree 3 files changed +39
-2
lines changed
3 files changed +39
-2
lines changed Original file line number Diff line number Diff line change 1
1
# xarray landing page
2
2
3
- ![ GitHub deployments ] ( https://img.shields.io/github/deployments/andersy005/ xarray-website /Production?label=vercel&logo=vercel&style=for-the-badge )
3
+ ![ Vercel Deployment ] ( https://img.shields.io/github/deployments/xarray-contrib/xarray.dev /Production?label=vercel&logo=vercel&style=for-the-badge )
4
4
5
5
Landing Page for xarray project.
6
6
@@ -21,7 +21,7 @@ This project is built using the following tools/technologies:
21
21
### 1. Clone the repository
22
22
23
23
``` bash
24
- git clone ` REPO_URL `
24
+ git clone https://github.com/xarray-contrib/xarray.dev
25
25
```
26
26
27
27
### 2. Install dependencies
@@ -43,3 +43,9 @@ npm run dev
43
43
Open [ http://localhost:3000 ] ( http://localhost:3000 ) with your browser to see the result.
44
44
45
45
You can start editing the page by modifying ` pages/index.js ` . The page auto-updates as you edit the file.
46
+
47
+ <a href =" https://vercel.com?utm_source=xarray&utm_campaign=oss " >
48
+ <p align =" center " >
49
+ <img src =" https://www.datocms-assets.com/31049/1618983297-powered-by-vercel.svg " >
50
+ </p >
51
+ </a >
Original file line number Diff line number Diff line change @@ -10,10 +10,12 @@ import {
10
10
VisuallyHidden ,
11
11
Image ,
12
12
useColorModeValue ,
13
+ VStack ,
13
14
} from "@chakra-ui/react"
14
15
15
16
import { FaTwitter , FaGithub } from "react-icons/fa"
16
17
import { footerItems } from "../data/footer-items"
18
+ import { VercelCallout } from "./VercelCallout"
17
19
18
20
const SocialButton = ( { children, label, href } ) => {
19
21
return (
@@ -129,6 +131,9 @@ export const Footer = () => {
129
131
} ) }
130
132
</ Stack >
131
133
</ SimpleGrid >
134
+ < VStack as = "footer" spacing = { 4 } mt = { 12 } textAlign = "center" >
135
+ < VercelCallout />
136
+ </ VStack >
132
137
</ Container >
133
138
</ Box >
134
139
)
Original file line number Diff line number Diff line change
1
+ import { Box , Link } from "@chakra-ui/react"
2
+
3
+ export function VercelCallout ( ) {
4
+ return (
5
+ < Box
6
+ mt = "6"
7
+ fontSize = "sm"
8
+ fontWeight = "semibold"
9
+ display = "inline-block"
10
+ bg = "black"
11
+ color = "white"
12
+ px = "4"
13
+ py = "2"
14
+ rounded = "lg"
15
+ >
16
+ { " " }
17
+ < Link href = "https://vercel.com?utm_source=xarray& utm_campaign = oss " >
18
+ { "Powered by" } { " " }
19
+ < span role = "img" aria-label = "Vercel logo" >
20
+ ▲
21
+ </ span > { " " }
22
+ Vercel
23
+ </ Link >
24
+ </ Box >
25
+ )
26
+ }
You can’t perform that action at this time.
0 commit comments