PHP Classes

File: frontend/src/components/ErrorPage/index.tsx

Recommend this page to a friend!
  Classes of Carlos Carvalho   yrprey PHP application   frontend/src/components/ErrorPage/index.tsx   Download  
File: frontend/src/components/ErrorPage/index.tsx
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: yrprey PHP application
Web app to learn about OWASP API vulnerabilities
Author: By
Last change:
Date: 8 months ago
Size: 1,402 bytes
 

Contents

Class file image Download
import React from 'react'; const Error404Page = () => { return ( <div style={{ fontFamily: 'system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"', height: '100vh', textAlign: 'center', display: 'flex', flexDirection: 'column', alignItems: 'center', justifyContent: 'center' }}> <div style={{ lineHeight: '48px' }}> <style> {` body { color: #000; background: #fff; margin: 0; } .next-error-h1 { border-right: 1px solid rgba(0, 0, 0, .3); } @media (prefers-color-scheme: dark) { body { color: #fff; background: #000; } .next-error-h1 { border-right: 1px solid rgba(255, 255, 255, .3); } } `} </style> <h1 className="next-error-h1" style={{ display: 'inline-block', margin: '0 20px 0 0', paddingRight: '23px', fontSize: '24px', fontWeight: '500', verticalAlign: 'top' }}>404</h1> <div style={{ display: 'inline-block' }}> <h2 style={{ fontSize: '14px', fontWeight: '400', lineHeight: '28px' }}>This page could not be found.</h2> </div> </div> </div> ); }; export default Error404Page;