Skip to content

Commit

Permalink
Add home page category names
Browse files Browse the repository at this point in the history
  • Loading branch information
gherkster committed May 7, 2024
1 parent c5b5b75 commit 96a627e
Showing 1 changed file with 4 additions and 23 deletions.
27 changes: 4 additions & 23 deletions website/pages/index.vue
Original file line number Diff line number Diff line change
@@ -1,28 +1,9 @@
<template>
<div>
<h1>{{ global.title }}</h1>
<h2>{{ global.description }}</h2>
<h2>Latest Recipes</h2>
<h2>Personal Favourites</h2>
<h2>Fast (and Fancy)</h2>
<h2>World Cuisines</h2>
</div>
</template>

<script setup lang="ts">
//const { $directus, $readItems } = useNuxtApp();
// const response = await useAsyncData("global", () => {
// return $directus.request(
// $readItems("global"));
// });
// const globalData = response.data;
//
// if (!globalData.value) {
// throw createError({
// statusCode: 404,
// statusMessage: "Page not found",
// });
// }
// const global = ref(globalData.value!);
const global = {
title: "",
description: "howdy",
};
</script>

0 comments on commit 96a627e

Please sign in to comment.