mirror of
https://github.com/godotengine/godot-website.git
synced 2025-12-31 09:48:43 +03:00
This PR replaces the current CMS website with a static version of it built using Jekyll. - Everything should be working 1 to 1 with the same permalinks except for the `/news` page (not articles) which was renamed as `/blog` (old links will redirect to new ones). - The showcase entries on the home page now redirect to their showcase page in our site so that the user can choose which store front or page to visit next. - I also changed the first link from the nav bar to go to the showcase page since the features one is still pretty outdated. Co-authored-by: Yuri Sizov <yuris@humnom.net>
103 lines
2.3 KiB
HTML
103 lines
2.3 KiB
HTML
---
|
|
layout: default
|
|
permalink: /404.html
|
|
title: 404 - Page not found
|
|
description: "The requested resource is not available on the server."
|
|
---
|
|
|
|
<style>
|
|
body {
|
|
background-color: var(--base-color);
|
|
color: var(--base-color-text);
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
|
|
}
|
|
|
|
main {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 30px;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
main {
|
|
height: 100vh;
|
|
}
|
|
}
|
|
|
|
.message {
|
|
text-align: center;
|
|
}
|
|
|
|
.error {
|
|
max-width: 900px;
|
|
}
|
|
|
|
.error-logo {
|
|
height: 138px;
|
|
}
|
|
|
|
.alternatives {
|
|
display: grid;
|
|
/* grid-template-columns: 1fr 1fr; */
|
|
gap: 30px;
|
|
}
|
|
|
|
.alternatives div {
|
|
background-color: var(--card-background-color);
|
|
padding: 20px;
|
|
box-sizing: border-box;
|
|
box-shadow: 0 5px 30px -9px #1c1c1c9e;
|
|
border-radius: 16px;
|
|
}
|
|
|
|
.alternatives .help {
|
|
/* use two columns */
|
|
grid-column: span 2;
|
|
}
|
|
|
|
.search-bar {
|
|
border: 1px solid rgba(0, 0, 0, 0.2);
|
|
box-shadow: none;
|
|
}
|
|
|
|
.search-bar input {
|
|
background-color: var(--base-color);
|
|
}
|
|
</style>
|
|
|
|
|
|
<main>
|
|
<div class="error">
|
|
<div class="message">
|
|
<img class="error-logo" src="/assets/error_logo.svg" alt="Godot Engine Error">
|
|
<h1>404 - Page not found</h1>
|
|
</div>
|
|
|
|
<div class="alternatives">
|
|
<div>
|
|
<p>You can try searching:</p>
|
|
<form class="search-bar" method="get" action="https://duckduckgo.com/">
|
|
<input type="hidden" name="sites" value="godotengine.org/" />
|
|
<input type="text" name="q" maxlength="300" placeholder="Search articles" />
|
|
<button class="btn search-bar-btn" type="submit">
|
|
<img width="24" height="24" src="/assets/icons/search.svg" alt="search" title="search" />
|
|
</button>
|
|
</form>
|
|
|
|
<p>Or visit:</p>
|
|
<ul>
|
|
<li><a href="/">Home</a></li>
|
|
<li><a href="/download">Download</a></li>
|
|
<li><a href="https://docs.godotengine.org/en/stable/">Documentation</a></li>
|
|
<li><a href="/community">Community</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<div class="help" style="opacity: 0.8;">
|
|
<p>To report an issue with the website, please open an <a
|
|
href="https://github.com/godotengine/godot-website/">issue on GitHub</a>.</p>
|
|
</div>
|
|
</div> |