-
Notifications
You must be signed in to change notification settings - Fork 16
feat(docs): ensnode.io -- refinements to LP & docs #2158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
d41c988
c04183b
484267d
1c106b3
a01febb
074ff9d
ab22ade
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,6 @@ | ||
| --- | ||
| import { Icon } from "@astrojs/starlight/components"; | ||
|
|
||
| import OmnigraphAPIExamplePanels from "../molecules/OmnigraphAPIExamplePanels.astro"; | ||
|
|
||
| import { ENSADMIN_URL } from "astro:env/client"; | ||
|
|
@@ -44,8 +46,9 @@ const responseJson = example.response ? stringifyJsonForDocs(example.response) : | |
|
|
||
| { | ||
| !hideBackToExamples && ( | ||
| <p> | ||
|
Y3drk marked this conversation as resolved.
|
||
| <a href="/docs/integrate/omnigraph/examples">Back to Examples</a> | ||
| </p> | ||
| <a class="group w-fit flex flex-row justify-start items-center gap-2" href="/docs/integrate/omnigraph/examples"> | ||
| <Icon name="left-arrow" class="h-5 w-5 text-[var(--sl-color-accent)] group-hover:text-[var(--sl-color-white)] transition-colors duration-200" /> | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Y3drk marked this conversation as resolved.
vercel[bot] marked this conversation as resolved.
|
||
| <p class="not-content m-0 underline underline-offset-4 group-hover:underline-offset-2 transition-all duration-200">Back to Examples </p> | ||
| </a> | ||
| ) | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,28 +1,32 @@ | ||
| --- | ||
| import { Image } from "astro:assets"; | ||
| import { Balancer } from "react-wrap-balancer"; | ||
| import skies_image from "@assets/hero_skies_image.png"; | ||
| import backgroundImage from "@assets/hero_bg_image.png"; | ||
| import heroImage from "@assets/hero_image.png"; | ||
| import { legacyButtonVariants } from "@namehash/namehash-ui/legacy"; | ||
| --- | ||
| <section class="bg-gradient-to-b from-[#4182B8] to-[#FEE7B7] w-full h-screen flex flex-col flex-nowrap justify-center items-center bg-cover bg-center bg-no-repeat"> | ||
| <Image src={skies_image} alt="background skies" class="absolute w-full h-screen z-0 object-center object-cover select-none" quality={100}/> | ||
| <div class="relative z-10 not-content antialiased flex flex-col flex-nowrap gap-8 justify-center items-center text-center px-5 sm:px-0"> | ||
| <section class="w-full h-screen flex flex-col flex-nowrap justify-center items-center bg-black relative"> | ||
| <Image src={backgroundImage} alt="" aria-hidden="true" class="absolute w-full h-screen z-0 object-center object-cover select-none" quality={100}/> | ||
| <div class="w-full max-w-[1280px] flex flex-col lg:flex-row justify-center sm:justify-between items-center gap-10 px-5 sm:px-8 max-lg:pt-20 max-sm:pb-8"> | ||
| <div class="relative z-10 not-content antialiased flex flex-col flex-nowrap gap-8 justify-center items-center lg:items-start"> | ||
| <div class="flex flex-col flex-nowrap justify-center items-start gap-4"> | ||
| <h1 class="max-w-[650px] w-full font-bold leading-10 sm:leading-[68px] text-4xl sm:text-6xl text-white"> | ||
| <h1 class="max-w-[650px] w-full font-bold leading-10 sm:leading-[68px] text-4xl sm:text-[52px] text-white max-lg:text-center"> | ||
| The full-stack<br/> | ||
| development platform<br/> | ||
| for ENSv2 | ||
| </h1> | ||
| <Balancer as="p" className="max-w-[650px] w-full text-base text-white leading-6 font-medium"> | ||
| <Balancer as="p" className="max-w-[650px] w-full text-base text-white leading-6 font-medium max-lg:text-center"> | ||
| Achieve full ENSv2 readiness even before ENSv2 launches. | ||
| </Balancer> | ||
| </div> | ||
| <div class="w-full flex flex-col sm:flex-row flex-nowrap justify-center items-center gap-4 sm:gap-8"> | ||
| <a | ||
| href="/docs/integrate" | ||
| class="h-[42px] box-border cursor-pointer transition-all duration-200 bg-black hover:bg-[#272727] button-as-child text-white rounded-lg font-medium inline-flex gap-2 items-center whitespace-nowrap underline-none py-[9px] px-[17px] text-base leading-6" | ||
| class={legacyButtonVariants({ variant: "secondary", size: "medium", className: "hover:bg-gray-100" })} | ||
| > | ||
| Quickstart guide | ||
| </a> | ||
| </div> | ||
| <Image src={heroImage} alt="ENSv2 badge" class="sm:hidden w-full max-w-[300px] pt-2 h-auto object-contain" quality={100}/> | ||
| </div> | ||
| <Image src={heroImage} alt="ENSv2 badge" class="hidden sm:block w-full max-w-[400px] lg:max-w-[505px] h-auto object-contain relative z-10" quality={100}/> | ||
| </div> | ||
| </section> |

Uh oh!
There was an error while loading. Please reload this page.