Skip to content

Commit 3713633

Browse files
committed
fix: update ProjectCard usage for consistent structure and styling in documentation
1 parent 75089e9 commit 3713633

File tree

3 files changed

+63
-60
lines changed

3 files changed

+63
-60
lines changed

src/components/ProjectCard.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
<div v-if="githubUrl" class="grid gap-3">
3939
<Button
4040
as="a"
41+
variant="secondary"
4142
:href="buttonHref"
4243
:disabled="buttonDisabled"
4344
:target="buttonTarget"
@@ -46,6 +47,7 @@
4647
>
4748
<Icon :icon="buttonIcon" :height="16" />
4849
{{ buttonLabel }}
50+
<Icon icon="lucide:arrow-up-right" :height="20" />
4951
</Button>
5052
<Button
5153
as="a"
@@ -57,11 +59,13 @@
5759
>
5860
<Icon icon="mdi:github" :height="16" />
5961
{{ githubLabel || 'View Code' }}
62+
<Icon icon="lucide:arrow-up-right" :height="20" />
6063
</Button>
6164
</div>
6265
<Button
6366
v-else
6467
:as="buttonHref ? 'a' : 'button'"
68+
variant="secondary"
6569
:href="buttonHref"
6670
:disabled="buttonDisabled"
6771
:target="buttonTarget"
@@ -70,6 +74,7 @@
7074
>
7175
<Icon :icon="buttonIcon" :height="16" />
7276
{{ buttonLabel }}
77+
<Icon v-if="buttonHref" icon="lucide:arrow-up-right" :height="20" />
7378
</Button>
7479
</div>
7580
</div>

src/get-started/quick-start.md

Lines changed: 34 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -56,49 +56,46 @@ Explore and experiment with iExec features directly in your browser. Perfect for
5656
learning and prototyping.
5757

5858
<CardGrid>
59-
<ProjectCard
60-
title="DataProtector Core"
61-
description="Essential data protection features including encryption, access control, and secure storage."
62-
icon="mdi:shield-lock"
63-
status="interactive"
64-
statusLabel="Interactive"
65-
buttonLabel="Open Sandbox"
66-
buttonIcon="mdi:code-braces"
67-
buttonHref="https://codesandbox.io/p/github/iExecBlockchainComputing/dataprotector-sandbox/main"
68-
/>
6959

7060
<ProjectCard
71-
title="DataProtector Sharing"
72-
description="Advanced data sharing capabilities with granular permissions and monetization features."
73-
icon="mdi:share-variant"
74-
status="interactive"
75-
statusLabel="Interactive"
76-
buttonLabel="Open Sandbox"
77-
buttonIcon="mdi:code-braces"
78-
buttonHref="https://codesandbox.io/p/github/iExecBlockchainComputing/dataprotector-sharing-sandbox/main"
79-
/>
61+
title="DataProtector Core"
62+
description="Essential data protection features including encryption, access control, and secure storage."
63+
icon="mdi:shield-lock"
64+
status="interactive"
65+
statusLabel="Interactive"
66+
buttonLabel="Open Sandbox"
67+
buttonHref="https://codesandbox.io/p/github/iExecBlockchainComputing/dataprotector-sandbox/main"
68+
/>
8069

8170
<ProjectCard
82-
title="Web3 Telegram"
83-
description="Privacy-preserving Telegram messaging integration with user consent management."
84-
icon="mdi:message-lock"
85-
status="interactive"
86-
statusLabel="Interactive"
87-
buttonLabel="Open Sandbox"
88-
buttonIcon="mdi:code-braces"
89-
buttonHref="https://codesandbox.io/p/github/iExecBlockchainComputing/web3-telegram-sandbox/main"
90-
/>
71+
title="DataProtector Sharing"
72+
description="Advanced data sharing capabilities with granular permissions and monetization features."
73+
icon="mdi:share-variant"
74+
status="interactive"
75+
statusLabel="Interactive"
76+
buttonLabel="Open Sandbox"
77+
buttonHref="https://codesandbox.io/p/github/iExecBlockchainComputing/dataprotector-sharing-sandbox/main"
78+
/>
9179

9280
<ProjectCard
93-
title="Web3 Mail"
94-
description="Secure email communication for Web3 users without revealing personal email addresses."
95-
icon="mdi:email-lock"
96-
status="interactive"
97-
statusLabel="Interactive"
98-
buttonLabel="Open Sandbox"
99-
buttonIcon="mdi:code-braces"
100-
buttonHref="https://codesandbox.io/p/github/iExecBlockchainComputing/web3mail-sandbox/main"
101-
/>
81+
title="Web3 Telegram"
82+
description="Privacy-preserving Telegram messaging integration with user consent management."
83+
icon="mdi:message-lock"
84+
status="interactive"
85+
statusLabel="Interactive"
86+
buttonLabel="Open Sandbox"
87+
buttonHref="https://codesandbox.io/p/github/iExecBlockchainComputing/web3-telegram-sandbox/main"
88+
/>
89+
90+
<ProjectCard
91+
title="Web3 Mail"
92+
description="Secure email communication for Web3 users without revealing personal email addresses."
93+
icon="mdi:email-lock"
94+
status="interactive"
95+
statusLabel="Interactive"
96+
buttonLabel="Open Sandbox"
97+
buttonHref="https://codesandbox.io/p/github/iExecBlockchainComputing/web3mail-sandbox/main"
98+
/>
10299

103100
</CardGrid>
104101

src/references/dataProtector/getting-started.md

Lines changed: 24 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -220,31 +220,32 @@ discontinuity.
220220
## Sandbox
221221

222222
<CardGrid>
223-
<ProjectCard
224-
title="DataProtector Core"
225-
description="Essential data protection features including encryption, access control, and secure storage."
226-
icon="mdi:shield-lock"
227-
status="interactive"
228-
statusLabel="Interactive"
229-
buttonLabel="Open Sandbox"
230-
buttonIcon="mdi:code-braces"
231-
buttonHref="https://codesandbox.io/p/github/iExecBlockchainComputing/dataprotector-sandbox/main"
232-
githubUrl="https://github.com/iExecBlockchainComputing/dataprotector-sandbox"
233-
githubLabel="GitHub repository sandbox"
234-
/>
235223

236224
<ProjectCard
237-
title="DataProtector Sharing"
238-
description="Advanced data sharing capabilities with granular permissions and monetization features."
239-
icon="mdi:share-variant"
240-
status="interactive"
241-
statusLabel="Interactive"
242-
buttonLabel="Open Sandbox"
243-
buttonIcon="mdi:code-braces"
244-
buttonHref="https://codesandbox.io/p/github/iExecBlockchainComputing/dataprotector-sharing-sandbox/main"
245-
githubUrl="https://github.com/iExecBlockchainComputing/dataprotector-sharing-sandbox"
246-
githubLabel="GitHub repository sandbox"
247-
/> </CardGrid>
225+
title="DataProtector Core"
226+
description="Essential data protection features including encryption, access control, and secure storage."
227+
icon="mdi:shield-lock"
228+
status="interactive"
229+
statusLabel="Interactive"
230+
buttonLabel="Open Sandbox"
231+
buttonHref="https://codesandbox.io/p/github/iExecBlockchainComputing/dataprotector-sandbox/main"
232+
githubUrl="https://github.com/iExecBlockchainComputing/dataprotector-sandbox"
233+
githubLabel="GitHub repository sandbox"
234+
/>
235+
236+
<ProjectCard
237+
title="DataProtector Sharing"
238+
description="Advanced data sharing capabilities with granular permissions and monetization features."
239+
icon="mdi:share-variant"
240+
status="interactive"
241+
statusLabel="Interactive"
242+
buttonLabel="Open Sandbox"
243+
buttonHref="https://codesandbox.io/p/github/iExecBlockchainComputing/dataprotector-sharing-sandbox/main"
244+
githubUrl="https://github.com/iExecBlockchainComputing/dataprotector-sharing-sandbox"
245+
githubLabel="GitHub repository sandbox"
246+
/>
247+
248+
</CardGrid>
248249

249250
<script setup>
250251
import CardGrid from '@/components/CardGrid.vue';

0 commit comments

Comments
 (0)