|
@@ -2,11 +2,17 @@ import type { PageProps } from "fresh";
|
|
|
import { define } from "utils/state.ts";
|
|
import { define } from "utils/state.ts";
|
|
|
import Modal from "../islands/Modal.tsx";
|
|
import Modal from "../islands/Modal.tsx";
|
|
|
import Loading from "../islands/Loading.tsx";
|
|
import Loading from "../islands/Loading.tsx";
|
|
|
|
|
+import StatusIndicator from "../islands/StatusIndicator.tsx";
|
|
|
|
|
|
|
|
export default define.page(({ Component }: PageProps) => {
|
|
export default define.page(({ Component }: PageProps) => {
|
|
|
return (
|
|
return (
|
|
|
<html>
|
|
<html>
|
|
|
<head>
|
|
<head>
|
|
|
|
|
+ <meta name="theme-color" content="#1e293b" />
|
|
|
|
|
+ <meta name="apple-mobile-web-app-capable" content="yes" />
|
|
|
|
|
+ <meta name="apple-mobile-web-app-status-bar-style" content="default" />
|
|
|
|
|
+ <meta name="apple-mobile-web-app-title" content="Postdown" />
|
|
|
|
|
+ <link rel="apple-touch-icon" href="/icon-192.png" />
|
|
|
<link
|
|
<link
|
|
|
href="https://unpkg.com/bootstrap-icons@1.10.4/font/bootstrap-icons.css"
|
|
href="https://unpkg.com/bootstrap-icons@1.10.4/font/bootstrap-icons.css"
|
|
|
rel="stylesheet"
|
|
rel="stylesheet"
|
|
@@ -19,6 +25,7 @@ export default define.page(({ Component }: PageProps) => {
|
|
|
/>
|
|
/>
|
|
|
</head>
|
|
</head>
|
|
|
<body className="bg-white dark:bg-gray-900 text-gray-800 dark:text-gray-100 transition-colors">
|
|
<body className="bg-white dark:bg-gray-900 text-gray-800 dark:text-gray-100 transition-colors">
|
|
|
|
|
+ <StatusIndicator />
|
|
|
<Modal />
|
|
<Modal />
|
|
|
<Loading />
|
|
<Loading />
|
|
|
<Component />
|
|
<Component />
|