Skip to content

Commit b785a33

Browse files
committed
Merge branch 'feature/explorer-part-2' of https://github.com/iExecBlockchainComputing/documentation into feature/explorer-part-2
2 parents 21e646b + 646fb36 commit b785a33

File tree

3 files changed

+22
-11
lines changed

3 files changed

+22
-11
lines changed

src/assets/icons/iexec-logo.png

5.97 KB
Loading

src/components/ProjectCard.vue

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,15 @@
55
<!-- Icon -->
66
<div class="flex items-start gap-2">
77
<div
8-
class="border-border bg-bg flex h-14 w-14 items-center justify-center rounded-xl border"
8+
class="border-border bg-bg flex h-14 w-14 items-center justify-center overflow-hidden rounded-xl border p-2"
99
>
10-
<Icon :icon="icon" height="24" />
10+
<img
11+
v-if="iconImage"
12+
:src="iconImage"
13+
:alt="title"
14+
class="h-full w-full object-contain"
15+
/>
16+
<Icon v-else :icon="icon" height="24" />
1117
</div>
1218
<div>
1319
<h3 class="mt-0! mb-1! text-lg font-semibold">{{ title }}</h3>
@@ -78,7 +84,8 @@ import Button from './ui/Button.vue';
7884
interface Props {
7985
title: string;
8086
description: string;
81-
icon: string;
87+
icon?: string;
88+
iconImage?: string;
8289
status: 'available' | 'coming-soon' | 'interactive';
8390
statusLabel: string;
8491
buttonLabel: string;
@@ -91,7 +98,10 @@ interface Props {
9198
githubLabel?: string;
9299
}
93100
94-
const props = defineProps<Props>();
101+
const props = withDefaults(defineProps<Props>(), {
102+
icon: '',
103+
iconImage: '',
104+
});
95105
96106
const statusIcon = computed(() => {
97107
switch (props.status) {

src/overview/tooling-and-explorers/subgraph-explorer.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ data without having to run your own indexing infrastructure.
3333
and protected data
3434
- **GraphQL Interface**: Powerful query language for flexible data retrieval
3535
- **Multi-network Support**: Access data across different blockchain networks
36-
- **Cost-effective**: No need to run your own indexing infrastructure
3736

3837
## 🗂️ Available Subgraphs
3938

@@ -45,7 +44,7 @@ protocol.
4544
<ProjectCard
4645
title="iExec PoCo - Arbitrum Mainnet"
4746
description="Indexes Proof of Contribution (PoCo) data on Arbitrum mainnet, including apps, deals, tasks, and workerpools"
48-
icon="mdi:database-network"
47+
icon-image="/assets/icons/arbitrum-logo.png"
4948
status="available"
5049
status-label="Live"
5150
button-label="Explore Subgraph"
@@ -58,7 +57,7 @@ protocol.
5857
<ProjectCard
5958
title="iExec DataProtector - Arbitrum Mainnet"
6059
description="Indexes DataProtector protocol data on Arbitrum mainnet, including protected data, access grants, and sharing mechanisms"
61-
icon="mdi:shield-lock"
60+
icon-image="/assets/icons/arbitrum-logo.png"
6261
status="available"
6362
status-label="Live"
6463
button-label="Explore Subgraph"
@@ -71,7 +70,7 @@ protocol.
7170
<ProjectCard
7271
title="iExec PoCo - Bellecour Mainnet"
7372
description="Indexes Proof of Contribution (PoCo) data on Bellecour mainnet, including apps, deals, tasks, and workerpools"
74-
icon="mdi:database-network"
73+
icon-image="/assets/icons/iexec-logo.png"
7574
status="available"
7675
status-label="Live"
7776
button-label="Explore Subgraph"
@@ -84,15 +83,17 @@ protocol.
8483
<ProjectCard
8584
title="iExec DataProtector - Bellecour Mainnet"
8685
description="Indexes DataProtector protocol data on Bellecour mainnet, including protected data, access grants, and sharing mechanisms"
87-
icon="mdi:shield-lock"
86+
icon-image="/assets/icons/iexec-logo.png"
8887
status="available"
8988
status-label="Live"
9089
button-label="Explore Subgraph"
9190
button-icon="mdi:open-in-new"
9291
button-href="https://thegraph.iex.ec/subgraphs/name/bellecour/dataProtector-v2/graphql?query=query+MyQuery+%7B%0A++protectedDatas+%7B%0A++++id%0A++++name%0A++++owner+%7B%0A++++++id%0A++++%7D%0A++%7D%0A%7D"
9392
button-target="_blank"
9493
button-rel="noreferrer"
95-
/> </CardGrid>
94+
/>
95+
96+
</CardGrid>
9697

9798
## 🔍 GraphQL Explorer Interface
9899

@@ -108,7 +109,7 @@ explore the available data and construct complex queries.
108109

109110
### How to Use the GraphQL Explorer
110111

111-
1. **Navigate to a Subgraph**: Click on any of the subgraph links above tos
112+
1. **Navigate to a Subgraph**: Click on any of the subgraph links above to
112113
access the GraphQL explorer
113114
2. **Explore the Schema**: Use the "Schema" tab to browse available entities and
114115
their fields

0 commit comments

Comments
 (0)