Add NotFound.vue #48 #50

Merged
jakob.scheid merged 22 commits from feature/not-found-page into main 2026-05-14 16:21:30 +02:00
Showing only changes of commit 78679fe03b - Show all commits
+15
View File
@@ -1,3 +1,18 @@
<script setup>
import Searchbar from '../features/search/components/Searchbar.vue';
jakob.scheid marked this conversation as resolved Outdated
Outdated
Review

Do not use a container .search-content in a not found page.

Do not use a container *.search-content* in a not found page.
jakob.scheid marked this conversation as resolved Outdated
Outdated
Review

The not found page should be minimal, so omit the header. The navigation bar already contains Seekra.

The not found page should be minimal, so omit the header. The navigation bar already contains *Seekra*.
import { ref } from 'vue';
import { useRouter } from 'vue-router';
jakob.scheid marked this conversation as resolved Outdated
Outdated
Review

No HTTP status code. That is confusing for people who are not familiar with technology.

No HTTP status code. That is confusing for people who are not familiar with technology.
jakob.scheid marked this conversation as resolved Outdated
Outdated
Review

Do not write ERROR uppercase.

Do not write *ERROR* uppercase.
const router = useRouter();
const searchQuery = ref('');
const submitSearch = function () {
};
</script>
jakob.scheid marked this conversation as resolved Outdated
Outdated
Review

Copying styles is a very bad idea. Nothing should be redundant.

Copying styles is a very bad idea. Nothing should be redundant.
<template>
<header class="global-header">
<h1>Seekra</h1>