Giter Site home page Giter Site logo

jpizzribeiro / tailwindcss-rails-custom-error-page-templates Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mdjamal/tailwindcss-rails-custom-error-page-templates

0.0 0.0 0.0 595 KB

A set of error page templates built with TailwindCSS for Ruby on Rails apps.

Home Page: https://github.com/mdjamal/tailwindcss-rails-custom-error-page-templates

HTML 100.00%

tailwindcss-rails-custom-error-page-templates's Introduction

Tailwind CSS Rails Custom Error Page Templates

These are set of HTML templates built as a replacement for default Ruby on Rails error page templates, found in Rails app /public/ folder.

The default error pages especially the 404 page leaves me confused or even alarmed when I see them as something has broken and that we are stuck.

Default vs Custom

So have designed these error pages 404, 422 and 500 and will be using them for all my rails project.

It’s simple HTML code and looks stunning thanks to awesome TailwindCSS and beautiful illustrations by Ouch.pics

Included 3 styles in folder titled after CSS position Static, Static-Illustrated and Absolute.

To use just copy the style you like and replace the error pages in your Rails app /public/ folder. The HTML uses TailwindCSS CDN., to keep it simple portable and not worry about Rails Asset Pipeline.

Static

A very simple and normal layout with elements stacked.

Static

Static Illustrated

Similar to static but uses illustration instead of the error codes.

Illustrated

Absolute

The elements are layered on top using the absolute position in wide screens and stacked in small screens.

Absolute Big Screen

Absolute Small Screen

License

This is available as open-source under the terms of the MIT License.

tailwindcss-rails-custom-error-page-templates's People

Contributors

mdjamal avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.