From 7c546961bf876409797ee06fa8103ec42069676e Mon Sep 17 00:00:00 2001 From: Scott Henderson Date: Sun, 1 Jun 2025 16:47:17 +0200 Subject: [PATCH 1/3] try ditching vercel --- README.md | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/README.md b/README.md index 8b784312..6a99b1bb 100644 --- a/README.md +++ b/README.md @@ -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. @@ -43,9 +43,3 @@ npm run dev Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. You can start editing the page by modifying `pages/index.js`. The page auto-updates as you edit the file. - - -

- -

-
From b26f36a99b93f0000f24574ae76e6ce6c3e77722 Mon Sep 17 00:00:00 2001 From: Scott Henderson Date: Thu, 5 Jun 2025 12:12:39 +0200 Subject: [PATCH 2/3] replace vercel badge with netlify --- README.md | 4 ++++ public/vercel.svg | 1 - src/components/footer.js | 4 ++-- src/components/netlify.js | 13 +++++++++++++ src/components/vercel.js | 27 --------------------------- 5 files changed, 19 insertions(+), 30 deletions(-) delete mode 100644 public/vercel.svg create mode 100644 src/components/netlify.js delete mode 100644 src/components/vercel.js diff --git a/README.md b/README.md index 6a99b1bb..8d28666b 100644 --- a/README.md +++ b/README.md @@ -43,3 +43,7 @@ npm run dev Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. You can start editing the page by modifying `pages/index.js`. The page auto-updates as you edit the file. + + + Deploys by Netlify + diff --git a/public/vercel.svg b/public/vercel.svg deleted file mode 100644 index 4cd3aeaa..00000000 --- a/public/vercel.svg +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/components/footer.js b/src/components/footer.js index 5fb7f0be..b1d41bce 100644 --- a/src/components/footer.js +++ b/src/components/footer.js @@ -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' @@ -154,7 +154,7 @@ export const Footer = () => { - + diff --git a/src/components/netlify.js b/src/components/netlify.js new file mode 100644 index 00000000..a0217036 --- /dev/null +++ b/src/components/netlify.js @@ -0,0 +1,13 @@ +import { Link } from '@/components/mdx' +import { Box } from '@chakra-ui/react' + +export function NetlifyCallout() { + return ( + + Deploys by Netlify + + ) +} diff --git a/src/components/vercel.js b/src/components/vercel.js deleted file mode 100644 index 89810c9f..00000000 --- a/src/components/vercel.js +++ /dev/null @@ -1,27 +0,0 @@ -import { Link } from '@/components/mdx' -import { Box } from '@chakra-ui/react' - -export function VercelCallout() { - return ( - - {' '} - - {'Powered by'}{' '} - - ▲ - {' '} - Vercel - - - ) -} From e8f4033d054d459d57ab54bab61e586e4499d4e6 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 5 Jun 2025 10:12:53 +0000 Subject: [PATCH 3/3] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- README.md | 7 +++++-- src/components/netlify.js | 6 +++--- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 8d28666b..5389705f 100644 --- a/README.md +++ b/README.md @@ -44,6 +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. - - Deploys by Netlify + + Deploys by Netlify diff --git a/src/components/netlify.js b/src/components/netlify.js index a0217036..32d91e08 100644 --- a/src/components/netlify.js +++ b/src/components/netlify.js @@ -3,10 +3,10 @@ import { Box } from '@chakra-ui/react' export function NetlifyCallout() { return ( - + Deploys by Netlify )