Skip to content

Commit

Permalink
feat: update 404 page with sweet graphic (#1828)
Browse files Browse the repository at this point in the history
* feat: update 404 page with sweet graphic

* feat: Switch inline styles with awesome tailwind utils
  • Loading branch information
johnathonroach authored May 10, 2022
1 parent 4a5e8f4 commit ef4c14a
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 38 deletions.
29 changes: 27 additions & 2 deletions packages/website/pages/404.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,20 @@ import { useEffect } from 'react'

import countly from '../lib/countly'

/**
* Static Props
*
* @returns {{ props: import('../components/types.js').LayoutProps}}
*/
export const getStaticProps = () => ({
props: {
title: 'Page Not Found',
description: 'NFT.Storage 404',
navBgColor: 'bg-nslime',
needsUser: false,
},
})

export default function Custom404() {
useEffect(() => {
countly.trackEvent(countly.events.NOT_FOUND, {
Expand All @@ -10,8 +24,19 @@ export default function Custom404() {
}, [])

return (
<main className="flex items-center justify-between my-4 lg:my-32 layout-margins grow px-6 sm:px-16">
<h1 className="">404 - Page Not Found</h1>
<main className="bg-nslime grow flex">
<div className="w-full h-full text-center p-[10rem]">
<img
height="1120"
width="1844"
className="m-auto w-[40vw] h-auto max-h-[1120px] mt-8 mb-2 sm:mb-8 inline-block"
src="/images/image-404.gif"
alt="Page Not Found"
/>
<h1 className="chicagoflf text-xl lg:text-4xl sm:text-5xl font-normal my-5">
Page Not Found
</h1>
</div>
</main>
)
}
Binary file added packages/website/public/images/image-404.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
76 changes: 40 additions & 36 deletions packages/website/public/sitemap.xml
Original file line number Diff line number Diff line change
@@ -1,39 +1,43 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:mobile="http://www.google.com/schemas/sitemap-mobile/1.0" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1">
<url><loc>https://nft.storage/</loc><changefreq>daily</changefreq><priority>1</priority><lastmod>2022-04-04T17:37:40.619Z</lastmod></url>
<url><loc>https://nft.storage/api-docs/</loc><changefreq>daily</changefreq><priority>0.8</priority><lastmod>2022-04-04T17:37:40.619Z</lastmod></url>
<url><loc>https://nft.storage/blog/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-04-04T17:37:40.619Z</lastmod></url>
<url><loc>https://nft.storage/blog/subscribe/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-04-04T17:37:40.619Z</lastmod></url>
<url><loc>https://nft.storage/docs/client/generated/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-04-04T17:37:40.619Z</lastmod></url>
<url><loc>https://nft.storage/docs/client/http/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-04-04T17:37:40.619Z</lastmod></url>
<url><loc>https://nft.storage/docs/client/js/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-04-04T17:37:40.619Z</lastmod></url>
<url><loc>https://nft.storage/docs/concepts/architecture-considerations/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-04-04T17:37:40.619Z</lastmod></url>
<url><loc>https://nft.storage/docs/concepts/car-files/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-04-04T17:37:40.619Z</lastmod></url>
<url><loc>https://nft.storage/docs/concepts/decentralized-storage/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-04-04T17:37:40.619Z</lastmod></url>
<url><loc>https://nft.storage/docs/concepts/gateways/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-04-04T17:37:40.619Z</lastmod></url>
<url><loc>https://nft.storage/docs/how-to/get-status/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-04-04T17:37:40.619Z</lastmod></url>
<url><loc>https://nft.storage/docs/how-to/mint-custom-metadata/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-04-04T17:37:40.619Z</lastmod></url>
<url><loc>https://nft.storage/docs/how-to/mint-erc-1155/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-04-04T17:37:40.619Z</lastmod></url>
<url><loc>https://nft.storage/docs/how-to/mint-solana/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-04-04T17:37:40.619Z</lastmod></url>
<url><loc>https://nft.storage/docs/how-to/retrieve/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-04-04T17:37:40.619Z</lastmod></url>
<url><loc>https://nft.storage/docs/how-to/store-directory/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-04-04T17:37:40.619Z</lastmod></url>
<url><loc>https://nft.storage/docs/how-to/ucan/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-04-04T17:37:40.619Z</lastmod></url>
<url><loc>https://nft.storage/docs/quickstart/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-04-04T17:37:40.619Z</lastmod></url>
<url><loc>https://nft.storage/docs/troubleshooting/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-04-04T17:37:40.619Z</lastmod></url>
<url><loc>https://nft.storage/docs/why-nft-storage/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-04-04T17:37:40.619Z</lastmod></url>
<url><loc>https://nft.storage/faq/</loc><changefreq>daily</changefreq><priority>0.8</priority><lastmod>2022-04-04T17:37:40.619Z</lastmod></url>
<url><loc>https://nft.storage/login/</loc><changefreq>daily</changefreq><priority>0.8</priority><lastmod>2022-04-04T17:37:40.619Z</lastmod></url>
<url><loc>https://nft.storage/stats/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-04-04T17:37:40.619Z</lastmod></url>
<url><loc>https://nft.storage/terms/</loc><changefreq>daily</changefreq><priority>0.8</priority><lastmod>2022-04-04T17:37:40.620Z</lastmod></url>
<url><loc>https://nft.storage/blog/post/2021-11-30-hello-world-nft-storage/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-04-04T17:37:40.620Z</lastmod></url>
<url><loc>https://nft.storage/blog/post/2021-12-14-storage-layer-maximalism/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-04-04T17:37:40.620Z</lastmod></url>
<url><loc>https://nft.storage/blog/post/2022-01-05-mikeal-modern-finance/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-04-04T17:37:40.620Z</lastmod></url>
<url><loc>https://nft.storage/blog/post/2022-01-20-decentralizing-nft-storage/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-04-04T17:37:40.620Z</lastmod></url>
<url><loc>https://nft.storage/blog/post/2022-01-31-q1-roadmap-and-beyond/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-04-04T17:37:40.620Z</lastmod></url>
<url><loc>https://nft.storage/blog/post/2022-02-08-what-am-buying/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-04-04T17:37:40.620Z</lastmod></url>
<url><loc>https://nft.storage/blog/post/2022-02-15-base-url-apis/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-04-04T17:37:40.620Z</lastmod></url>
<url><loc>https://nft.storage/blog/post/2022-02-21-use-web3-to-speed-up-web2/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-04-04T17:37:40.620Z</lastmod></url>
<url><loc>https://nft.storage/blog/post/2022-03-08-gateway-release/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-04-04T17:37:40.620Z</lastmod></url>
<url><loc>https://nft.storage/blog/post/2022-03-29-50M-uploads/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-04-04T17:37:40.620Z</lastmod></url>
<url><loc>https://nft.storage/blog/post/2022-04-01-gateway-ucan-release/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-04-04T17:37:40.620Z</lastmod></url>
<url><loc>https://nft.storage/</loc><changefreq>daily</changefreq><priority>1</priority><lastmod>2022-05-05T12:49:13.933Z</lastmod></url>
<url><loc>https://nft.storage/api-docs/</loc><changefreq>daily</changefreq><priority>0.8</priority><lastmod>2022-05-05T12:49:13.934Z</lastmod></url>
<url><loc>https://nft.storage/blog/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-05-05T12:49:13.934Z</lastmod></url>
<url><loc>https://nft.storage/blog/subscribe/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-05-05T12:49:13.934Z</lastmod></url>
<url><loc>https://nft.storage/docs/client/generated/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-05-05T12:49:13.934Z</lastmod></url>
<url><loc>https://nft.storage/docs/client/http/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-05-05T12:49:13.934Z</lastmod></url>
<url><loc>https://nft.storage/docs/client/js/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-05-05T12:49:13.934Z</lastmod></url>
<url><loc>https://nft.storage/docs/concepts/architecture-considerations/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-05-05T12:49:13.934Z</lastmod></url>
<url><loc>https://nft.storage/docs/concepts/car-files/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-05-05T12:49:13.934Z</lastmod></url>
<url><loc>https://nft.storage/docs/concepts/decentralized-storage/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-05-05T12:49:13.934Z</lastmod></url>
<url><loc>https://nft.storage/docs/concepts/gateways/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-05-05T12:49:13.934Z</lastmod></url>
<url><loc>https://nft.storage/docs/how-to/get-status/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-05-05T12:49:13.934Z</lastmod></url>
<url><loc>https://nft.storage/docs/how-to/mint-custom-metadata/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-05-05T12:49:13.934Z</lastmod></url>
<url><loc>https://nft.storage/docs/how-to/mint-erc-1155/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-05-05T12:49:13.934Z</lastmod></url>
<url><loc>https://nft.storage/docs/how-to/mint-solana/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-05-05T12:49:13.934Z</lastmod></url>
<url><loc>https://nft.storage/docs/how-to/pinning-service/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-05-05T12:49:13.934Z</lastmod></url>
<url><loc>https://nft.storage/docs/how-to/retrieve/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-05-05T12:49:13.934Z</lastmod></url>
<url><loc>https://nft.storage/docs/how-to/store-directory/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-05-05T12:49:13.934Z</lastmod></url>
<url><loc>https://nft.storage/docs/how-to/ucan/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-05-05T12:49:13.934Z</lastmod></url>
<url><loc>https://nft.storage/docs/quickstart/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-05-05T12:49:13.934Z</lastmod></url>
<url><loc>https://nft.storage/docs/troubleshooting/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-05-05T12:49:13.934Z</lastmod></url>
<url><loc>https://nft.storage/docs/why-nft-storage/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-05-05T12:49:13.934Z</lastmod></url>
<url><loc>https://nft.storage/faq/</loc><changefreq>daily</changefreq><priority>0.8</priority><lastmod>2022-05-05T12:49:13.934Z</lastmod></url>
<url><loc>https://nft.storage/login/</loc><changefreq>daily</changefreq><priority>0.8</priority><lastmod>2022-05-05T12:49:13.934Z</lastmod></url>
<url><loc>https://nft.storage/stats/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-05-05T12:49:13.934Z</lastmod></url>
<url><loc>https://nft.storage/terms/</loc><changefreq>daily</changefreq><priority>0.8</priority><lastmod>2022-05-05T12:49:13.934Z</lastmod></url>
<url><loc>https://nft.storage/blog/post/2021-11-30-hello-world-nft-storage/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-05-05T12:49:13.934Z</lastmod></url>
<url><loc>https://nft.storage/blog/post/2021-12-14-storage-layer-maximalism/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-05-05T12:49:13.934Z</lastmod></url>
<url><loc>https://nft.storage/blog/post/2022-01-05-mikeal-modern-finance/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-05-05T12:49:13.934Z</lastmod></url>
<url><loc>https://nft.storage/blog/post/2022-01-20-decentralizing-nft-storage/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-05-05T12:49:13.934Z</lastmod></url>
<url><loc>https://nft.storage/blog/post/2022-01-31-q1-roadmap-and-beyond/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-05-05T12:49:13.934Z</lastmod></url>
<url><loc>https://nft.storage/blog/post/2022-02-08-what-am-buying/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-05-05T12:49:13.934Z</lastmod></url>
<url><loc>https://nft.storage/blog/post/2022-02-15-base-url-apis/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-05-05T12:49:13.934Z</lastmod></url>
<url><loc>https://nft.storage/blog/post/2022-02-21-use-web3-to-speed-up-web2/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-05-05T12:49:13.934Z</lastmod></url>
<url><loc>https://nft.storage/blog/post/2022-03-08-gateway-release/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-05-05T12:49:13.934Z</lastmod></url>
<url><loc>https://nft.storage/blog/post/2022-03-29-50M-uploads/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-05-05T12:49:13.934Z</lastmod></url>
<url><loc>https://nft.storage/blog/post/2022-04-01-gateway-ucan-release/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-05-05T12:49:13.934Z</lastmod></url>
<url><loc>https://nft.storage/blog/post/2022-04-04-missing-nfts/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-05-05T12:49:13.934Z</lastmod></url>
<url><loc>https://nft.storage/blog/post/2022-04-05-announcing-nftup/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-05-05T12:49:13.934Z</lastmod></url>
<url><loc>https://nft.storage/blog/post/2022-04-07-q2/</loc><changefreq>daily</changefreq><priority>0.7</priority><lastmod>2022-05-05T12:49:13.934Z</lastmod></url>
</urlset>

0 comments on commit ef4c14a

Please sign in to comment.