Skip to content

Commit

Permalink
feature: update page properties
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamscached committed Mar 29, 2024
1 parent 93f1b42 commit c0e6a87
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
11 changes: 9 additions & 2 deletions src/routes/+page.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
export function load() {
// Note: description is set by default in PageDescription component
return { title: "Home" };
return {
meta: {
title: "Home",
description: "🧰 A collection of useful tools for Monika After Story you can use online!"
},
ogp: {
title: "Monika After Story Web Utils"
}
};
}
6 changes: 4 additions & 2 deletions src/routes/validator/+page.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
export function load() {
return {
title: "JSON Validator",
description: "🔧 An online tool to quickly check your spritepack JSON files"
meta: {
title: "JSON Validator",
description: "🔧 An online tool to quickly check your spritepack JSON files"
}
};
}

0 comments on commit c0e6a87

Please sign in to comment.