diff --git a/docs/ensnode.io/config/integrations/starlight/sidebar-topics/reference.ts b/docs/ensnode.io/config/integrations/starlight/sidebar-topics/reference.ts index 93f5a4c5fd..c281f98861 100644 --- a/docs/ensnode.io/config/integrations/starlight/sidebar-topics/reference.ts +++ b/docs/ensnode.io/config/integrations/starlight/sidebar-topics/reference.ts @@ -63,7 +63,7 @@ export const referenceSidebarTopic = { }, { label: "Contributing", - collapsed: true, + collapsed: false, items: [ { label: "Overview", link: "/docs/reference/contributing" }, { label: "Creating Pull Requests", link: "/docs/reference/contributing/prs" }, diff --git a/docs/ensnode.io/src/components/atoms/logos/astro/ENSAdminLogoDark.astro b/docs/ensnode.io/src/components/atoms/logos/astro/ENSAdminLogoDark.astro new file mode 100644 index 0000000000..b67a3671d3 --- /dev/null +++ b/docs/ensnode.io/src/components/atoms/logos/astro/ENSAdminLogoDark.astro @@ -0,0 +1,54 @@ +--- +import type { AstroLogoProps } from "./shared-types"; + +const { className, ...props } = Astro.props as AstroLogoProps; + +const uid = crypto.randomUUID(); +const radialGradientId = `paint0_radial_${uid}`; +const linearGradientId = `paint1_linear_${uid}`; +--- + + + + + + + + + + + + + + + + + + + diff --git a/docs/ensnode.io/src/components/atoms/logos/astro/ENSAdminLogoLight.astro b/docs/ensnode.io/src/components/atoms/logos/astro/ENSAdminLogoLight.astro new file mode 100644 index 0000000000..e1c2322043 --- /dev/null +++ b/docs/ensnode.io/src/components/atoms/logos/astro/ENSAdminLogoLight.astro @@ -0,0 +1,60 @@ +--- +import type { AstroLogoProps } from "./shared-types"; + +const { className, ...props } = Astro.props as AstroLogoProps; + +const uid = crypto.randomUUID(); +const radialGradientId = `paint0_radial_${uid}`; +const linearGradientId = `paint1_linear_${uid}`; +--- + + + + + + + + + + + + + + + + + + + diff --git a/docs/ensnode.io/src/components/atoms/logos/astro/ENSNodeLogoDark.astro b/docs/ensnode.io/src/components/atoms/logos/astro/ENSNodeLogoDark.astro new file mode 100644 index 0000000000..d0605c4b2d --- /dev/null +++ b/docs/ensnode.io/src/components/atoms/logos/astro/ENSNodeLogoDark.astro @@ -0,0 +1,85 @@ +--- +import type { AstroLogoProps } from "./shared-types"; + +const { className, ...props } = Astro.props as AstroLogoProps; + +const uid = crypto.randomUUID(); +const linearGradient0Id = `paint0_linear_${uid}`; +const linearGradient1Id = `paint1_linear_${uid}`; +--- + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/ensnode.io/src/components/atoms/logos/astro/ENSNodeLogoLight.astro b/docs/ensnode.io/src/components/atoms/logos/astro/ENSNodeLogoLight.astro new file mode 100644 index 0000000000..82d72af7d2 --- /dev/null +++ b/docs/ensnode.io/src/components/atoms/logos/astro/ENSNodeLogoLight.astro @@ -0,0 +1,85 @@ +--- +import type { AstroLogoProps } from "./shared-types"; + +const { className, ...props } = Astro.props as AstroLogoProps; + +const uid = crypto.randomUUID(); +const linearGradient0Id = `paint0_linear_${uid}`; +const linearGradient1Id = `paint1_linear_${uid}`; +--- + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/ensnode.io/src/components/atoms/logos/astro/shared-types.ts b/docs/ensnode.io/src/components/atoms/logos/astro/shared-types.ts new file mode 100644 index 0000000000..8ad27f76b1 --- /dev/null +++ b/docs/ensnode.io/src/components/atoms/logos/astro/shared-types.ts @@ -0,0 +1,5 @@ +import type { HTMLAttributes } from "astro/types"; + +export interface AstroLogoProps extends HTMLAttributes<"svg"> { + className?: string; +} diff --git a/docs/ensnode.io/src/components/molecules/HeaderButtons.tsx b/docs/ensnode.io/src/components/molecules/HeaderButtons.tsx index 3a2706879b..af186ea56d 100644 --- a/docs/ensnode.io/src/components/molecules/HeaderButtons.tsx +++ b/docs/ensnode.io/src/components/molecules/HeaderButtons.tsx @@ -8,11 +8,20 @@ import cc from "classcat"; export type HeaderButtonsProps = { isScrollable: boolean; + mobileAdaptable?: boolean; }; -export default function HeaderButtons({ isScrollable }: HeaderButtonsProps) { +export default function HeaderButtons({ + isScrollable, + mobileAdaptable = true, +}: HeaderButtonsProps) { return ( <> -
+
-
+
diff --git a/docs/ensnode.io/src/components/molecules/HostedEnsNodeInstances.astro b/docs/ensnode.io/src/components/molecules/HostedEnsNodeInstances.astro index ede2eefc27..2e41d0cc2f 100644 --- a/docs/ensnode.io/src/components/molecules/HostedEnsNodeInstances.astro +++ b/docs/ensnode.io/src/components/molecules/HostedEnsNodeInstances.astro @@ -1,4 +1,6 @@ --- +import ENSAdminLogoDark from "@components/atoms/logos/astro/ENSAdminLogoDark.astro"; + const { instanceURL, connectWithENSAdminURL, namespace, plugins, purpose } = Astro.props; --- @@ -6,52 +8,10 @@ const { instanceURL, connectWithENSAdminURL, namespace, plugins, purpose } = Ast diff --git a/docs/ensnode.io/src/components/molecules/OmnigraphAPIExamplePanels.astro b/docs/ensnode.io/src/components/molecules/OmnigraphAPIExamplePanels.astro index efa33c3bcc..ec23a69409 100644 --- a/docs/ensnode.io/src/components/molecules/OmnigraphAPIExamplePanels.astro +++ b/docs/ensnode.io/src/components/molecules/OmnigraphAPIExamplePanels.astro @@ -2,6 +2,7 @@ import { Code } from "@astrojs/starlight/components"; import { buildOmnigraphCurlExample, getHostedEnsNodeInstanceDocUrl } from "@lib/playground/utils"; +import ENSAdminLogoDark from "@components/atoms/logos/astro/ENSAdminLogoDark.astro"; export interface OmnigraphAPIExamplePanelsProps { /** Unique id prefix for aria / tab wiring (e.g. example id). */ @@ -61,11 +62,12 @@ const tabList: { id: string; label: string }[] = [ style="top: calc(var(--sl-nav-height, 3.5rem) + var(--sl-mobile-toc-height, 0px) + 0.25rem);" > + Run in ENSAdmin
Hosted at - {instanceURL} + {instanceURL} - - - - - - - - - - - - - - - - - - +

Connect with ENSAdmin