Skip to content

armgit / alook

Public Imported from GitHub
0

Multi-Agent Collaboration for Team and Friends

feat: add PWA manifest, preconnect hints, FAQ schema, and accessibility fix (#29)

Generf2c940387568
diff --git a/src/web/public/manifest.json b/src/web/public/manifest.json
new file mode 100644
index 000000000..7a9e22e21
--- /dev/null
+++ b/src/web/public/manifest.json
@@ -0,0 +1,16 @@
+{
+ "name": "Alook — Always-on AI Agents",
+ "short_name": "Alook",
+ "description": "Your AI agents, always on. Give them an email, let them work for you around the clock.",
+ "start_url": "/",
+ "display": "standalone",
+ "background_color": "#f5f0e8",
+ "theme_color": "#3d3428",
+ "icons": [
+ {
+ "src": "/alook.svg",
+ "sizes": "any",
+ "type": "image/svg+xml"
+ }
+ ]
+}
diff --git a/src/web/src/app/layout.tsx b/src/web/src/app/layout.tsx
index aa0f5140f..6f7c28daa 100644
--- a/src/web/src/app/layout.tsx
+++ b/src/web/src/app/layout.tsx
@@ -113,26 +113,43 @@ export default function RootLayout({
>
<head>
<ThemeScript />
+ <link rel="manifest" href="/manifest.json" />
+ <link rel="preconnect" href="https://fonts.googleapis.com" />
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossOrigin="anonymous" />
</head>
<body className="min-h-full flex flex-col">
<script
type="application/ld+json"
dangerouslySetInnerHTML={{
- __html: JSON.stringify({
- "@context": "https://schema.org",
- "@type": "WebApplication",
- name: "Alook",
- url: SITE_URL,
- description:
- "Your AI agents, always on. Give them an email, let them work for you around the clock.",
- applicationCategory: "DeveloperApplication",
- operatingSystem: "All",
- offers: {
- "@type": "Offer",
- price: "0",
- priceCurrency: "USD",
+ __html: JSON.stringify([
+ {
+ "@context": "https://schema.org",
+ "@type": "WebApplication",
+ name: "Alook",
+ url: SITE_URL,
+ description:
+ "Your AI agents, always on. Give them an email, let them work for you around the clock.",
+ applicationCategory: "DeveloperApplication",
+ operatingSystem: "All",
+ offers: {
+ "@type": "Offer",
+ price: "0",
+ priceCurrency: "USD",
+ },
},
- }),
+ {
+ "@context": "https://schema.org",
+ "@type": "Organization",
+ name: "Alook",
+ url: SITE_URL,
+ logo: `${SITE_URL}/alook.svg`,
+ contactPoint: {
+ "@type": "ContactPoint",
+ email: "[email protected]",
+ contactType: "customer support",
+ },
+ },
+ ]),
}}
/>
<ThemeProvider attribute="class" defaultTheme="system" enableSystem>
diff --git a/src/web/src/app/not-found.tsx b/src/web/src/app/not-found.tsx
index 21fc0515a..bddf59b7c 100644
--- a/src/web/src/app/not-found.tsx
+++ b/src/web/src/app/not-found.tsx
@@ -1,8 +1,13 @@
-"use client";
-
+import type { Metadata } from "next";
import Link from "next/link";
import { TypewriterVisual } from "@/components/typewriter-visual";
+export const metadata: Metadata = {
+ title: "Page Not Found",
+ description: "The page you're looking for doesn't exist or has been moved.",
+ robots: { index: false, follow: true },
+};
+
export default function NotFound() {
return (
<div
diff --git a/src/web/src/app/page.tsx b/src/web/src/app/page.tsx
index 7eab30034..693dc3898 100644
--- a/src/web/src/app/page.tsx
+++ b/src/web/src/app/page.tsx
@@ -10,8 +10,47 @@ export const metadata: Metadata = {
alternates: { canonical: "https://alook.ai" },
};
+const faqJsonLd = {
+ "@context": "https://schema.org",
+ "@type": "FAQPage",
+ mainEntity: [
+ {
+ "@type": "Question",
+ name: "What is Alook?",
+ acceptedAnswer: {
+ "@type": "Answer",
+ text: "Alook is a platform that gives your AI agents an email address and keeps them always on. They can receive tasks via email, process them autonomously, and respond — around the clock.",
+ },
+ },
+ {
+ "@type": "Question",
+ name: "How do I communicate with my AI agent?",
+ acceptedAnswer: {
+ "@type": "Answer",
+ text: "Each agent gets its own @alook.ai email address. You can send instructions via email, and the agent will process them and reply. You can also interact through the Alook dashboard.",
+ },
+ },
+ {
+ "@type": "Question",
+ name: "Is Alook free to use?",
+ acceptedAnswer: {
+ "@type": "Answer",
+ text: "Yes, Alook offers a free tier to get started with always-on AI agents.",
+ },
+ },
+ ],
+};
+
export default async function Page() {
const session = await getSession();
if (session) return <WorkspaceRedirect />;
- return <HomePage isLoggedIn={false} />;
+ return (
+ <>
+ <script
+ type="application/ld+json"
+ dangerouslySetInnerHTML={{ __html: JSON.stringify(faqJsonLd) }}
+ />
+ <HomePage isLoggedIn={false} />
+ </>
+ );
}
diff --git a/src/web/src/components/typewriter-visual.tsx b/src/web/src/components/typewriter-visual.tsx
index f25c76d74..777b348d5 100644
--- a/src/web/src/components/typewriter-visual.tsx
+++ b/src/web/src/components/typewriter-visual.tsx
@@ -497,6 +497,7 @@ export function TypewriterVisual({
<div
className="tw-email-body"
+ aria-hidden
style={{
fontFamily: "var(--font-crt)",
color: "oklch(0.45 0.01 55)",