Skip to content

Commit

Permalink
Remove unused <Helper />, add TheGraph signup link
Browse files Browse the repository at this point in the history
  • Loading branch information
gskril committed May 31, 2024
1 parent f562904 commit f33d773
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 34 deletions.
28 changes: 0 additions & 28 deletions app/src/components/Helper.tsx

This file was deleted.

2 changes: 1 addition & 1 deletion app/src/components/mdx/Note.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { InfoIcon } from '../icons/InfoIcon';

export const Note = ({ children }) => {
return (
<div className="dark:border-ens-500/30 my-6 flex gap-2.5 rounded-2xl border border-ens-light-border bg-ens-light-blue-50/50 p-4 leading-6 text-ens-light-blue-900 dark:border-ens-dark-border dark:bg-ens-light-blue-500/5 dark:text-ens-light-blue-200 dark:[--tw-prose-links-hover:theme(colors.ens.light.blue.300)] dark:[--tw-prose-links:theme(colors.white)]">
<div className="dark:border-ens-500/30 border-ens-light-border bg-ens-light-blue-50/50 text-ens-light-blue-900 dark:border-ens-dark-border dark:bg-ens-light-blue-500/5 dark:text-ens-light-blue-200 my-6 flex gap-2.5 rounded-2xl border p-4 leading-6 dark:[--tw-prose-links-hover:theme(colors.ens.light.blue.300)] dark:[--tw-prose-links:theme(colors.white)]">
<InfoIcon className="fill-ens-500 dark:fill-ens-200/20 dark:stroke-ens-200 mt-1 size-4 flex-none stroke-white" />
<div className="[&>:first-child]:mt-0 [&>:last-child]:mb-0">
{children}
Expand Down
10 changes: 5 additions & 5 deletions docs/web/subgraph.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { WIP } from '@/components/wip/WIP'
import { Helper } from '@/components/Helper'
import { Note } from '@/components/mdx/Note'

{/* * @type {import('@/lib/mdxPageProps').MdxMetaProps} */}
export const meta = {
Expand All @@ -19,11 +19,11 @@ This is a page covering the graph's ENS subgraph.
The Graph is a protocol for indexing and querying data from blockchains. There are multiple subgraphs that you can use to query information about ENS names.
These subgraphs are available for [mainnet](https://api.thegraph.com/subgraphs/name/ensdomains/ens), [sepolia](https://api.studio.thegraph.com/query/49574/enssepolia/version/latest) and [holesky](https://api.studio.thegraph.com/query/49574/ensholesky/version/latest).

<Helper type="warning">
<Note>
Developers are welcome to use our rate limited API endpoints above for
testing, but it is highly encouraged to sign up for a free account with
TheGraph to get your own API key.
</Helper>
testing, but it is highly encouraged to [sign up for a free account with
TheGraph](https://thegraph.com/studio/apikeys/) to get your own API key.
</Note>

## GraphQL Schema

Expand Down

0 comments on commit f33d773

Please sign in to comment.