mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-23 21:14:23 +00:00
Test docs & made the default windows size to be bigger.
This commit is contained in:
parent
d9c6cec16e
commit
23295ff590
9 changed files with 441 additions and 59 deletions
|
@ -160,16 +160,12 @@ const associAppWindow = [
|
|||
id: "10",
|
||||
title: t("app.aboutNewsOrg"),
|
||||
component: AboutNewsOrgWindow,
|
||||
width: "600px",
|
||||
height: "400px",
|
||||
},
|
||||
{
|
||||
name: "tty",
|
||||
id: "11",
|
||||
title: t("app.terminal"),
|
||||
component: TTYWindow,
|
||||
width: "600px",
|
||||
height: "400px",
|
||||
black: true,
|
||||
},
|
||||
{
|
||||
|
@ -177,8 +173,6 @@ const associAppWindow = [
|
|||
id: "12",
|
||||
title: t("app.newsview"),
|
||||
component: NewsViewWindow,
|
||||
width: "600px",
|
||||
height: "400px",
|
||||
},
|
||||
];
|
||||
|
||||
|
@ -335,8 +329,8 @@ const findAndOpenWindow = (windowName: string) => {
|
|||
component: windowComponent,
|
||||
name: windowName,
|
||||
title: app.title,
|
||||
width: app.width || "400px",
|
||||
height: app.height || "300px",
|
||||
width: app.width || "600px",
|
||||
height: app.height || "400px",
|
||||
black: app.black || false,
|
||||
});
|
||||
currentOpenAppId.value++;
|
||||
|
|
|
@ -1,6 +1,15 @@
|
|||
<script setup lang="ts">
|
||||
const { data: home } = await useAsyncData(() =>
|
||||
queryCollection("content").path("/").first(),
|
||||
);
|
||||
|
||||
useSeoMeta({
|
||||
title: home.value?.title,
|
||||
description: home.value?.description,
|
||||
});
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="h-[200px]"></div>
|
||||
<h1 class="text-4xl text-center align-middle">
|
||||
Documentation is currently not available.
|
||||
</h1>
|
||||
<ContentRenderer v-if="home" :value="home" />
|
||||
<div v-else>Home not found</div>
|
||||
</template>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue