Skip to content

Commit 89af403

Browse files
committed
Update 404 page
- 404 page update
1 parent 6891e8a commit 89af403

2 files changed

Lines changed: 241 additions & 28 deletions

File tree

404.html

Lines changed: 56 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,63 @@
11
---
22
layout: default
3-
title: 404 — Page not found
4-
body_class: notfound landing
3+
title: Page not found (404)
4+
body_class: notfoundv2
55
toc: false
66
max_page_width: large
77
---
88

9-
<div class="wrap pagetitle">
10-
<h1>404</h1>
11-
<p>This duck has {{ "flown,walked,swum" | split: "," | sample }} away.</p>
12-
</div>
13-
9+
<div class="notfoundv2">
10+
<section class="notfoundv2-hero">
11+
<h1 class="notfoundv2-hero__title">Page not found (404)</h1>
12+
<p class="notfoundv2-hero__subtitle">This duck has {{ "flown,walked,swum" | split: "," | sample }} away.</p>
13+
<button type="button" class="notfoundv2-search opensearch" aria-label="Search duckdb.org">
14+
<svg class="icon"><use href="#search-md"></use></svg>
15+
<span class="notfoundv2-search__placeholder">Search duckdb.org</span>
16+
</button>
17+
</section>
1418

15-
<section class="quickaccess">
16-
<div class="wrap">
17-
<h1>Quick access</h1>
18-
<div class="quickaccesslinks flexwrap">
19-
<a class="guides" href="/docs/guides/index">
20-
<div class="icon"></div>
21-
<p>Guides</p>
22-
</a>
23-
<a class="documentation" href="/docs/">
24-
<div class="icon"></div>
25-
<p>Documentation</p>
26-
</a>
27-
<a class="development" href="/dev/building">
28-
<div class="icon"></div>
29-
<p>Development</p>
30-
</a>
31-
</div>
32-
</div>
33-
</section>
34-
35-
{% include quick_installation.html %}
19+
<section class="notfoundv2-find">
20+
<h2 class="notfoundv2-find__title">Find what you need</h2>
21+
<div class="notfoundv2-find__grid">
22+
<a class="notfoundv2-card" href="{% link install/index.html %}">
23+
<div class="notfoundv2-card__icon" data-icon="terminal-browser">
24+
<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" fill="none" viewBox="0 0 48 48"><path fill="#fffdcc" d="M34.4 42c3.36 0 5.04 0 6.324-.654a6 6 0 0 0 2.622-2.622C44 37.44 44 35.76 44 32.4V15.6c0-3.36 0-5.04-.654-6.324a6 6 0 0 0-2.622-2.622C39.44 6 37.76 6 34.4 6H13.6c-3.36 0-5.04 0-6.324.654a6 6 0 0 0-2.622 2.622C4 10.56 4 12.24 4 15.6v16.8c0 3.36 0 5.04.654 6.324a6 6 0 0 0 2.622 2.622C8.56 42 10.24 42 13.6 42z"/><path fill="#fffdcc" d="m12 35 5-5-5-5"/><path fill="#998b00" d="M4 15.6h.552zm.654-6.324.492.25zM13.6 6v.552zm-6.324.654-.25-.492zM13.6 42v.552zm-6.324-.654.25-.492zM4 32.4h-.552zm.654 6.324-.492.25zm38.692 0 .492.25zM34.4 42v-.552zm6.324-.654.25.492zm2.622-32.07-.492.25zM34.4 6v-.552zm6.324.654-.25.492zM11.61 34.61a.552.552 0 0 0 .78.78L12 35zM17 30l.39.39a.55.55 0 0 0 0-.78zm-4.61-5.39a.552.552 0 0 0-.78.78L12 25zM22 34.448a.552.552 0 0 0 0 1.104v-1.104m8 1.104a.552.552 0 0 0 0-1.104v1.104M44 18v-.552H4v1.104h40zm0-2.4h-.552v16.8h1.104V15.6zM34.4 42v-.552H13.6v1.104h20.8zM4 32.4h.552V15.6H3.448v16.8zM13.6 6v.552h20.8V5.448H13.6zM4 15.6h.552c0-1.69 0-2.923.08-3.896.079-.966.233-1.626.514-2.177l-.492-.25-.492-.252c-.373.733-.546 1.555-.63 2.59-.085 1.027-.084 2.314-.084 3.985zM13.6 6v-.552c-1.671 0-2.957 0-3.986.083-1.034.085-1.856.258-2.589.631l.251.492.25.492c.552-.28 1.212-.435 2.178-.514.973-.08 2.207-.08 3.896-.08zM4.654 9.276l.492.25a5.45 5.45 0 0 1 2.38-2.38l-.25-.492-.25-.492a6.55 6.55 0 0 0-2.864 2.863zM13.6 42v-.552c-1.69 0-2.923 0-3.896-.08-.966-.079-1.626-.233-2.177-.514l-.25.492-.252.492c.733.373 1.555.546 2.59.63 1.027.085 2.314.084 3.985.084zM4 32.4h-.552c0 1.671 0 2.958.083 3.986.085 1.034.258 1.856.631 2.589l.492-.251.492-.25c-.28-.552-.435-1.212-.514-2.178-.08-.973-.08-2.207-.08-3.896zm3.276 8.946.25-.492a5.45 5.45 0 0 1-2.38-2.38l-.492.25-.492.25a6.55 6.55 0 0 0 2.863 2.864zM44 32.4h-.552c0 1.69 0 2.923-.08 3.896-.079.966-.233 1.626-.514 2.177l.492.25.492.252c.373-.733.546-1.555.63-2.59.085-1.027.084-2.314.084-3.985zM34.4 42v.552c1.671 0 2.958 0 3.986-.083 1.034-.085 1.856-.258 2.589-.631l-.251-.492-.25-.492c-.552.28-1.212.435-2.178.514-.973.08-2.207.08-3.896.08zm8.946-3.276-.492-.25a5.45 5.45 0 0 1-2.38 2.38l.25.492.25.492a6.55 6.55 0 0 0 2.864-2.863zM44 15.6h.552c0-1.671 0-2.957-.083-3.986-.085-1.034-.258-1.856-.631-2.589l-.492.251-.492.25c.28.552.435 1.212.514 2.178.08.973.08 2.207.08 3.896zM34.4 6v.552c1.69 0 2.923 0 3.896.08.966.079 1.626.233 2.177.514l.25-.492.252-.492c-.733-.373-1.555-.546-2.59-.63-1.027-.085-2.314-.084-3.985-.084zm8.946 3.276.492-.25a6.55 6.55 0 0 0-2.863-2.864l-.251.492-.25.492a5.45 5.45 0 0 1 2.38 2.38zM12 35l.39.39 5-5L17 30l-.39-.39-5 5zm5-5 .39-.39-5-5L12 25l-.39.39 5 5zm5 5v.552h8v-1.104h-8z"/></svg>
25+
</div>
26+
<div class="notfoundv2-card__text">
27+
<p class="notfoundv2-card__title">Installation</p>
28+
<p class="notfoundv2-card__description">Get DuckDB on any platform</p>
29+
</div>
30+
</a>
31+
<a class="notfoundv2-card" href="{% link docs/current/sql/introduction.md %}">
32+
<div class="notfoundv2-card__icon" data-icon="database-02">
33+
<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" fill="none" viewBox="0 0 48 48"><path fill="#fffdcc" d="M24 16c9.941 0 18-2.686 18-6s-8.059-6-18-6S6 6.686 6 10s8.059 6 18 6M42 19.44c0 3.32-8 6-18 6s-18-2.68-18-6M42 28.88c0 3.32-8 6-18 6s-18-2.68-18-6"/><path fill="#fffdcc" d="M6 10v28c0 3.32 8 6 18 6s18-2.68 18-6V10"/><path fill="#998b00" d="M42.552 19.44a.552.552 0 0 0-1.104 0h1.104m-36 0a.552.552 0 0 0-1.104 0h1.104m36 9.44a.552.552 0 0 0-1.104 0h1.104m-36 0a.552.552 0 0 0-1.104 0h1.104M42 10h-.552c0 .587-.356 1.234-1.204 1.902-.842.663-2.094 1.285-3.69 1.817-3.188 1.062-7.626 1.729-12.554 1.729v1.104c5.013 0 9.575-.676 12.903-1.786 1.66-.553 3.044-1.225 4.024-1.997.974-.767 1.625-1.699 1.625-2.769zm-18 6v-.552c-4.928 0-9.366-.667-12.553-1.73-1.597-.531-2.849-1.153-3.69-1.816-.849-.668-1.205-1.315-1.205-1.902H5.448c0 1.07.651 2.002 1.625 2.77.98.771 2.364 1.443 4.024 1.996 3.328 1.11 7.89 1.786 12.903 1.786zM6 10h.552c0-.587.356-1.234 1.204-1.902.842-.663 2.094-1.285 3.69-1.817C14.635 5.22 19.073 4.552 24 4.552V3.448c-5.013 0-9.575.676-12.902 1.786-1.661.553-3.045 1.225-4.025 1.997C6.099 7.998 5.448 8.93 5.448 10zm18-6v.552c4.928 0 9.366.667 12.553 1.73 1.597.531 2.849 1.153 3.69 1.816.849.668 1.205 1.315 1.205 1.902h1.104c0-1.07-.651-2.002-1.625-2.77-.98-.771-2.364-1.443-4.024-1.996-3.328-1.11-7.89-1.786-12.903-1.786zm18 15.44h-.552c0 .59-.355 1.238-1.197 1.906-.837.663-2.083 1.284-3.676 1.816-3.18 1.061-7.617 1.726-12.575 1.726v1.105c5.042 0 9.604-.675 12.925-1.784 1.657-.553 3.036-1.225 4.012-1.998.97-.768 1.615-1.7 1.615-2.77zm-18 6v-.552c-4.958 0-9.396-.665-12.575-1.726-1.593-.532-2.839-1.153-3.676-1.816-.842-.668-1.197-1.315-1.197-1.906H5.448c0 1.07.645 2.002 1.615 2.771.976.773 2.355 1.445 4.012 1.998 3.32 1.109 7.883 1.784 12.925 1.784zm18 3.44h-.552c0 .59-.355 1.238-1.197 1.905-.837.663-2.083 1.285-3.676 1.816-3.18 1.062-7.617 1.727-12.575 1.727v1.104c5.042 0 9.604-.675 12.925-1.783 1.657-.554 3.036-1.225 4.012-1.998.97-.769 1.615-1.701 1.615-2.771zm-18 6v-.552c-4.958 0-9.396-.665-12.575-1.727-1.593-.531-2.839-1.152-3.676-1.816-.842-.667-1.197-1.315-1.197-1.905H5.448c0 1.07.645 2.002 1.615 2.77.976.774 2.355 1.445 4.012 1.999 3.32 1.108 7.883 1.783 12.925 1.783zM6 10h-.552v28h1.104V10zm0 28h-.552c0 1.07.645 2.002 1.615 2.77.976.774 2.355 1.445 4.012 1.999 3.32 1.108 7.883 1.783 12.925 1.783v-1.104c-4.958 0-9.396-.665-12.575-1.727-1.593-.531-2.839-1.152-3.676-1.816-.842-.667-1.197-1.315-1.197-1.905zm18 6v.552c5.042 0 9.604-.675 12.925-1.783 1.657-.554 3.036-1.225 4.012-1.998.97-.769 1.615-1.701 1.615-2.771h-1.104c0 .59-.355 1.238-1.197 1.905-.837.663-2.083 1.285-3.676 1.816-3.18 1.062-7.617 1.727-12.575 1.727zm18-6h.552V10h-1.104v28z"/></svg>
34+
</div>
35+
<div class="notfoundv2-card__text">
36+
<p class="notfoundv2-card__title">SQL Reference</p>
37+
<p class="notfoundv2-card__description">Queries, joins, aggregates</p>
38+
</div>
39+
</a>
40+
<a class="notfoundv2-card" href="{% link docs/current/extensions/overview.md %}">
41+
<div class="notfoundv2-card__icon" data-icon="puzzle-piece-02">
42+
<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" fill="none" viewBox="0 0 48 48"><path fill="#fffdcc" d="m24 4 7.2 7.2c4.8-12.6 18.2.8 5.6 5.6L44 24l-7.2 7.2c-4.8-12.6-18.2.8-5.6 5.6L24 44l-7.2-7.2C12 49.4-1.4 36 11.2 31.2L4 24l7.2-7.2c4.8 12.6 18.2-.8 5.6-5.6z"/><path fill="#998b00" d="m24 4 .39-.39a.55.55 0 0 0-.78 0zm7.2 7.2-.39.39a.552.552 0 0 0 .906-.193zm5.6 5.6-.197-.516a.552.552 0 0 0-.193.906zM44 24l.39.39a.55.55 0 0 0 0-.78zm-7.2 7.2-.516.197a.552.552 0 0 0 .906.193zm-5.6 5.6.39.39a.552.552 0 0 0-.193-.906zM24 44l-.39.39a.55.55 0 0 0 .78 0zm-7.2-7.2.39-.39a.552.552 0 0 0-.906.193zm-5.6-5.6.197.516a.552.552 0 0 0 .193-.906zM4 24l-.39-.39a.55.55 0 0 0 0 .78zm7.2-7.2.516-.197a.552.552 0 0 0-.906-.193zm5.6-5.6-.39-.39a.552.552 0 0 0 .193.906zM24 4l-.39.39 7.2 7.2.39-.39.39-.39-7.2-7.2zm7.2 7.2.516.197c1.16-3.045 2.788-4.395 4.292-4.777 1.514-.385 3.052.17 4.127 1.245s1.63 2.613 1.245 4.127c-.382 1.504-1.732 3.132-4.777 4.292l.197.516.197.516c3.255-1.24 4.955-3.087 5.454-5.052.496-1.955-.235-3.88-1.536-5.18-1.3-1.3-3.224-2.031-5.18-1.535-1.964.5-3.81 2.199-5.051 5.454zm5.6 5.6-.39.39 7.2 7.2L44 24l.39-.39-7.2-7.2zM44 24l-.39-.39-7.2 7.2.39.39.39.39 7.2-7.2zm-7.2 7.2.516-.197c-1.24-3.255-3.087-4.955-5.052-5.454-1.955-.496-3.88.235-5.18 1.536-1.3 1.3-2.031 3.224-1.535 5.18.5 1.964 2.199 3.81 5.454 5.051l.197-.516.197-.516c-3.045-1.16-4.395-2.788-4.777-4.292-.385-1.514.17-3.052 1.245-4.127s2.613-1.63 4.127-1.245c1.504.382 3.132 1.732 4.292 4.777zm-5.6 5.6-.39-.39-7.2 7.2.39.39.39.39 7.2-7.2zM24 44l.39-.39-7.2-7.2-.39.39-.39.39 7.2 7.2zm-7.2-7.2-.516-.197c-1.16 3.045-2.788 4.395-4.292 4.777-1.514.385-3.052-.17-4.127-1.245s-1.63-2.613-1.245-4.127c.382-1.504 1.732-3.132 4.777-4.292L11.2 31.2l-.197-.516c-3.255 1.24-4.955 3.087-5.454 5.052-.496 1.955.235 3.88 1.536 5.18 1.3 1.3 3.224 2.031 5.18 1.535 1.964-.5 3.81-2.199 5.051-5.454zm-5.6-5.6.39-.39-7.2-7.2L4 24l-.39.39 7.2 7.2zM4 24l.39.39 7.2-7.2-.39-.39-.39-.39-7.2 7.2zm7.2-7.2-.516.197c1.24 3.255 3.087 4.955 5.052 5.454 1.955.496 3.88-.235 5.18-1.536 1.3-1.3 2.031-3.224 1.535-5.18-.5-1.964-2.199-3.81-5.454-5.051l-.197.516-.197.516c3.045 1.16 4.395 2.788 4.778 4.292.384 1.514-.172 3.052-1.246 4.127s-2.613 1.63-4.127 1.245c-1.504-.382-3.132-1.732-4.292-4.777zm5.6-5.6.39.39 7.2-7.2L24 4l-.39-.39-7.2 7.2z"/></svg>
43+
</div>
44+
<div class="notfoundv2-card__text">
45+
<p class="notfoundv2-card__title">Extensions</p>
46+
<p class="notfoundv2-card__description">httpfs, JSON, Parquet</p>
47+
</div>
48+
</a>
49+
<a class="notfoundv2-card" href="{% link docs/current/data/overview.md %}">
50+
<div class="notfoundv2-card__icon" data-icon="file-plus-03">
51+
<svg width="48" height="48" viewBox="0 0 48 48" fill="none" xmlns="http://www.w3.org/2000/svg">
52+
<path d="M8 13.6C8 10.2397 8 8.55953 8.65396 7.27606C9.2292 6.14708 10.1471 5.2292 11.2761 4.65396C12.5595 4 14.2397 4 17.6 4H28L40 16V34.4C40 37.7603 40 39.4405 39.346 40.7239C38.7708 41.8529 37.8529 42.7708 36.7239 43.346C35.4405 44 33.7603 44 30.4 44H17.6C14.2397 44 12.5595 44 11.2761 43.346C10.1471 42.7708 9.2292 41.8529 8.65396 40.7239C8 39.4405 8 37.7603 8 34.4V13.6Z" fill="#FFFDCC"/>
53+
<path d="M28 4.53906V12.8001C28 13.9202 28 14.4803 28.218 14.9081C28.4097 15.2844 28.7157 15.5904 29.092 15.7822C29.5198 16.0001 30.0799 16.0001 31.2 16.0001H39.4611M24 36V24M18 30H30M28 4H17.6C14.2397 4 12.5595 4 11.2761 4.65396C10.1471 5.2292 9.2292 6.14708 8.65396 7.27606C8 8.55953 8 10.2397 8 13.6V34.4C8 37.7603 8 39.4405 8.65396 40.7239C9.2292 41.8529 10.1471 42.7708 11.2761 43.346C12.5595 44 14.2397 44 17.6 44H30.4C33.7603 44 35.4405 44 36.7239 43.346C37.8529 42.7708 38.7708 41.8529 39.346 40.7239C40 39.4405 40 37.7603 40 34.4V16L28 4Z" stroke="#998B00" stroke-width="1.10426" stroke-miterlimit="10" stroke-linecap="round"/>
54+
</svg>
55+
</div>
56+
<div class="notfoundv2-card__text">
57+
<p class="notfoundv2-card__title">Importing Data</p>
58+
<p class="notfoundv2-card__description">CSV, JSON, Parquet, S3</p>
59+
</div>
60+
</a>
61+
</div>
62+
</section>
63+
</div>

_sass/pages/_page404.scss

Lines changed: 185 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,4 +100,189 @@ body.notfound{
100100
body.notfound.landing section{
101101
padding: 50px 0;
102102
}
103+
}
104+
105+
/** REDESIGNED 404 PAGE (notfoundv2) **/
106+
107+
body.notfoundv2{
108+
background: var(--main-body-background-color, #fafafa);
109+
110+
.notfoundv2{
111+
display: flex;
112+
flex-direction: column;
113+
}
114+
115+
.notfoundv2-hero{
116+
display: flex;
117+
flex-direction: column;
118+
align-items: flex-start;
119+
gap: 30px;
120+
padding: 65px 0;
121+
}
122+
123+
.notfoundv2-hero__title{
124+
font-size: 36px;
125+
font-weight: 600;
126+
line-height: 1.2;
127+
letter-spacing: -0.045px;
128+
color: var(--main-text-primary-color, #0d0d0d);
129+
margin: 0;
130+
}
131+
132+
.notfoundv2-hero__subtitle{
133+
font-size: 16px;
134+
font-weight: 400;
135+
line-height: 1.5;
136+
letter-spacing: 0.04px;
137+
color: var(--main-text-primary-color, #0d0d0d);
138+
margin: 0;
139+
}
140+
141+
.notfoundv2-search{
142+
display: inline-flex;
143+
align-items: center;
144+
gap: 12px;
145+
width: 100%;
146+
max-width: 570px;
147+
height: 46px;
148+
padding: 13px 10px 13px 20px;
149+
background: var(--main-blogpost-background-color, #ffffff);
150+
border: 1px solid var(--main-codebox-border-color, #0d0d0d14);
151+
border-radius: 60px;
152+
cursor: pointer;
153+
font: inherit;
154+
text-align: left;
155+
transition: border-color .2s ease, box-shadow .2s ease;
156+
justify-content: flex-start;
157+
158+
svg.icon{
159+
width: 14px;
160+
height: 14px;
161+
flex-shrink: 0;
162+
color: var(--main-text-secondary-color, #666);
163+
}
164+
165+
&:hover{
166+
border-color: var(--interactive-installation-box-border, rgba(204, 189, 0, 0.6));
167+
}
168+
}
169+
170+
.notfoundv2-search__placeholder{
171+
font-size: 14px;
172+
font-weight: 400;
173+
letter-spacing: -0.14px;
174+
color: var(--main-text-secondary-color, #666);
175+
}
176+
177+
.notfoundv2-find{
178+
display: flex;
179+
flex-direction: column;
180+
gap: 50px;
181+
padding: 55px 0;
182+
}
183+
184+
.notfoundv2-find__title{
185+
font-size: 32px;
186+
font-weight: 600;
187+
line-height: 1.2;
188+
color: var(--main-text-primary-color, #0d0d0d);
189+
margin: 0;
190+
}
191+
192+
.notfoundv2-find__grid{
193+
display: grid;
194+
grid-template-columns: repeat(2, minmax(0, 1fr));
195+
gap: 20px;
196+
max-width: 770px;
197+
}
198+
199+
.notfoundv2-card{
200+
display: flex;
201+
align-items: center;
202+
gap: 16px;
203+
text-decoration: none;
204+
color: inherit;
205+
206+
&:hover{
207+
.notfoundv2-card__icon{
208+
transform: translateY(-2px);
209+
box-shadow: 0 6px 16px rgba(204, 189, 0, 0.25);
210+
}
211+
}
212+
}
213+
214+
.notfoundv2-card__icon{
215+
flex-shrink: 0;
216+
width: 75px;
217+
height: 75px;
218+
border: 1px solid var(--interactive-installation-box-border, rgba(204, 189, 0, 0.6));
219+
border-radius: 15px;
220+
background: linear-gradient(180deg, #fdef00 0%, #fffaa3 94%);
221+
display: flex;
222+
align-items: center;
223+
justify-content: center;
224+
overflow: hidden;
225+
transition: transform .2s ease, box-shadow .2s ease;
226+
}
227+
228+
.notfoundv2-card__text{
229+
display: flex;
230+
flex-direction: column;
231+
gap: 8px;
232+
padding: 0 3px;
233+
min-width: 0;
234+
}
235+
236+
.notfoundv2-card__title{
237+
font-size: 22px;
238+
font-weight: 600;
239+
line-height: 1.2;
240+
letter-spacing: 0.022px;
241+
color: var(--main-text-primary-color, #0d0d0d);
242+
margin: 0;
243+
}
244+
245+
.notfoundv2-card__description{
246+
font-size: 14px;
247+
font-weight: 400;
248+
line-height: 1.4;
249+
letter-spacing: 0.07px;
250+
color: var(--main-text-primary-color, #0d0d0d);
251+
margin: 0;
252+
}
253+
}
254+
255+
@media only screen and (max-width: 900px) {
256+
body.notfoundv2{
257+
.notfoundv2-find__grid{
258+
grid-template-columns: 1fr;
259+
}
260+
}
261+
}
262+
263+
@media only screen and (max-width: 650px) {
264+
body.notfoundv2{
265+
.notfoundv2-hero{
266+
padding: 40px 0;
267+
gap: 20px;
268+
}
269+
.notfoundv2-hero__title{
270+
font-size: 30px;
271+
}
272+
.notfoundv2-find{
273+
padding: 30px 0;
274+
gap: 30px;
275+
}
276+
.notfoundv2-find__title{
277+
font-size: 26px;
278+
}
279+
.notfoundv2-card__icon{
280+
width: 60px;
281+
height: 60px;
282+
border-radius: 12px;
283+
}
284+
.notfoundv2-card__title{
285+
font-size: 19px;
286+
}
287+
}
103288
}

0 commit comments

Comments
 (0)