From e679e3672279fcc76db37d3489ba78b2c22f8154 Mon Sep 17 00:00:00 2001 From: yoma Date: Thu, 16 Jul 2026 00:56:16 +0800 Subject: [PATCH] revert: restore previous homepage --- apps/site/src/components/features.astro | 205 ++---------------------- apps/site/src/components/guides.astro | 2 +- apps/site/src/components/hero.astro | 23 ++- apps/site/src/i18n.ts | 118 +++++--------- apps/site/src/pages/en/index.astro | 4 +- apps/site/src/pages/index.astro | 4 +- 6 files changed, 67 insertions(+), 289 deletions(-) diff --git a/apps/site/src/components/features.astro b/apps/site/src/components/features.astro index 7779e142..26cbf117 100644 --- a/apps/site/src/components/features.astro +++ b/apps/site/src/components/features.astro @@ -25,10 +25,6 @@ const featureArt = [ icon: "bx:bx-shield-quarter", accent: "secure", }, - { - icon: "bx:bx-group", - accent: "accounts", - }, ]; const features = featureCopy.items.map((item, index) => ({ ...item, ...featureArt[index] })); @@ -39,7 +35,7 @@ const features = featureCopy.items.map((item, index) => ({ ...item, ...featureAr
-

+

{featureCopy.heading}

@@ -48,7 +44,7 @@ const features = featureCopy.items.map((item, index) => ({ ...item, ...featureAr { features.map((feature) => (
-
+
@@ -75,7 +71,7 @@ const features = featureCopy.items.map((item, index) => ({ ...item, ...featureAr
-
+
- Markdown - Files - History + API + MCP + CLI
)} @@ -226,37 +222,6 @@ const features = featureCopy.items.map((item, index) => ({ ...item, ...featureAr
)} - - {feature.accent === "accounts" && ( -
-
- - One instance -
- - - - - - -
- - Isolated MCP tokens -
-
- )}
@@ -296,8 +261,7 @@ const features = featureCopy.items.map((item, index) => ({ ...item, ...featureAr .agent-scene, .workspace-scene, .open-scene, - .secure-scene, - .accounts-scene { + .secure-scene { width: min(88%, 460px); aspect-ratio: 1.28; } @@ -324,16 +288,6 @@ const features = featureCopy.items.map((item, index) => ({ ...item, ...featureAr backdrop-filter: blur(12px); } - .accounts-instance, - .account-card, - .accounts-token { - position: absolute; - border: 1px solid rgb(203 213 225 / 0.72); - background: rgb(255 255 255 / 0.9); - box-shadow: 0 18px 60px -42px rgb(15 23 42 / 0.8); - backdrop-filter: blur(12px); - } - .storage-scene { transform: rotate(-2deg); transition: transform 300ms ease; @@ -343,8 +297,7 @@ const features = featureCopy.items.map((item, index) => ({ ...item, ...featureAr .group:hover .agent-scene, .group:hover .workspace-window, .group:hover .open-scene, - .group:hover .secure-scene, - .group:hover .accounts-scene { + .group:hover .secure-scene { transform: translateY(-4px); } @@ -853,118 +806,6 @@ const features = featureCopy.items.map((item, index) => ({ ...item, ...featureAr font-weight: 800; } - .accounts-scene { - transition: transform 300ms ease; - } - - .accounts-instance { - top: 5%; - left: 50%; - z-index: 2; - display: flex; - width: 176px; - height: 76px; - align-items: center; - justify-content: center; - gap: 10px; - translate: -50% 0; - border-radius: 24px; - color: var(--edgeever-brand-text); - } - - .accounts-instance span, - .accounts-token span { - font-size: 12px; - font-weight: 800; - } - - .accounts-link { - position: absolute; - top: 27%; - z-index: 0; - width: 2px; - height: 92px; - transform-origin: top; - background: repeating-linear-gradient( - 180deg, - rgb(var(--edgeever-brand-rgb) / 0.42) 0 9px, - transparent 9px 16px - ); - } - - .accounts-link-owner { - left: 50%; - } - - .accounts-link-member-one { - left: 50%; - rotate: 48deg; - } - - .accounts-link-member-two { - left: 50%; - rotate: -48deg; - } - - .account-card { - bottom: 15%; - z-index: 1; - display: grid; - width: 132px; - min-height: 132px; - place-items: center; - align-content: center; - gap: 7px; - padding: 14px; - border-radius: 24px; - text-align: center; - } - - .account-owner { - left: 50%; - translate: -50% 0; - } - - .account-member-one { - left: 0; - } - - .account-member-two { - right: 0; - } - - .account-avatar { - display: grid; - width: 44px; - height: 44px; - place-items: center; - border-radius: 16px; - background: rgb(var(--edgeever-brand-rgb) / 0.12); - color: var(--edgeever-brand-text); - } - - .account-card strong { - font-size: 13px; - color: #0f172a; - } - - .account-card small { - font-size: 10px; - color: #64748b; - } - - .accounts-token { - right: 4%; - bottom: 0; - z-index: 3; - display: flex; - align-items: center; - gap: 8px; - padding: 11px 14px; - border-radius: 999px; - color: var(--edgeever-brand-text); - } - @media (max-width: 767px) { .feature-art { padding: 22px; @@ -974,8 +815,7 @@ const features = featureCopy.items.map((item, index) => ({ ...item, ...featureAr .agent-scene, .workspace-scene, .open-scene, - .secure-scene, - .accounts-scene { + .secure-scene { width: min(94%, 360px); } @@ -1065,28 +905,5 @@ const features = featureCopy.items.map((item, index) => ({ ...item, ...featureAr right: 0; top: 6%; } - - .account-card { - width: 108px; - min-height: 118px; - padding: 10px; - } - - .accounts-instance { - width: 156px; - } - - .accounts-link-member-one { - rotate: 43deg; - } - - .accounts-link-member-two { - rotate: -43deg; - } - - .accounts-token { - right: 0; - padding: 9px 11px; - } } diff --git a/apps/site/src/components/guides.astro b/apps/site/src/components/guides.astro index a0408083..a7a7e282 100644 --- a/apps/site/src/components/guides.astro +++ b/apps/site/src/components/guides.astro @@ -16,7 +16,7 @@ const copy = siteCopy[locale].guides;

-
+
{ copy.items.map((item) => ( {copy.badgeText && ( - + {copy.badgeText} + + + + )}

EdgeEver @@ -61,17 +67,6 @@ const copy = siteCopy[locale].hero; {copy.agentInstall}

- -
    - {copy.proofs.map((proof) => ( -
  • - - - - {proof} -
  • - ))} -