Skip to content

armgit / alook

Public Imported from GitHub
0

Multi-Agent Collaboration for Team and Friends

fix(web): replace hardcoded alook.ai URL with relative path in hero-section

Gener2066da6e66fb
diff --git a/src/web/src/components/home/hero-section.tsx b/src/web/src/components/home/hero-section.tsx
index 184c91b26..c101c5313 100644
--- a/src/web/src/components/home/hero-section.tsx
+++ b/src/web/src/components/home/hero-section.tsx
@@ -147,7 +147,7 @@ export function HeroSection({ isLoggedIn }: { isLoggedIn: boolean }) {
style={{ opacity: 0 }}
onClick={() => {
navigator.clipboard.writeText(
- "Read https://alook.ai/onboard.md and follow the instructions to install and configure Alook"
+ `Read ${window.location.origin}/onboard.md and follow the instructions to install and configure Alook`
);
setCopied(true);
setTimeout(() => setCopied(false), 2000);
@@ -176,7 +176,7 @@ export function HeroSection({ isLoggedIn }: { isLoggedIn: boolean }) {
<span className="flex-1 overflow-hidden whitespace-nowrap text-ellipsis">
Read{" "}
<a
- href="https://alook.ai/onboard.md"
+ href="/onboard.md"
target="_blank"
rel="noopener noreferrer"
className="underline transition-opacity hover:opacity-70"