Skip to content

feat(apps/ensadmin): add splash page#1191

Merged
notrab merged 2 commits intomainfrom
ensadmin-index
Oct 21, 2025
Merged

feat(apps/ensadmin): add splash page#1191
notrab merged 2 commits intomainfrom
ensadmin-index

Conversation

@notrab
Copy link
Copy Markdown
Member

@notrab notrab commented Oct 20, 2025

This handles the root / route for ENSAdmin.

@notrab notrab requested a review from a team as a code owner October 20, 2025 12:23
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Oct 20, 2025

🦋 Changeset detected

Latest commit: 11391cc

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 13 packages
Name Type
ensadmin Minor
ensindexer Minor
ensrainbow Minor
@ensnode/datasources Minor
@ensnode/ensrainbow-sdk Minor
@ensnode/ponder-metadata Minor
@ensnode/ensnode-schema Minor
@ensnode/ensnode-react Minor
@ensnode/ponder-subgraph Minor
@ensnode/ensnode-sdk Minor
@ensnode/shared-configs Minor
@docs/ensnode Minor
@docs/ensrainbow Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link
Copy Markdown
Contributor

vercel bot commented Oct 20, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
admin.ensnode.io Ready Ready Preview Comment Oct 20, 2025 3:38pm
ensnode.io Ready Ready Preview Comment Oct 20, 2025 3:38pm
ensrainbow.io Ready Ready Preview Comment Oct 20, 2025 3:38pm

}) {
const pathname = usePathname();

if (pathname === "/") {
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I avoided using Next.js Route Groups since there is likely to be some differences with Tanstack we'd need to revert/change any way.

import { SelectedENSNodeProvider } from "@/components/providers/selected-ensnode-provider";
import { SidebarInset, SidebarProvider } from "@/components/ui/sidebar";

export function LayoutWrapper({
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I like the idea of LayoutWrapper component. We could use it explicitly for regular views, while skipping it for mocked views. This way, the mock views could run without a need for a valid ENSNode connection.

Copy link
Copy Markdown
Member

@lightwalker-eth lightwalker-eth left a comment

Choose a reason for hiding this comment

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

@notrab I like the strategy you took here. Thank you. Looks nice 👍

@notrab notrab merged commit 0090558 into main Oct 21, 2025
9 checks passed
@notrab notrab deleted the ensadmin-index branch October 21, 2025 16:15
@github-actions github-actions bot mentioned this pull request Oct 21, 2025
notrab added a commit that referenced this pull request Oct 21, 2025
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.

3 participants