Skip to content

Commit

Permalink
Página 404 personalizada
Browse files Browse the repository at this point in the history
  • Loading branch information
ShayBRJ committed Oct 1, 2023
1 parent 64cb205 commit eb61a15
Show file tree
Hide file tree
Showing 11 changed files with 83 additions and 37 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
31 changes: 13 additions & 18 deletions 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,18 @@
layout: default
---

<style type="text/css" media="screen">
.container {
margin: 10px auto;
max-width: 600px;
text-align: center;
}
h1 {
margin: 30px 0;
font-size: 4em;
line-height: 1;
letter-spacing: -1px;
}
</style>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>404</title>
<link rel="stylesheet" href="/css/404.css">
</head>

<div class="container">
<h1>404</h1>

<p><strong>Page not found :(</strong></p>
<p>The requested page could not be found.</p>
</div>
<img src="/img/404.png" alt="404" />
<h1>Los apuntes que buscas no están disponibles</h1>
<div class="botón">
<button onclick="window.history.back()">Volver atrás</button>
</div>

31 changes: 13 additions & 18 deletions _site/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,26 +36,21 @@
</header>
<main class="page-content" aria-label="Content">
<div class="wrapper">
<style type="text/css" media="screen">
.container {
margin: 10px auto;
max-width: 600px;
text-align: center;
}
h1 {
margin: 30px 0;
font-size: 4em;
line-height: 1;
letter-spacing: -1px;
}
</style>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>404</title>
<link rel="stylesheet" href="/css/404.css">
</head>

<div class="container">
<h1>404</h1>

<p><strong>Page not found :(</strong></p>
<p>The requested page could not be found.</p>
</div>
<img src="/img/404.png" alt="404" />
<h1>Los apuntes que buscas no están disponibles</h1>
<div class="botón">
<button onclick="window.history.back()">Volver atrás</button>
</div>


</div>
</main><footer class="site-footer h-card">
Expand Down
28 changes: 28 additions & 0 deletions _site/css/404.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
body{
font-family: 'Roboto', sans-serif;
}
img{
width: 70%;
}
.container{
display: flex;
flex-direction: column;
gap: 30px;
align-items: center;
}
h1{
font-size: 20px;
font-weight: 400;
margin: 0;
border: #1a73e8;
align-items: center;
}
button{
background-color: #1a73e8;
color: white;
border: none;
border-radius: 10px;
padding: 10px 20px;
font-size: 16px;
cursor: pointer;
}
2 changes: 1 addition & 1 deletion _site/feed.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.8.6">Jekyll</generator><link href="http://localhost:4000/feed.xml" rel="self" type="application/atom+xml" /><link href="http://localhost:4000/" rel="alternate" type="text/html" /><updated>2023-09-24T16:41:03+00:00</updated><id>http://localhost:4000/feed.xml</id><title type="html">DMSI</title><subtitle>Este sitio web consiste en explicar el tema 1 &quot;Introducción al Desarrollo de Sistemas de Información&quot; de la asignatura de Desarrollo y Mantenimiento de Sistemas de Información.</subtitle><entry><title type="html">Disciplinas relacionadas con los Sistemas de Información</title><link href="http://localhost:4000/posts/disciplinas-relacionadas" rel="alternate" type="text/html" title="Disciplinas relacionadas con los Sistemas de Información" /><published>2023-09-24T12:13:26+00:00</published><updated>2023-09-24T12:13:26+00:00</updated><id>http://localhost:4000/posts/disciplinas-relacionadas</id><content type="html" xml:base="http://localhost:4000/posts/disciplinas-relacionadas"><![CDATA[<h1 id="gestión-de-proyectos">Gestión de Proyectos:</h1>
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.8.6">Jekyll</generator><link href="http://localhost:4000/feed.xml" rel="self" type="application/atom+xml" /><link href="http://localhost:4000/" rel="alternate" type="text/html" /><updated>2023-10-01T01:01:31+00:00</updated><id>http://localhost:4000/feed.xml</id><title type="html">DMSI</title><subtitle>Este sitio web consiste en explicar el tema 1 &quot;Introducción al Desarrollo de Sistemas de Información&quot; de la asignatura de Desarrollo y Mantenimiento de Sistemas de Información.</subtitle><entry><title type="html">Disciplinas relacionadas con los Sistemas de Información</title><link href="http://localhost:4000/posts/disciplinas-relacionadas" rel="alternate" type="text/html" title="Disciplinas relacionadas con los Sistemas de Información" /><published>2023-09-24T12:13:26+00:00</published><updated>2023-09-24T12:13:26+00:00</updated><id>http://localhost:4000/posts/disciplinas-relacionadas</id><content type="html" xml:base="http://localhost:4000/posts/disciplinas-relacionadas"><![CDATA[<h1 id="gestión-de-proyectos">Gestión de Proyectos:</h1>

<ul>
<li>En un proyecto de desarrollo de sistemas, la experiencia técnica por sí sola no es suficiente; también se requiere una gestión de proyectos eficaz.</li>
Expand Down
Binary file added _site/img/404.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
28 changes: 28 additions & 0 deletions css/404.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
body{
font-family: 'Roboto', sans-serif;
}
img{
width: 70%;
}
.container{
display: flex;
flex-direction: column;
gap: 30px;
align-items: center;
}
h1{
font-size: 20px;
font-weight: 400;
margin: 0;
border: #1a73e8;
align-items: center;
}
button{
background-color: #1a73e8;
color: white;
border: none;
border-radius: 10px;
padding: 10px 20px;
font-size: 16px;
cursor: pointer;
}
Binary file added img/404.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit eb61a15

Please sign in to comment.