Skip to content

armgit / alook

Public Imported from GitHub
0

Multi-Agent Collaboration for Team and Friends

fix(web): keep X banner copy clear of avatar (#539)

Gustavo Yec7396559e72d
diff --git a/assets/readme/banner.png b/assets/readme/banner.png
index 6bc3f6814..f085e3856 100644
Binary files a/assets/readme/banner.png and b/assets/readme/banner.png differ
diff --git a/assets/social-preview/readme-banner.html b/assets/social-preview/readme-banner.html
index 422a426f9..d4452cc02 100644
--- a/assets/social-preview/readme-banner.html
+++ b/assets/social-preview/readme-banner.html
@@ -46,7 +46,7 @@ body {
display: flex;
align-items: center;
gap: 10px;
- margin-bottom: 24px;
+ margin-bottom: 28px;
}
.brand img {
@@ -62,29 +62,21 @@ body {
}
.title {
- font-size: 40px;
- font-weight: 600;
- color: #1b271f;
- line-height: 1.15;
-}
-
-.specs {
- margin-top: 28px;
- display: flex;
- gap: 10px;
+ color: #356f95;
+ font-family: 'VT323', monospace;
+ font-size: 68px;
+ font-weight: 400;
+ letter-spacing: -0.035em;
+ line-height: 0.98;
}
-.spec {
- font-size: 12px;
- font-weight: 600;
- color: #47633b;
- letter-spacing: 0.08em;
- text-transform: uppercase;
- font-family: 'DM Sans', sans-serif;
- padding: 6px 14px;
- background: rgb(27 39 31 / 8%);
- border-radius: 20px;
- border: 1px solid rgb(27 39 31 / 12%);
+.tagline {
+ color: #1b271f;
+ font-family: 'VT323', monospace;
+ font-size: 68px;
+ font-weight: 400;
+ letter-spacing: -0.035em;
+ line-height: 0.98;
}
.right {
@@ -329,12 +321,8 @@ body {
<img src="../alook.svg" alt="" />
<span class="brand-name">Alook</span>
</div>
- <div class="title">Share your agents<br>with people you trust.</div>
- <div class="specs">
- <span class="spec">Collaboration</span>
- <span class="spec">Always-On</span>
- <span class="spec">Self-Learning</span>
- </div>
+ <div class="title">Share your agents</div>
+ <div class="tagline">with people you trust.</div>
</div>
<div class="right">
diff --git a/assets/social-preview/twitter-banner.html b/assets/social-preview/twitter-banner.html
index 6f5791431..762dc5133 100644
--- a/assets/social-preview/twitter-banner.html
+++ b/assets/social-preview/twitter-banner.html
@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<style>
-@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;600&family=VT323&display=swap');
+@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@700&family=DM+Sans:wght@400;600&family=VT323&display=swap');
* { margin: 0; padding: 0; box-sizing: border-box; }
@@ -12,7 +12,7 @@ body {
height: 500px;
overflow: hidden;
font-family: 'DM Sans', sans-serif;
- background: linear-gradient(135deg, #f5f0e8 0%, #ddd5c8 100%);
+ background: transparent;
}
.banner {
@@ -20,46 +20,66 @@ body {
height: 500px;
display: flex;
align-items: center;
+ padding: 54px 90px;
+ background: #f4f9e9;
+ overflow: hidden;
+ position: relative;
}
-/* Left side — avoid Twitter avatar at bottom-left */
+/* Keep all copy above the bottom-left X profile-avatar overlay. */
.left {
flex: 1;
- padding-left: 200px;
- padding-right: 20px;
- padding-bottom: 80px;
display: flex;
flex-direction: column;
- justify-content: center;
+ justify-content: flex-start;
+ align-self: stretch;
+ padding-top: 24px;
+ padding-right: 40px;
+}
+
+.brand {
+ display: flex;
+ align-items: center;
+ gap: 10px;
+ margin-bottom: 28px;
+}
+
+.brand img {
+ width: 64px;
+ height: 64px;
}
-.logo {
+.brand-name {
+ font-family: 'Caveat', cursive;
font-size: 36px;
- font-weight: 600;
- color: #3d3428;
- margin-bottom: 20px;
+ font-weight: 700;
+ color: #1b271f;
}
.title {
- font-size: 48px;
- font-weight: 600;
- color: #2a231a;
- line-height: 1.15;
+ color: #356f95;
+ font-family: 'VT323', monospace;
+ font-size: 80px;
+ font-weight: 400;
+ letter-spacing: -0.035em;
+ line-height: 0.98;
}
.tagline {
- font-size: 20px;
- color: #8a7e6e;
- margin-top: 14px;
+ color: #1b271f;
+ font-family: 'VT323', monospace;
+ font-size: 80px;
+ font-weight: 400;
+ letter-spacing: -0.035em;
+ line-height: 0.98;
}
/* Right side — typewriter container */
.right {
- width: 560px;
+ width: 500px;
display: flex;
align-items: center;
justify-content: center;
- padding-right: 40px;
}
/* ─── 3D Typewriter (from homepage) ─── */
@@ -71,8 +91,8 @@ body {
--tw-body-top: oklch(0.28 0.01 60);
--tw-chrome: oklch(0.72 0.01 75);
--tw-chrome-hi: oklch(0.82 0.005 80);
- --tw-paper: oklch(0.97 0.008 80);
- --tw-blob: oklch(0.88 0.025 82);
+ --tw-paper: #fbfdf4;
+ --tw-blob: #ddedb7;
--tw-roller: oklch(0.15 0.01 55);
}
@@ -84,8 +104,6 @@ body {
justify-content: flex-end;
overflow: visible;
zoom: 0.72;
- transform: translateX(-50px);
- /* Explicit height = body(260) + paper(~200) so flex centering includes paper */
height: 460px;
}
@@ -391,9 +409,11 @@ body {
</head>
<body>
<div class="banner">
- <!-- Left side -->
<div class="left">
- <div class="logo">alook.ai</div>
+ <div class="brand">
+ <img src="../alook.svg" alt="" />
+ <span class="brand-name">Alook</span>
+ </div>
<div class="title">Share your agents</div>
<div class="tagline">with people you trust.</div>
</div>
@@ -416,12 +436,12 @@ body {
<div class="tw-paper-track">
<div class="tw-paper">
<div class="tw-email-headers">
- <div class="tw-email-line"><span>From:</span> [email protected]</div>
- <div class="tw-email-line"><span>To:</span> [email protected]</div>
- <div class="tw-email-line"><span>Subject:</span> Good morning!</div>
+ <div class="tw-email-line">HOME / FAMILY-PLANS</div>
+ <div class="tw-email-line"><span>Maya joined the room.</span></div>
+ <div class="tw-email-line">A note for Alli#8145</div>
</div>
<div class="tw-email-body">
- Your agents are always on. I handled everything overnight.
+ Maya and Alli now share this channel. Either can reply here, and Gus can catch up when he returns.
</div>
</div>
</div>
diff --git a/src/web/src/components/home/landing-content.test.ts b/src/web/src/components/home/landing-content.test.ts
index b6c27f977..db1c31bba 100644
--- a/src/web/src/components/home/landing-content.test.ts
+++ b/src/web/src/components/home/landing-content.test.ts
@@ -197,6 +197,7 @@ describe("landing content contract", () => {
)
const cargoManifest = readFileSync(path.join(repoRoot, "src/desktop/src-tauri/Cargo.toml"), "utf8")
const githubPreview = readFileSync(path.join(repoRoot, "assets/social-preview/github-card.html"), "utf8")
+ const readmePreview = readFileSync(path.join(repoRoot, "assets/social-preview/readme-banner.html"), "utf8")
const twitterPreview = readFileSync(path.join(repoRoot, "assets/social-preview/twitter-banner.html"), "utf8")
expect(rootRoute).toContain("LandingPage")
@@ -254,11 +255,25 @@ describe("landing content contract", () => {
expect(tauriConfig.bundle.shortDescription).toBe("Share your agents with people you trust")
expect(tauriConfig.bundle.longDescription).toContain("shared rooms")
expect(cargoManifest).toContain('description = "Alook — Share your agents with people you trust"')
- for (const preview of [githubPreview, twitterPreview]) {
+ for (const preview of [githubPreview, readmePreview, twitterPreview]) {
expect(preview).toContain('<div class="title">Share your agents</div>')
expect(preview).toContain('<div class="tagline">with people you trust.</div>')
expect(preview).not.toContain("Your Personal Company")
}
+ expect(readmePreview).toContain("width: 1280px")
+ expect(twitterPreview).toContain("width: 1500px")
+ expect(twitterPreview).toContain("justify-content: flex-start")
+ for (const preview of [readmePreview, twitterPreview]) {
+ expect(preview).toContain(
+ ".title {\n color: #356f95;\n font-family: 'VT323', monospace;",
+ )
+ expect(preview).toContain(
+ ".tagline {\n color: #1b271f;\n font-family: 'VT323', monospace;",
+ )
+ expect(preview).not.toContain('class="spec"')
+ }
+ expect(readmePreview).toContain("font-size: 68px")
+ expect(twitterPreview).toContain("font-size: 80px")
expect(landingPageSource).toContain("export function LandingPage")
expect(playbackSource).toContain("LANDING_MOTION_VISIBILITY_THRESHOLD = 0.3")
expect(playbackSource).toContain("IntersectionObserver")