Skip to content

Try deploying with Netlify instead of Vercel #778

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

Open
wants to merge 3 commits 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
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# xarray landing page

![Vercel Deployment](https://img.shields.io/github/deployments/xarray-contrib/xarray.dev/Production?label=vercel&logo=vercel&style=for-the-badge)
[![Netlify Status](https://api.netlify.com/api/v1/badges/4f940719-54bd-4ff7-95e0-0088dfb3c10f/deploy-status)](https://app.netlify.com/projects/xarraydev/deploys)

Landing Page for xarray project.

Expand Down Expand Up @@ -44,8 +44,9 @@ Open [http://localhost:3000](http://localhost:3000) with your browser to see the

You can start editing the page by modifying `pages/index.js`. The page auto-updates as you edit the file.

<a href="https://vercel.com?utm_source=xarray&utm_campaign=oss">
<p align="center">
<img src="https://www.datocms-assets.com/31049/1618983297-powered-by-vercel.svg">
</p>
<a href='https://www.netlify.com'>
<img
src='https://www.netlify.com/assets/badges/netlify-badge-color-bg.svg'
alt='Deploys by Netlify'
/>
</a>
1 change: 0 additions & 1 deletion public/vercel.svg

This file was deleted.

4 changes: 2 additions & 2 deletions src/components/footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { getRootURL } from '@/lib/seo-utils'

import { GitSHA } from '@/components/git-sha'
import { Image, Link } from '@/components/mdx'
import { VercelCallout } from '@/components/vercel'
import { NetlifyCallout } from '@/components/netlify'
import { footerItems } from '@/data/footer-items'
import { FaGithub, FaRss, FaTwitter, FaYoutube } from 'react-icons/fa'

Expand Down Expand Up @@ -154,7 +154,7 @@ export const Footer = () => {
</Stack>
</SimpleGrid>
<VStack as='footer' spacing={4} mt={12} textAlign='center'>
<VercelCallout />
<NetlifyCallout />
</VStack>
</Container>
</Box>
Expand Down
13 changes: 13 additions & 0 deletions src/components/netlify.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { Link } from '@/components/mdx'
import { Box } from '@chakra-ui/react'

export function NetlifyCallout() {
return (
<a href='https://www.netlify.com'>
<img
src='https://www.netlify.com/assets/badges/netlify-badge-color-bg.svg'
alt='Deploys by Netlify'
/>
</a>
)
}
27 changes: 0 additions & 27 deletions src/components/vercel.js

This file was deleted.