Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion app/[locale]/10years/page-jsonld.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ import PageJsonLD from "@/components/PageJsonLD"

import { normalizeUrlForJsonLd } from "@/lib/utils/url"

import { BASE_GRAPH_NODES, REFERENCE } from "@/lib/jsonld/constants"
import { BASE_GRAPH_NODES } from "@/lib/jsonld/constants"
import { REFERENCE } from "@/lib/jsonld/references"

export default async function TenYearJsonLD({
locale,
Expand Down
3 changes: 2 additions & 1 deletion app/[locale]/[...slug]/page-jsonld.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ import PageJsonLD from "@/components/PageJsonLD"

import { normalizeUrlForJsonLd } from "@/lib/utils/url"

import { BASE_GRAPH_NODES, REFERENCE } from "@/lib/jsonld/constants"
import { BASE_GRAPH_NODES } from "@/lib/jsonld/constants"
import { REFERENCE } from "@/lib/jsonld/references"
import { resolveAuthorsFromFrontmatter } from "@/lib/jsonld/utils"

export default async function SlugJsonLD({
Expand Down
3 changes: 2 additions & 1 deletion app/[locale]/apps/[application]/page-jsonld.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ import PageJsonLD from "@/components/PageJsonLD"

import { normalizeUrlForJsonLd, slugify } from "@/lib/utils/url"

import { BASE_GRAPH_NODES, REFERENCE } from "@/lib/jsonld/constants"
import { BASE_GRAPH_NODES } from "@/lib/jsonld/constants"
import { REFERENCE } from "@/lib/jsonld/references"

// Map internal app categories to schema.org enumerated applicationCategory values
// https://schema.org/applicationCategory
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ import PageJsonLD from "@/components/PageJsonLD"

import { normalizeUrlForJsonLd } from "@/lib/utils/url"

import { BASE_GRAPH_NODES, REFERENCE } from "@/lib/jsonld/constants"
import { BASE_GRAPH_NODES } from "@/lib/jsonld/constants"
import { REFERENCE } from "@/lib/jsonld/references"

export default async function AppsCategoryJsonLD({
locale,
Expand Down
3 changes: 2 additions & 1 deletion app/[locale]/apps/page-jsonld.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ import { normalizeUrlForJsonLd } from "@/lib/utils/url"

import { appsCategories } from "@/data/apps/categories"

import { BASE_GRAPH_NODES, REFERENCE } from "@/lib/jsonld/constants"
import { BASE_GRAPH_NODES } from "@/lib/jsonld/constants"
import { REFERENCE } from "@/lib/jsonld/references"

export default async function AppsJsonLD({
locale,
Expand Down
3 changes: 2 additions & 1 deletion app/[locale]/assets/page-jsonld.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ import PageJsonLD from "@/components/PageJsonLD"

import { normalizeUrlForJsonLd } from "@/lib/utils/url"

import { BASE_GRAPH_NODES, REFERENCE } from "@/lib/jsonld/constants"
import { BASE_GRAPH_NODES } from "@/lib/jsonld/constants"
import { REFERENCE } from "@/lib/jsonld/references"

export default async function AssetsJsonLD({
locale,
Expand Down
3 changes: 2 additions & 1 deletion app/[locale]/bug-bounty/page-jsonld.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ import PageJsonLD from "@/components/PageJsonLD"

import { normalizeUrlForJsonLd } from "@/lib/utils/url"

import { BASE_GRAPH_NODES, REFERENCE } from "@/lib/jsonld/constants"
import { BASE_GRAPH_NODES } from "@/lib/jsonld/constants"
import { KNOWN_PERSONS } from "@/lib/jsonld/persons"
import { REFERENCE } from "@/lib/jsonld/references"
import { personReference } from "@/lib/jsonld/utils"

export default async function BugBountyJsonLD({
Expand Down
3 changes: 2 additions & 1 deletion app/[locale]/collectibles/page-jsonld.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ import { normalizeUrlForJsonLd } from "@/lib/utils/url"
import { COLLECTIBLES_BASE_URL } from "./constants"
import type { Badge, Stats } from "./types"

import { BASE_GRAPH_NODES, REFERENCE } from "@/lib/jsonld/constants"
import { BASE_GRAPH_NODES } from "@/lib/jsonld/constants"
import { REFERENCE } from "@/lib/jsonld/references"

export default async function CollectiblesJsonLD({
locale,
Expand Down
3 changes: 2 additions & 1 deletion app/[locale]/community/events/conferences/page-jsonld.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ import PageJsonLD from "@/components/PageJsonLD"
import { getLocaleYear } from "@/lib/utils/date"
import { normalizeUrlForJsonLd } from "@/lib/utils/url"

import { BASE_GRAPH_NODES, REFERENCE } from "@/lib/jsonld/constants"
import { BASE_GRAPH_NODES } from "@/lib/jsonld/constants"
import { REFERENCE } from "@/lib/jsonld/references"

function eventTypeFor(
event: EventItem
Expand Down
3 changes: 2 additions & 1 deletion app/[locale]/community/events/meetups/page-jsonld.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ import PageJsonLD from "@/components/PageJsonLD"
import { getLocaleYear } from "@/lib/utils/date"
import { normalizeUrlForJsonLd } from "@/lib/utils/url"

import { BASE_GRAPH_NODES, REFERENCE } from "@/lib/jsonld/constants"
import { BASE_GRAPH_NODES } from "@/lib/jsonld/constants"
import { REFERENCE } from "@/lib/jsonld/references"

function toEventNode(event: EventItem) {
return {
Expand Down
3 changes: 2 additions & 1 deletion app/[locale]/community/events/page-jsonld.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ import { normalizeUrlForJsonLd } from "@/lib/utils/url"
import { communityHubSchemas } from "@/data/community-hub-schemas"
import communityHubs from "@/data/community-hubs"

import { BASE_GRAPH_NODES, REFERENCE } from "@/lib/jsonld/constants"
import { BASE_GRAPH_NODES } from "@/lib/jsonld/constants"
import { REFERENCE } from "@/lib/jsonld/references"

function buildHubSchemaNodes(
hub: (typeof communityHubs)[number],
Expand Down
3 changes: 2 additions & 1 deletion app/[locale]/community/events/search/page-jsonld.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ import PageJsonLD from "@/components/PageJsonLD"

import { normalizeUrlForJsonLd } from "@/lib/utils/url"

import { BASE_GRAPH_NODES, REFERENCE } from "@/lib/jsonld/constants"
import { BASE_GRAPH_NODES } from "@/lib/jsonld/constants"
import { REFERENCE } from "@/lib/jsonld/references"

export default async function EventsSearchJsonLD({
locale,
Expand Down
3 changes: 2 additions & 1 deletion app/[locale]/community/page-jsonld.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ import PageJsonLD from "@/components/PageJsonLD"

import { normalizeUrlForJsonLd } from "@/lib/utils/url"

import { BASE_GRAPH_NODES, REFERENCE } from "@/lib/jsonld/constants"
import { BASE_GRAPH_NODES } from "@/lib/jsonld/constants"
import { REFERENCE } from "@/lib/jsonld/references"

export default async function CommunityJsonLD({
locale,
Expand Down
3 changes: 2 additions & 1 deletion app/[locale]/community/support/page-jsonld.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ import { isExternal, normalizeUrlForJsonLd } from "@/lib/utils/url"

import { sections } from "./data"

import { BASE_GRAPH_NODES, REFERENCE } from "@/lib/jsonld/constants"
import { BASE_GRAPH_NODES } from "@/lib/jsonld/constants"
import { REFERENCE } from "@/lib/jsonld/references"

export default async function SupportJsonLD({
locale,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ import PageJsonLD from "@/components/PageJsonLD"

import { normalizeUrlForJsonLd } from "@/lib/utils/url"

import { BASE_GRAPH_NODES, REFERENCE } from "@/lib/jsonld/constants"
import { BASE_GRAPH_NODES } from "@/lib/jsonld/constants"
import { REFERENCE } from "@/lib/jsonld/references"

export default async function AcknowledgementsJsonLD({
locale,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ import PageJsonLD from "@/components/PageJsonLD"

import { normalizeUrlForJsonLd } from "@/lib/utils/url"

import { BASE_GRAPH_NODES, REFERENCE } from "@/lib/jsonld/constants"
import { BASE_GRAPH_NODES } from "@/lib/jsonld/constants"
import { REFERENCE } from "@/lib/jsonld/references"

export default async function ContributorsJsonLD({
locale,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ import PageJsonLD from "@/components/PageJsonLD"

import { normalizeUrlForJsonLd } from "@/lib/utils/url"

import { BASE_GRAPH_NODES, REFERENCE } from "@/lib/jsonld/constants"
import { BASE_GRAPH_NODES } from "@/lib/jsonld/constants"
import { REFERENCE } from "@/lib/jsonld/references"

export default async function TranslatathonLeaderboardJsonLD({
locale,
Expand Down
3 changes: 2 additions & 1 deletion app/[locale]/developers/page-jsonld.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ import { normalizeUrlForJsonLd } from "@/lib/utils/url"

import { DevelopersPath, VideoCourse } from "./types"

import { BASE_GRAPH_NODES, REFERENCE } from "@/lib/jsonld/constants"
import { BASE_GRAPH_NODES } from "@/lib/jsonld/constants"
import { REFERENCE } from "@/lib/jsonld/references"

export default async function DevelopersPageJsonLD({
locale,
Expand Down
3 changes: 2 additions & 1 deletion app/[locale]/developers/tools/[category]/page-jsonld.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ import { normalizeUrlForJsonLd } from "@/lib/utils/url"

import type { DeveloperTool, DeveloperToolCategorySlug } from "../types"

import { BASE_GRAPH_NODES, REFERENCE } from "@/lib/jsonld/constants"
import { BASE_GRAPH_NODES } from "@/lib/jsonld/constants"
import { REFERENCE } from "@/lib/jsonld/references"

export default async function DevelopersToolsCategoryJsonLD({
locale,
Expand Down
3 changes: 2 additions & 1 deletion app/[locale]/developers/tools/page-jsonld.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ import { normalizeUrlForJsonLd } from "@/lib/utils/url"

import { DEV_TOOL_CATEGORIES } from "./constants"

import { BASE_GRAPH_NODES, REFERENCE } from "@/lib/jsonld/constants"
import { BASE_GRAPH_NODES } from "@/lib/jsonld/constants"
import { REFERENCE } from "@/lib/jsonld/references"

export default async function DevelopersToolsJsonLD({
locale,
Expand Down
3 changes: 2 additions & 1 deletion app/[locale]/developers/tutorials/page-jsonld.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ import PageJsonLD from "@/components/PageJsonLD"

import { normalizeUrlForJsonLd } from "@/lib/utils/url"

import { BASE_GRAPH_NODES, REFERENCE } from "@/lib/jsonld/constants"
import { BASE_GRAPH_NODES } from "@/lib/jsonld/constants"
import { REFERENCE } from "@/lib/jsonld/references"

export default async function TutorialsPageJsonLD({
locale,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ import PageJsonLD from "@/components/PageJsonLD"

import { normalizeUrlForJsonLd } from "@/lib/utils/url"

import { BASE_GRAPH_NODES, REFERENCE } from "@/lib/jsonld/constants"
import { BASE_GRAPH_NODES } from "@/lib/jsonld/constants"
import { REFERENCE } from "@/lib/jsonld/references"

export default async function EthereumHistoryFounderAndOwnershipPageJsonLD({
locale,
Expand Down
3 changes: 2 additions & 1 deletion app/[locale]/ethereum-vs-bitcoin/page-jsonld.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ import PageJsonLD from "@/components/PageJsonLD"

import { normalizeUrlForJsonLd } from "@/lib/utils/url"

import { BASE_GRAPH_NODES, REFERENCE } from "@/lib/jsonld/constants"
import { BASE_GRAPH_NODES } from "@/lib/jsonld/constants"
import { REFERENCE } from "@/lib/jsonld/references"

export default async function EthereumVsBitcoinPageJsonLD({
locale,
Expand Down
3 changes: 2 additions & 1 deletion app/[locale]/founders/page-jsonld.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ import PageJsonLD from "@/components/PageJsonLD"

import { normalizeUrlForJsonLd } from "@/lib/utils/url"

import { BASE_GRAPH_NODES, REFERENCE } from "@/lib/jsonld/constants"
import { BASE_GRAPH_NODES } from "@/lib/jsonld/constants"
import { REFERENCE } from "@/lib/jsonld/references"

export default async function FoundersPageJsonLD({
locale,
Expand Down
3 changes: 2 additions & 1 deletion app/[locale]/gas/page-jsonld.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ import PageJsonLD from "@/components/PageJsonLD"

import { normalizeUrlForJsonLd } from "@/lib/utils/url"

import { BASE_GRAPH_NODES, REFERENCE } from "@/lib/jsonld/constants"
import { BASE_GRAPH_NODES } from "@/lib/jsonld/constants"
import { REFERENCE } from "@/lib/jsonld/references"

export default async function GasPageJsonLD({
locale,
Expand Down
3 changes: 2 additions & 1 deletion app/[locale]/get-eth/page-jsonld.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ import PageJsonLD from "@/components/PageJsonLD"

import { normalizeUrlForJsonLd } from "@/lib/utils/url"

import { BASE_GRAPH_NODES, REFERENCE } from "@/lib/jsonld/constants"
import { BASE_GRAPH_NODES } from "@/lib/jsonld/constants"
import { REFERENCE } from "@/lib/jsonld/references"

export default async function GetEthPageJsonLD({
locale,
Expand Down
3 changes: 2 additions & 1 deletion app/[locale]/layer-2/learn/page-jsonld.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ import PageJsonLD from "@/components/PageJsonLD"

import { normalizeUrlForJsonLd } from "@/lib/utils/url"

import { BASE_GRAPH_NODES, REFERENCE } from "@/lib/jsonld/constants"
import { BASE_GRAPH_NODES } from "@/lib/jsonld/constants"
import { REFERENCE } from "@/lib/jsonld/references"

export default async function Layer2LearnPageJsonLD({
locale,
Expand Down
3 changes: 2 additions & 1 deletion app/[locale]/layer-2/networks/page-jsonld.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ import PageJsonLD from "@/components/PageJsonLD"

import { normalizeUrlForJsonLd } from "@/lib/utils/url"

import { BASE_GRAPH_NODES, REFERENCE } from "@/lib/jsonld/constants"
import { BASE_GRAPH_NODES } from "@/lib/jsonld/constants"
import { REFERENCE } from "@/lib/jsonld/references"

export default async function Layer2NetworksPageJsonLD({
locale,
Expand Down
3 changes: 2 additions & 1 deletion app/[locale]/layer-2/page-jsonld.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ import PageJsonLD from "@/components/PageJsonLD"

import { normalizeUrlForJsonLd } from "@/lib/utils/url"

import { BASE_GRAPH_NODES, REFERENCE } from "@/lib/jsonld/constants"
import { BASE_GRAPH_NODES } from "@/lib/jsonld/constants"
import { REFERENCE } from "@/lib/jsonld/references"

export default async function Layer2PageJsonLD({
locale,
Expand Down
3 changes: 2 additions & 1 deletion app/[locale]/learn/page-jsonld.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ import PageJsonLD from "@/components/PageJsonLD"

import { normalizeUrlForJsonLd } from "@/lib/utils/url"

import { BASE_GRAPH_NODES, REFERENCE } from "@/lib/jsonld/constants"
import { BASE_GRAPH_NODES } from "@/lib/jsonld/constants"
import { REFERENCE } from "@/lib/jsonld/references"

export default async function LearnPageJsonLD({ locale, contributors }) {
const t = await getTranslations("page-learn")
Expand Down
3 changes: 2 additions & 1 deletion app/[locale]/page-jsonld.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ import { Lang } from "@/lib/types"

import PageJsonLD from "@/components/PageJsonLD"

import { ETHEREUM_ORG_WEBSITE, REFERENCE } from "@/lib/jsonld/constants"
import { ETHEREUM_ORG_WEBSITE } from "@/lib/jsonld/constants"
import { KNOWN_ORGANIZATIONS } from "@/lib/jsonld/organizations"
import { REFERENCE } from "@/lib/jsonld/references"

export default async function IndexPageJsonLD({
locale,
Expand Down
3 changes: 2 additions & 1 deletion app/[locale]/quizzes/page-jsonld.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ import PageJsonLD from "@/components/PageJsonLD"

import { normalizeUrlForJsonLd } from "@/lib/utils/url"

import { BASE_GRAPH_NODES, REFERENCE } from "@/lib/jsonld/constants"
import { BASE_GRAPH_NODES } from "@/lib/jsonld/constants"
import { REFERENCE } from "@/lib/jsonld/references"

export default async function QuizzesPageJsonLD({
locale,
Expand Down
3 changes: 2 additions & 1 deletion app/[locale]/resources/page-jsonld.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ import PageJsonLD from "@/components/PageJsonLD"

import { normalizeUrlForJsonLd } from "@/lib/utils/url"

import { BASE_GRAPH_NODES, REFERENCE } from "@/lib/jsonld/constants"
import { BASE_GRAPH_NODES } from "@/lib/jsonld/constants"
import { REFERENCE } from "@/lib/jsonld/references"

export default async function ResourcesPageJsonLD({
locale,
Expand Down
3 changes: 2 additions & 1 deletion app/[locale]/roadmap/_vision/page-jsonld.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ import PageJsonLD from "@/components/PageJsonLD"

import { normalizeUrlForJsonLd } from "@/lib/utils/url"

import { BASE_GRAPH_NODES, REFERENCE } from "@/lib/jsonld/constants"
import { BASE_GRAPH_NODES } from "@/lib/jsonld/constants"
import { REFERENCE } from "@/lib/jsonld/references"

export default async function RoadmapVisionPageJsonLD({
locale,
Expand Down
3 changes: 2 additions & 1 deletion app/[locale]/roadmap/page-jsonld.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ import PageJsonLD from "@/components/PageJsonLD"

import { normalizeUrlForJsonLd } from "@/lib/utils/url"

import { BASE_GRAPH_NODES, REFERENCE } from "@/lib/jsonld/constants"
import { BASE_GRAPH_NODES } from "@/lib/jsonld/constants"
import { REFERENCE } from "@/lib/jsonld/references"

export default async function RoadmapPageJsonLD({
locale,
Expand Down
3 changes: 2 additions & 1 deletion app/[locale]/run-a-node/page-jsonld.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ import PageJsonLD from "@/components/PageJsonLD"

import { normalizeUrlForJsonLd } from "@/lib/utils/url"

import { BASE_GRAPH_NODES, REFERENCE } from "@/lib/jsonld/constants"
import { BASE_GRAPH_NODES } from "@/lib/jsonld/constants"
import { REFERENCE } from "@/lib/jsonld/references"

export default async function RunANodePageJsonLD({
locale,
Expand Down
3 changes: 2 additions & 1 deletion app/[locale]/stablecoins/page-jsonld.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ import PageJsonLD from "@/components/PageJsonLD"

import { normalizeUrlForJsonLd } from "@/lib/utils/url"

import { BASE_GRAPH_NODES, REFERENCE } from "@/lib/jsonld/constants"
import { BASE_GRAPH_NODES } from "@/lib/jsonld/constants"
import { REFERENCE } from "@/lib/jsonld/references"

export default async function StablecoinsPageJsonLD({ locale, contributors }) {
const t = await getTranslations("page-stablecoins")
Expand Down
3 changes: 2 additions & 1 deletion app/[locale]/staking/deposit-contract/page-jsonld.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ import PageJsonLD from "@/components/PageJsonLD"

import { normalizeUrlForJsonLd } from "@/lib/utils/url"

import { BASE_GRAPH_NODES, REFERENCE } from "@/lib/jsonld/constants"
import { BASE_GRAPH_NODES } from "@/lib/jsonld/constants"
import { REFERENCE } from "@/lib/jsonld/references"

export default async function DepositContractJsonLD({
locale,
Expand Down
3 changes: 2 additions & 1 deletion app/[locale]/staking/page-jsonld.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ import PageJsonLD from "@/components/PageJsonLD"

import { normalizeUrlForJsonLd } from "@/lib/utils/url"

import { BASE_GRAPH_NODES, REFERENCE } from "@/lib/jsonld/constants"
import { BASE_GRAPH_NODES } from "@/lib/jsonld/constants"
import { REFERENCE } from "@/lib/jsonld/references"

export default async function StakingPageJsonLD({
locale,
Expand Down
Loading
Loading