Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions website/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -101,13 +101,8 @@ pre,
.brand-mark {
width: 2.25rem;
height: 2.25rem;
display: grid;
place-items: center;
border-radius: 50%;
background: var(--ink);
color: var(--lime);
font: 700 0.68rem/1 "SFMono-Regular", Consolas, monospace;
letter-spacing: -0.08em;
display: block;
flex: 0 0 auto;
}

nav {
Expand Down
4 changes: 4 additions & 0 deletions website/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ export async function generateMetadata(): Promise<Metadata> {
},
description:
"AgentAction controls consequential AI agent actions and preserves independently verifiable evidence of what was authorized and executed.",
icons: {
icon: [{ url: "/favicon.png", type: "image/png", sizes: "64x64" }],
apple: [{ url: "/logo.png", type: "image/png", sizes: "512x512" }],
},
alternates: {
canonical: "https://agentaction.dev/",
},
Expand Down
4 changes: 1 addition & 3 deletions website/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,7 @@

<header className="site-header">
<a className="brand" href="#top" aria-label="AgentAction home">
<span className="brand-mark" aria-hidden="true">
AA
</span>
<img className="brand-mark" src="/logo.png" alt="" width="36" height="36" />

Check warning on line 100 in website/app/page.tsx

View workflow job for this annotation

GitHub Actions / validate

Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` or a custom image loader to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element
<span>AgentAction</span>
</a>
<nav aria-label="Primary navigation">
Expand Down
Binary file added website/public/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions website/public/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added website/public/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions website/public/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions website/tests/rendered-html.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,12 @@ test("removes starter-only assets and metadata", async () => {
assert.match(layout, /https:\/\/agentaction\.dev/);
assert.doesNotMatch(page, /_sites-preview|SkeletonPreview/);
assert.doesNotMatch(layout, /Starter Project|codex-preview/);
assert.match(layout, /favicon\.png/);
assert.match(layout, /logo\.png/);
assert.doesNotMatch(packageJson, /react-loading-skeleton/);
assert.doesNotMatch(hosting, /credential|token|secret/i);
await access(new URL("public/favicon.png", templateRoot));
await access(new URL("public/logo.png", templateRoot));
await assert.rejects(access(new URL("../app/_sites-preview", templateRoot)));
});

Expand All @@ -77,6 +81,7 @@ test("keeps navigation and local links accessible", async () => {
assert.match(html, /aria-labelledby="hero-title"/i);
assert.match(html, /role="table" aria-label="AgentAction trust model"/i);
assert.match(html, /<meta name="twitter:image" content="https:\/\/agentaction\.dev\/og\.png"/i);
assert.match(html, /rel="icon"[^>]+href="https:\/\/agentaction\.dev\/favicon\.png"/i);

for (const id of localLinks) {
assert.match(html, new RegExp(`id=["']${id}["']`, "i"));
Expand Down
Loading