Skip to content

feat: redesign landing page - #1

Open
Skytonet2 wants to merge 1 commit into
mainfrom
feat/frontend-landing-redesign
Open

Skytonet2 wants to merge 1 commit into
mainfrom
feat/frontend-landing-redesign

Conversation

@Skytonet2

Copy link
Copy Markdown
Owner

Summary

  • Redesigns / into a polished Sui-native AZUKA landing page with Framer Motion hero/scroll reveals, animated live counters, agent showcase marquee, how-it-works choreography, sponsor row, and recent activity panel.
  • Reads landing counters/feed from Sui testnet events where available: AgentRegistered, mission created/settled events, and treasury revenue events. Tip totals only count treasury revenue entries whose source looks like a tip; no fake tip event is invented.
  • Keeps scope frontend-only: no contract/ or backend/ changes.

Screenshots

Before:
Before

After:
After

Verification

  • npm run test:tokens
  • npm run test:auth
  • npm run build

Notes

  • Added framer-motion@12.38.0 for the requested scroll-triggered and layout motion patterns.
  • npm run lint still fails on pre-existing mission page issues outside this landing slice: src/app/missions/detail/page.js:83 and src/app/missions/new/page.js:288.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 347fff6312

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +40 to +43
{ label: "Agents", href: "/agents" },
{ label: "Missions", href: "/missions" },
{ label: "Try contract", href: "/app" },
{ label: "GitHub", href: "https://github.com/Skytonet2/azuka" },
{ label: "Contract", href: "https://suiscan.xyz/testnet/object/0x03ba0d0fba65185374a8aa36df79d392f87bb8f398fd0ce6ee500684a045e0f4" },
{ label: "Feed", href: "/feed" },
{ label: "Docs", href: "https://github.com/Skytonet2/azuka/tree/main/docs" },

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Replace links that point to non-existent routes

These new primary navigation destinations (/agents and /feed) do not have matching routes in this repository’s src/app tree, so users are sent to 404 pages from the landing nav and related CTAs that reuse the same paths. This breaks the main landing-page journeys introduced in this commit and should be switched to existing routes or added as real pages before shipping.

Useful? React with 👍 / 👎.

const [agentResult, missionResult, approvedResult, expiredResult, revenueResult] =
await Promise.allSettled([
queryEventPages(client, EVENT_TYPES.agentRegistered),
listRecentMissionCreated(client, { limit: 50 }),

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Paginate mission stats beyond first 50 events

Missions posted and SUI escrowed are computed from listRecentMissionCreated(client, { limit: 50 }), so after the first 50 mission-creation events these counters stop reflecting actual totals and under-report historical escrow. Because the UI labels these as aggregate live counters, this hard cap produces inaccurate metrics in normal long-running deployments.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants