Skip to content

HTTRiRi - HTTP Status Codes as Portrayed by Rihanna GIFs ✨💄

Notifications You must be signed in to change notification settings

mehtavishwa30/httriri

 
 

Repository files navigation

HTTRiRi

screenshot of HTTRiRi website

Explore HTTP status codes with this collection of Rihanna GIFs at https://www.httriri.com/. Each GIF links to the relevant https://httpstatuses.com/ page.

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, install the dependencies:

npm install
# or
yarn

Then, run the development server:

npm run dev
# or
yarn dev

Open 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.

Adding a New Status Code

  • The GIF should include Rihanna and not already be included on https://www.httriri.com/. In rare cases, a GIF that already exists in the HTTRIRI collection can be used for another status code but within the same set of proposed changes a new GIF should be chosen for the other status code to ensure there are no duplicate images and the overall size of the collection is growing.

  • Project maintainers reserve the right to determine whether or not a particular Rihanna GIF reflects the status code in question.

  • New GIFs should be added to the /public/images folder and named like [statuscode].gif

  • The statuses file should be updated to include the new status code in statuses https://github.com/M0nica/httriri/blob/main/utils/statuses.ts

  • For status code 404. I added a new image 404.gif to /public/images and updated statuses.ts to include:

    code: 404,
    title: "Not Found",
    description:
      "Rihanna singing Story of my life Searching for the right But it keeps avoiding me",
  },

Note the code, title and description (which is used for image alt text are all required. The title should match the title on https://httpstatuses.com/ for that particular status code.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

About

HTTRiRi - HTTP Status Codes as Portrayed by Rihanna GIFs ✨💄

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 72.7%
  • JavaScript 16.9%
  • CSS 10.4%