-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from paddybalinia/feat/error-config
feat: error config
- Loading branch information
Showing
12 changed files
with
357 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
<!DOCTYPE html> | ||
<html lang="es"> | ||
|
||
<head> | ||
<meta charset="UTF-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>404 Error | Patricio Baliña</title> | ||
|
||
<meta name="title" content="404 Error | Patricio Baliña"> | ||
<meta name="robots" content="index, follow"> | ||
|
||
<meta property="og:title" content="404 Error | Patricio Baliña" /> | ||
<meta property="og:type" content="website" /> | ||
<meta property="og:description" | ||
content="Desarrollador Frontend con más de 10 años de experiencia. Me considero una persona organizada y responsable, y disfruto trabajar en equipo para lograr resultados ambicioso" /> | ||
<meta property="og:url" content="https://patriciobalina.vercel.app/404.html"> | ||
|
||
<!-- facebook --> | ||
<meta property="og:image" content="static/dist/images/apps/facebook.jpg" /> | ||
<meta property="og:image:width" content="1200" /> | ||
<meta property="og:image:height" content="630" /> | ||
|
||
<!-- wsp --> | ||
<meta property="og:image" content="static/dist/images/apps/wsp.jpg" /> | ||
<meta property="og:image:width" content="400" /> | ||
<meta property="og:image:height" content="400" /> | ||
<meta property="og:site_name" content="Patricio Baliña" /> | ||
|
||
<!-- twitter --> | ||
<meta name="twitter:card" content="summary_large_image" /> | ||
<meta name="twitter:title" content="Patricio Baliña | Frontend Developer" /> | ||
<meta name="twitter:image" content="static/dist/images/apps/twitter-summary-card.jpg" /> | ||
<meta name="twitter:site" content="https://twitter.com/paddybalinia" /> | ||
<meta name="twitter:creator" content="Patricio Baliña" /> | ||
<meta name="twitter:url" content="paddybalinia" /> | ||
<meta name="twitter:domain" content="https://patriciobalina.vercel.app/"> | ||
<meta name="twitter:description" | ||
content="Desarrollador Frontend con más de 10 años de experiencia. Me considero una persona organizada y responsable, y disfruto trabajar en equipo para lograr resultados ambicioso" /> | ||
|
||
<!-- application --> | ||
<meta name="mobile-web-app-capable" content="yes" /> | ||
<meta name="application-name" content="Patricio Baliña" /> | ||
<link rel="icon" sizes="192x192" href="static/dist/images/apps/favicon.jpg" /> | ||
<meta name="apple-mobile-web-app-capable" content="yes"> | ||
<meta name="apple-mobile-web-app-status-bar-style" content="#000" /> | ||
<meta name="apple-mobile-web-app-title" content="Patricio Baliña"> | ||
<link rel="apple-touch-icon" href="static/dist/images/apps/precomposed-180.png"> | ||
<meta name="msapplication-tap-highlight" content="no"> | ||
<meta name="msapplication-TileImage" content="static/dist/images/apps/precomposed-144.png"> | ||
<meta name="msapplication-TileColor" content="#000"> | ||
<meta name="theme-color" content="#000" /> | ||
|
||
<link rel="manifest" href="manifest.json"> | ||
|
||
<link rel="stylesheet" href="static/dist/css/errors.min.css"> | ||
|
||
|
||
</head> | ||
|
||
<body> | ||
<div class="error"> | ||
<h2 class="error__title"> | ||
<span class="error__span">404</span> Page not found. | ||
</h2> | ||
</div> | ||
<script> | ||
if ('serviceWorker' in navigator) { | ||
navigator.serviceWorker.register('service-worker.js') | ||
.then(registration => { | ||
console.log('Service Worker registrado con éxito:', registration); | ||
}) | ||
.catch(error => { | ||
console.log('Error al registrar el Service Worker:', error); | ||
}); | ||
} | ||
</script> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
<!DOCTYPE html> | ||
<html lang="es"> | ||
|
||
<head> | ||
<meta charset="UTF-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>500 Error | Patricio Baliña </title> | ||
|
||
<meta name="title" content="500 Error | Patricio Baliña "> | ||
|
||
<meta name="robots" content="index, follow"> | ||
|
||
<meta property="og:title" content="500 Error | Patricio Baliña " /> | ||
<meta property="og:type" content="website" /> | ||
<meta property="og:description" | ||
content="Desarrollador Frontend con más de 10 años de experiencia. Me considero una persona organizada y responsable, y disfruto trabajar en equipo para lograr resultados ambicioso" /> | ||
<meta property="og:url" content="https://patriciobalina.vercel.app/500.html"> | ||
|
||
<!-- facebook --> | ||
<meta property="og:image" content="static/dist/images/apps/facebook.jpg" /> | ||
<meta property="og:image:width" content="1200" /> | ||
<meta property="og:image:height" content="630" /> | ||
|
||
<!-- wsp --> | ||
<meta property="og:image" content="static/dist/images/apps/wsp.jpg" /> | ||
<meta property="og:image:width" content="400" /> | ||
<meta property="og:image:height" content="400" /> | ||
<meta property="og:site_name" content="Patricio Baliña" /> | ||
|
||
<!-- twitter --> | ||
<meta name="twitter:card" content="summary_large_image" /> | ||
<meta name="twitter:title" content="Patricio Baliña | Frontend Developer" /> | ||
<meta name="twitter:image" content="static/dist/images/apps/twitter-summary-card.jpg" /> | ||
<meta name="twitter:site" content="https://twitter.com/paddybalinia" /> | ||
<meta name="twitter:creator" content="Patricio Baliña" /> | ||
<meta name="twitter:url" content="paddybalinia" /> | ||
<meta name="twitter:domain" content="https://patriciobalina.vercel.app/"> | ||
<meta name="twitter:description" | ||
content="Desarrollador Frontend con más de 10 años de experiencia. Me considero una persona organizada y responsable, y disfruto trabajar en equipo para lograr resultados ambicioso" /> | ||
|
||
<!-- application --> | ||
<meta name="mobile-web-app-capable" content="yes" /> | ||
<meta name="application-name" content="Patricio Baliña" /> | ||
<link rel="icon" sizes="192x192" href="static/dist/images/apps/favicon.jpg" /> | ||
<meta name="apple-mobile-web-app-capable" content="yes"> | ||
<meta name="apple-mobile-web-app-status-bar-style" content="#000" /> | ||
<meta name="apple-mobile-web-app-title" content="Patricio Baliña"> | ||
<link rel="apple-touch-icon" href="static/dist/images/apps/precomposed-180.png"> | ||
<meta name="msapplication-tap-highlight" content="no"> | ||
<meta name="msapplication-TileImage" content="static/dist/images/apps/precomposed-144.png"> | ||
<meta name="msapplication-TileColor" content="#000"> | ||
<meta name="theme-color" content="#000" /> | ||
|
||
<link rel="manifest" href="manifest.json"> | ||
|
||
<link rel="stylesheet" href="static/dist/css/errors.min.css"> | ||
|
||
|
||
</head> | ||
|
||
<body> | ||
<div class="error"> | ||
<h2 class="error__title"> | ||
<span class="error__span">500</span> Internal server error. | ||
</h2> | ||
</div> | ||
<script> | ||
if ('serviceWorker' in navigator) { | ||
navigator.serviceWorker.register('service-worker.js') | ||
.then(registration => { | ||
console.log('Service Worker registrado con éxito:', registration); | ||
}) | ||
.catch(error => { | ||
console.log('Error al registrar el Service Worker:', error); | ||
}); | ||
} | ||
</script> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
* { | ||
box-sizing: border-box; | ||
-webkit-tap-highlight-color: rgba(0, 0, 0, 0); | ||
} | ||
|
||
html { | ||
-webkit-font-smoothing: antialiased; | ||
-moz-osx-font-smoothing: grayscale; | ||
-webkit-overflow-scrolling: touch; | ||
scroll-behavior: smooth; | ||
} | ||
|
||
body { | ||
background-color: #FFFFFF; | ||
color: black; | ||
font: 1rem/1.1 "Arial", sans-serif; | ||
margin: 0; | ||
padding-top: 0; | ||
} | ||
|
||
a { | ||
text-decoration: none; | ||
outline: 0; | ||
} | ||
|
||
h1, | ||
h2, | ||
h3, | ||
h4, | ||
h5, | ||
h6, | ||
p { | ||
margin: 0; | ||
} | ||
|
||
figure, | ||
ul, | ||
ol, | ||
li { | ||
margin: 0; | ||
padding: 0; | ||
list-style: none; | ||
} | ||
|
||
img { | ||
border: none; | ||
vertical-align: top; | ||
text-indent: -9999px; | ||
} | ||
|
||
fieldset { | ||
border: none; | ||
padding: 0; | ||
margin: 0; | ||
} | ||
|
||
button { | ||
background: transparent; | ||
border: none; | ||
cursor: pointer; | ||
outline: 0; | ||
padding: 0; | ||
} | ||
|
||
input:focus, | ||
input { | ||
font-size: 16px; | ||
} | ||
|
||
*:focus { | ||
outline: none; | ||
box-shadow: none; | ||
} | ||
|
||
.error { | ||
background: black; | ||
color: white; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
text-align: center; | ||
height: 100vh; | ||
width: 100vw; | ||
} | ||
.error__span { | ||
display: block; | ||
font-size: 108px; | ||
} | ||
.error__span:after { | ||
content: ""; | ||
display: block; | ||
width: 45px; | ||
height: 1px; | ||
background: white; | ||
margin: -2px auto 11px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
.error { | ||
background: black; | ||
color: white; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
text-align: center; | ||
height: 100vh; | ||
width: 100vw; | ||
} | ||
.error__span { | ||
display: block; | ||
font-size: 108px; | ||
} | ||
.error__span:after { | ||
content: ""; | ||
display: block; | ||
width: 45px; | ||
height: 1px; | ||
background: white; | ||
margin: -2px auto 11px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
@import 'partials/normalize.scss'; | ||
@import 'partials/errors.scss'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
@import '../vars.scss'; | ||
|
||
.error { | ||
background: black; | ||
color: white; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
text-align: center; | ||
height: 100vh; | ||
width: 100vw; | ||
|
||
&__span { | ||
display: block; | ||
font-size: 108px; | ||
|
||
&:after { | ||
content: ""; | ||
display: block; | ||
width: 45px; | ||
height: 1px; | ||
background: white; | ||
margin: -2px auto 11px; | ||
} | ||
} | ||
} |
Oops, something went wrong.