Compare commits

...

3 commits

Author SHA1 Message Date
76d9f46fa5 Dummy hook
All checks were successful
ci/woodpecker/push/build Pipeline was successful
2023-12-22 12:08:58 +01:00
b1d2481e66 visualize return value 2023-12-22 12:02:00 +01:00
4fb60c5892 Mutable header title 2023-12-22 12:01:23 +01:00
3 changed files with 8 additions and 2 deletions

View file

@ -0,0 +1,4 @@
export async function handle({ event, resolve }) {
const response = await resolve(event);
return response;
}

View file

@ -1,7 +1,7 @@
<script lang="ts">
import '../../css/header.css';
export const title: string = 'Naturalistici';
export let title: string = 'Naturalistici';
const goBack = () => {
history.back();

View file

@ -11,8 +11,10 @@ export async function load({ params }) {
error(404);
}
return {
const toReturn = {
category: category.name_it,
routes: await getRouteByCategory(categoryId),
}
return toReturn;
}