This commit is contained in:
yuki 2025-10-16 06:01:39 -03:00
parent 2c3515eb73
commit 9550b3e13e
Signed by: yuki
GPG key ID: 0C98E6FF04EC3915
9 changed files with 97 additions and 2 deletions

View file

@ -1,3 +1,16 @@
# 404
[404]
en = "404 not found"
es = "404 no encontrado"
[go-back]
en = "go home"
es = "vuelve a casa <3"
[404-alt]
en = "by yasuhira"
es = "por yasuhira"
# homepage
[home]
en = "home"

BIN
_img/404.xcf Normal file

Binary file not shown.

View file

@ -6,7 +6,9 @@
{% endblock head %}
</head>
<body>
{% block main_page_wrapper %}
<div class="main-page-wrapper">
{% endblock main_page_wrapper %}
<div class="header-wrapper">
{% block header %}
{% include "default_header.njk" %}

View file

@ -55,6 +55,40 @@ body {
@media (min-width: general.$breakpoint) { #mobile-warning { display: none; }}
}
// 404
#fof {
border: none;
.fof {
display: flex;
justify-content: flex-start;
flex-direction: column;
width: 100%;
h1 {
margin: 10px 10px 0px 10px;
font-family: fonts.$ll;
text-align: center;
text-decoration: none;
}
img {
max-width: fit-content;
display: block;
margin: auto;
}
.fof-foot {
display: flex;
justify-content: flex-start;
flex-direction: row;
justify-content: space-between;
width: 780px;
margin: 0px auto;
p {
font-family: fonts.$ll, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
font-size: 1.2em;
}
}
}
}
.header-wrapper {
display: flex;
align-items: flex-start;

23
en/404.njk Normal file
View file

@ -0,0 +1,23 @@
---
title: 404 not found
---
{% extends "_layouts/base.njk" %}
{% block main_page_wrapper %}
<div id="fof" class="main-page-wrapper">
{% endblock main_page_wrapper %}
{% block header %}{% endblock header %}
{% block content %}
<div class="fof">
<h1>{{ "404" | i18n }}</h1>
<img src="/img/404.jpg" alt="{{ "404-alt" | i18n }}">
<div class="fof-foot">
<p><a href={{ "/" | locale_url }}><-- {{ "go-back" | i18n }}</a></p>
<p><a href="https://www.pixiv.net/en/artworks/64483268" target="_blank">moving</a> {{ "404-alt" | i18n }}</p>
</div>
</div>
{% endblock content %}
{% block footer %}{% endblock footer %}

View file

@ -6,7 +6,7 @@ layout: home
welcome to my site!! as with every website this is a heavy work in progress. however my priorities right now are:
- atom feed
- mobile support
- 404 page
- ~~404 page~~
- all pages marked as "under construction"
![rakka hairbush fail](/img/rakka-hairbrush-fail.gif)

23
es/404.njk Normal file
View file

@ -0,0 +1,23 @@
---
title: 404 not found
---
{% extends "_layouts/base.njk" %}
{% block main_page_wrapper %}
<div id="fof" class="main-page-wrapper">
{% endblock main_page_wrapper %}
{% block header %}{% endblock header %}
{% block content %}
<div class="fof">
<h1>{{ "404" | i18n }}</h1>
<img src="/img/404.jpg" alt="{{ "404-alt" | i18n }}">
<div class="fof-foot">
<p><a href={{ "/" | locale_url }}><-- {{ "go-back" | i18n }}</a></p>
<p><a href="https://www.pixiv.net/en/artworks/64483268" target="_blank">moving</a> {{ "404-alt" | i18n }}</p>
</div>
</div>
{% endblock content %}
{% block footer %}{% endblock footer %}

View file

@ -6,7 +6,7 @@ title: home
bienvenid@ a mi sitio!! aun no lo termino pero revisa lo que tenga hecho <3 pienso terminar primero:
- un feed rss (atom)
- mejor soporte para celulares
- página 404
- ~~página 404~~
- terminar todas las páginas marcadas como "en construcción"
![rakka hairbush fail](/img/rakka-hairbrush-fail.gif)

BIN
img/404.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 530 KiB