Skip to content

Commit 291ab9d

Browse files
committed
refactor: update gradient direction in styles for consistency across documentation
1 parent fe248ea commit 291ab9d

File tree

8 files changed

+57
-57
lines changed

8 files changed

+57
-57
lines changed

src/modules/helloWorld/GrantAccess.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242

4343
<div
4444
v-if="grantedAccess"
45-
class="mt-8 w-full rounded-md bg-gradient-to-br from-green-400/10 to-green-400/5 p-6 text-center"
45+
class="mt-8 w-full rounded-md bg-gradient-to-r from-green-400/10 to-green-400/5 p-6 text-center"
4646
>
4747
<div
4848
class="mb-2 flex items-center justify-center gap-3 text-xl font-medium text-green-500"

src/modules/helloWorld/ProtectData.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353

5454
<div
5555
v-if="protectedDataAddress"
56-
class="mt-8 w-full rounded-md bg-gradient-to-br from-green-400/10 to-green-400/5 p-6 text-center"
56+
class="mt-8 w-full rounded-md bg-gradient-to-r from-green-400/10 to-green-400/5 p-6 text-center"
5757
>
5858
<div
5959
class="mb-2 flex items-center justify-center gap-3 text-xl font-medium text-green-500"

src/overview/helloWorld.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ import InfoIcon from '../components/InfoIcon.vue'
6868
</div>
6969
</a>
7070

71-
<a href="helloWorld/5-bonusChapter" class="bg-gradient-to-br from-[#ce2c68] to-[#3f0d3f] text-white rounded-[6px] p-6 shadow-md hover:shadow-lg transition-all! duration-300 hover:-translate-y-1 flex gap-4 no-underline! relative overflow-hidden before:absolute before:top-0 before:left-0 before:w-full before:h-1 before:bg-gradient-to-br before:from-[#ce2c68] before:to-[#3f0d3f] before:transform before:scale-x-0 before:origin-left before:transition-transform before:duration-300 hover:before:scale-x-100">
71+
<a href="helloWorld/5-bonusChapter" class="bg-gradient-to-r from-[#ce2c68] to-[#3f0d3f] text-white rounded-[6px] p-6 shadow-md hover:shadow-lg transition-all! duration-300 hover:-translate-y-1 flex gap-4 no-underline! relative overflow-hidden before:absolute before:top-0 before:left-0 before:w-full before:h-1 before:bg-gradient-to-r before:from-[#ce2c68] before:to-[#3f0d3f] before:transform before:scale-x-0 before:origin-left before:transition-transform before:duration-300 hover:before:scale-x-100">
7272
<div class="text-3xl">✨</div>
7373
<div class="flex flex-col h-full min-h-[120px]">
7474
<h3 class="m-0 text-lg leading-tight text-white">Bonus Chapter</h3>
@@ -116,6 +116,6 @@ Before you begin, make sure you have:
116116
</div>
117117
</div>
118118

119-
<div class="bg-gradient-to-br from-green-400/10 to-green-400/5 rounded-[6px] p-6 border-l-4 border-green-600 mb-6">
120-
<p class="m-0 font-medium">Need help setting up or got some questions? Join our <a target="_blank" href="https://discord.gg/6yrgRH6ATD">Discord Community</a> for support!</p>
119+
<div class="bg-gradient-to-r from-green-400/10 to-green-400/5 rounded-[6px] p-6 border-l-4 border-green-600 mb-6">
120+
<p class="m-0! font-medium">Need help setting up or got some questions? Join our <a target="_blank" href="https://discord.gg/6yrgRH6ATD">Discord Community</a> for support!</p>
121121
</div>

src/overview/helloWorld/1-overview.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ description:
5959
</div>
6060
</div>
6161

62-
<div class="bg-gradient-to-br from-purple-400/10 to-purple-400/5 rounded-[6px] p-6 border-l-4 border-fuchsia-700 mb-6">
63-
<p>This is where <span class="text-fuchsia-700 font-semibold">iExec</span> comes in! We provide tools to easily add <span class="text-fuchsia-700 font-semibold">privacy</span> and <span class="text-fuchsia-700 font-semibold">monetization</span> features into your dApp.</p>
62+
<div class="bg-gradient-to-r from-purple-400/10 to-purple-400/5 rounded-[6px] p-6 border-l-4 border-fuchsia-700 mb-6">
63+
<p class="m-0!">This is where <span class="text-fuchsia-700 font-semibold">iExec</span> comes in! We provide tools to easily add <span class="text-fuchsia-700 font-semibold">privacy</span> and <span class="text-fuchsia-700 font-semibold">monetization</span> features into your dApp.</p>
6464
</div>
6565

6666
## 👷 How do we solve it?
@@ -75,8 +75,8 @@ Execution Environment (TEE)</a></span> and
7575
<span class="text-fuchsia-700 font-semibold"><a target="_blank" href="https://www.iex.ec/academy/iexec-decentralized-confidential-computing">Confidential
7676
Computing</a></span> technologies.
7777

78-
<div class="bg-gradient-to-br from-purple-400/10 to-purple-400/5 rounded-[6px] p-6 border-l-4 border-fuchsia-700 mb-6">
79-
<p>Our technology allows users to control the <span class="text-fuchsia-700 font-semibold">ownership</span>,
78+
<div class="bg-gradient-to-r from-purple-400/10 to-purple-400/5 rounded-[6px] p-6 border-l-4 border-fuchsia-700 mb-6">
79+
<p class="m-0!">Our technology allows users to control the <span class="text-fuchsia-700 font-semibold">ownership</span>,
8080
<span class="text-fuchsia-700 font-semibold">confidentiality</span>, and <span class="text-fuchsia-700 font-semibold">monetization</span> of their data and digital assets within the <span class="text-fuchsia-700 font-semibold">Web3</span> ecosystem.</p>
8181
</div>
8282

@@ -103,8 +103,8 @@ iExec combines three fundamental elements that work together seamlessly:
103103
- Regain ownership of your data
104104
- Provides transparent governance rules for data access
105105

106-
<div class="bg-gradient-to-br from-purple-400/10 to-purple-400/5 rounded-[6px] p-6 border-l-4 border-fuchsia-700 mb-6">
107-
<p>By merging <span class="text-fuchsia-700 font-semibold">blockchain technology</span> with <span class="text-fuchsia-700 font-semibold">confidential computing</span>, we've pioneered <span class="text-fuchsia-700 font-semibold"><a target="_blank" href="https://www.iex.ec/academy/iexec-decentralized-confidential-computing">DeCC</a></span> (Decentralized Confidential Computing) to take <span class="text-fuchsia-700 font-semibold">privacy</span> and <span class="text-fuchsia-700 font-semibold">security</span> to the next level in <span class="text-fuchsia-700 font-semibold">Web3</span> ecosystems.</p>
106+
<div class="bg-gradient-to-r from-purple-400/10 to-purple-400/5 rounded-[6px] p-6 border-l-4 border-fuchsia-700 mb-6">
107+
<p class="m-0!">By merging <span class="text-fuchsia-700 font-semibold">blockchain technology</span> with <span class="text-fuchsia-700 font-semibold">confidential computing</span>, we've pioneered <span class="text-fuchsia-700 font-semibold"><a target="_blank" href="https://www.iex.ec/academy/iexec-decentralized-confidential-computing">DeCC</a></span> (Decentralized Confidential Computing) to take <span class="text-fuchsia-700 font-semibold">privacy</span> and <span class="text-fuchsia-700 font-semibold">security</span> to the next level in <span class="text-fuchsia-700 font-semibold">Web3</span> ecosystems.</p>
108108
</div>
109109

110110
### 🧸 DeCC explained like you're 5
@@ -221,8 +221,8 @@ And many other use cases...
221221
</div>
222222
</div>
223223

224-
<div class="bg-gradient-to-br from-fuchsia-400/10 to-fuchsia-400/5 rounded-[6px] p-6 border-l-4 border-fuchsia-700 mb-6">
225-
<p>In the next chapters, we'll follow Alice and Bob's journey step by step, starting with how Alice can <span class="text-fuchsia-700 font-semibold">protect her sensitive data</span> and then how Bob can <span class="text-fuchsia-700 font-semibold">build and deploy a confidential app</span> to process it.</p>
224+
<div class="bg-gradient-to-r from-fuchsia-400/10 to-fuchsia-400/5 rounded-[6px] p-6 border-l-4 border-fuchsia-700 mb-6">
225+
<p class="m-0!">In the next chapters, we'll follow Alice and Bob's journey step by step, starting with how Alice can <span class="text-fuchsia-700 font-semibold">protect her sensitive data</span> and then how Bob can <span class="text-fuchsia-700 font-semibold">build and deploy a confidential app</span> to process it.</p>
226226
</div>
227227

228228
## 🎯 Key takeaways
@@ -251,6 +251,6 @@ And many other use cases...
251251
</div>
252252
</div>
253253

254-
<div class="bg-gradient-to-br from-green-400/10 to-green-400/5 rounded-[6px] p-6 border-l-4 border-green-600 mb-6">
255-
<p>Now that you understand the fundamentals, let's dive into protecting your first piece of data! With Alice!</p>
254+
<div class="bg-gradient-to-r from-green-400/10 to-green-400/5 rounded-[6px] p-6 border-l-4 border-green-600 mb-6">
255+
<p class="m-0!">Now that you understand the fundamentals, let's dive into protecting your first piece of data! With Alice!</p>
256256
</div>

src/overview/helloWorld/2-protectData.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ import ProtectData from '../../modules/helloWorld/ProtectData.vue';
1111
<p>Let's follow Alice as she learns how to protect her data using DataProtector on Bob's dApp, our developer tool for protecting data creation and management.</p>
1212
</div>
1313

14-
<div class="bg-gradient-to-br from-fuchsia-400/10 to-fuchsia-400/5 rounded-[6px] p-6 border-l-4 border-fuchsia-700 mb-6">
15-
<p><strong>Protected data</strong> is encrypted data that remains confidential throughout its entire lifecycle - during storage, transfer and processing.</p>
14+
<div class="bg-gradient-to-r from-fuchsia-400/10 to-fuchsia-400/5 rounded-[6px] p-6 border-l-4 border-fuchsia-700 mb-6">
15+
<p class="m-0!"><strong>Protected data</strong> is encrypted data that remains confidential throughout its entire lifecycle - during storage, transfer and processing.</p>
1616
</div>
1717

1818
## 🧩 DataProtector, key features
@@ -37,8 +37,8 @@ their dApps with these key features:
3737
Features an SDK for easy integration into your DApp, enhancing functionality
3838
and user experience.
3939

40-
<div class="bg-gradient-to-br from-fuchsia-400/10 to-fuchsia-400/5 rounded-[6px] p-6 border-l-4 border-fuchsia-700 mb-6">
41-
<p> DataProtector interacts with iExec's <a href="https://chainlist.org/?search=bellecour" target="_blank">Bellecour sidechain</a>, which is gasless, meaning you can use it completely free without needing any tokens!</p>
40+
<div class="bg-gradient-to-r from-fuchsia-400/10 to-fuchsia-400/5 rounded-[6px] p-6 border-l-4 border-fuchsia-700 mb-6">
41+
<p class="m-0!">DataProtector interacts with iExec's <a href="https://chainlist.org/?search=bellecour" target="_blank">Bellecour sidechain</a>, which is gasless, meaning you can use it completely free without needing any tokens!</p>
4242
</div>
4343

4444
## 🧩 Let's create protected data
@@ -47,8 +47,8 @@ their dApps with these key features:
4747

4848
## 🧩 What happened under the hood
4949

50-
<div class="bg-gradient-to-br from-fuchsia-400/10 to-fuchsia-400/5 rounded-[6px] p-6 border-l-4 border-fuchsia-700 mb-6">
51-
<p>You won't believe how easy it is to protect your data with DataProtector. Just a few lines of code, and you're done!</p>
50+
<div class="bg-gradient-to-r from-fuchsia-400/10 to-fuchsia-400/5 rounded-[6px] p-6 border-l-4 border-fuchsia-700 mb-6">
51+
<p class="m-0!">You won't believe how easy it is to protect your data with DataProtector. Just a few lines of code, and you're done!</p>
5252
</div>
5353

5454
To use it, simply call the `protectData` method from the **DataProtector SDK**
@@ -149,8 +149,8 @@ const { address: protectedDataAddress } = await dataProtectorCore.protectData({
149149
});
150150
```
151151

152-
<div class="bg-gradient-to-br from-fuchsia-400/10 to-fuchsia-400/5 rounded-[6px] p-6 border-l-4 border-fuchsia-700 mb-6">
153-
<p>Check out our <a target="_blank" href="https://codesandbox.io/p/github/iExecBlockchainComputing/dataprotector-sandbox/main?file=%2Fsrc%2Fmain.tsx%3A18%2C7">code sandbox</a> for ready-to-use examples!</p>
152+
<div class="bg-gradient-to-r from-fuchsia-400/10 to-fuchsia-400/5 rounded-[6px] p-6 border-l-4 border-fuchsia-700 mb-6">
153+
<p class="m-0!">Check out our <a target="_blank" href="https://codesandbox.io/p/github/iExecBlockchainComputing/dataprotector-sandbox/main?file=%2Fsrc%2Fmain.tsx%3A18%2C7">code sandbox</a> for ready-to-use examples!</p>
154154
</div>
155155

156156
## 🎯 Key takeaways
@@ -163,6 +163,6 @@ const { address: protectedDataAddress } = await dataProtectorCore.protectData({
163163

164164
- 🔌 **Integration** is simple with our developer tools
165165

166-
<div class="bg-gradient-to-br from-green-400/10 to-green-400/5 rounded-[6px] p-6 border-l-4 border-green-600 mb-6">
167-
<p>In the next chapter, we'll show you how to build, deploy, and run an iApp to process your protected data. Let's go! 🚀</p>
166+
<div class="bg-gradient-to-r from-green-400/10 to-green-400/5 rounded-[6px] p-6 border-l-4 border-green-600 mb-6">
167+
<p class="m-0!">In the next chapter, we'll show you how to build, deploy, and run an iApp to process your protected data. Let's go! 🚀</p>
168168
</div>

src/overview/helloWorld/3-buildIApp.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ Before getting started, make sure you have:
4242
</div>
4343
</div>
4444

45-
<div class="bg-gradient-to-br from-fuchsia-400/10 to-fuchsia-400/5 rounded-[6px] p-6 border-l-4 border-fuchsia-700 mb-6">
46-
<p>Don't worry! All secrets used in this tutorial stay on your machine and aren’t shared with anyone. You’ll only need them to run the <code>iApp run</code> command.</p>
45+
<div class="bg-gradient-to-r from-fuchsia-400/10 to-fuchsia-400/5 rounded-[6px] p-6 border-l-4 border-fuchsia-700 mb-6">
46+
<p class="m-0!">Don't worry! All secrets used in this tutorial stay on your machine and aren’t shared with anyone. You’ll only need them to run the <code>iApp run</code> command.</p>
4747
</div>
4848

4949
## 🚀 Types of iApps You Can Build
@@ -71,8 +71,8 @@ Transfer, sell or rent protected content to authorized users.
7171
[Github](https://github.com/iExecBlockchainComputing/dataprotector-sdk/tree/main/packages/protected-data-delivery-dapp)
7272
| [Documentation](../../tools/dataProtector/dataProtectorSharing)
7373

74-
<div class="bg-gradient-to-br from-fuchsia-400/10 to-fuchsia-400/5 rounded-[6px] p-6 border-l-4 border-fuchsia-700 mb-6">
75-
<p>These are just a few examples, the possibilities are endless. Want to explore iApp Generator? Check out our <a href="../../tools/iapp-generator" target="_blank">documentation</a> and see what you can build!</p>
74+
<div class="bg-gradient-to-r from-fuchsia-400/10 to-fuchsia-400/5 rounded-[6px] p-6 border-l-4 border-fuchsia-700 mb-6">
75+
<p class="m-0!">These are just a few examples, the possibilities are endless. Want to explore iApp Generator? Check out our <a href="../../tools/iapp-generator" target="_blank">documentation</a> and see what you can build!</p>
7676
</div>
7777

7878
## 💾 Installation (win / mac / linux)
@@ -158,8 +158,8 @@ You will be prompted with the following message:
158158
advanced
159159
```
160160

161-
<div class="bg-gradient-to-br from-fuchsia-400/10 to-fuchsia-400/5 rounded-[6px] p-6 border-l-4 border-fuchsia-700 mb-6">
162-
<p>We recommend selecting <span class="text-fuchsia-700 font-semibold">"Hello World"</span> to quickly discover how iApp works! use <span class="text-fuchsia-700 font-semibold">advanced</span> only if you are familiar with iExec.</p>
161+
<div class="bg-gradient-to-r from-fuchsia-400/10 to-fuchsia-400/5 rounded-[6px] p-6 border-l-4 border-fuchsia-700 mb-6">
162+
<p class="m-0!">We recommend selecting <span class="text-fuchsia-700 font-semibold">"Hello World"</span> to quickly discover how iApp works! use <span class="text-fuchsia-700 font-semibold">advanced</span> only if you are familiar with iExec.</p>
163163
</div>
164164

165165
```txt
@@ -184,10 +184,10 @@ iapp test
184184

185185
It uses your local docker to build and execute the app.
186186

187-
<div class="bg-gradient-to-br from-fuchsia-400/10 to-fuchsia-400/5 rounded-[6px] p-6 border-l-4 border-fuchsia-700 mb-6">
188-
<p>- If you have <code>Error: Docker daemon is not accessible</code> Make sure Docker is installed and running.</p>
187+
<div class="bg-gradient-to-r from-fuchsia-400/10 to-fuchsia-400/5 rounded-[6px] p-6 border-l-4 border-fuchsia-700 mb-6">
188+
<p class="m-0!">- If you have <code>Error: Docker daemon is not accessible</code> Make sure Docker is installed and running.</p>
189189
<br>
190-
<p>- If you have <code>Error: Failed to locate iApp project root</code> error: Ensure you are in your project folder before proceeding.</p>
190+
<p class="m-0!">- If you have <code>Error: Failed to locate iApp project root</code> error: Ensure you are in your project folder before proceeding.</p>
191191
</div>
192192

193193
You can see the output of the computation by saying yes to the question:
@@ -218,8 +218,8 @@ default protectedData mock.
218218
iapp test --protectedData default
219219
```
220220

221-
<div class="bg-gradient-to-br from-fuchsia-400/10 to-fuchsia-400/5 rounded-[6px] p-6 border-l-4 border-fuchsia-700 mb-6">
222-
<p>You can check how args and protectedData are processed in <code> src/app.js</code> or <code> src/app.py</code></p>
221+
<div class="bg-gradient-to-r from-fuchsia-400/10 to-fuchsia-400/5 rounded-[6px] p-6 border-l-4 border-fuchsia-700 mb-6">
222+
<p class="m-0!">You can check how args and protectedData are processed in <code> src/app.js</code> or <code> src/app.py</code></p>
223223
</div>
224224

225225
## 🚀 Deploy Your iApp
@@ -256,8 +256,8 @@ Once you have your token, you can deploy your iApp using the following command:
256256
iapp deploy
257257
```
258258

259-
<div class="bg-gradient-to-br from-fuchsia-400/10 to-fuchsia-400/5 rounded-[6px] p-6 border-l-4 border-fuchsia-700 mb-6">
260-
<p>📝 Make sure to save your <span class="text-fuchsia-700 font-semibold">iApp address</span> after deployment - you'll need it later!</p>
259+
<div class="bg-gradient-to-r from-fuchsia-400/10 to-fuchsia-400/5 rounded-[6px] p-6 border-l-4 border-fuchsia-700 mb-6">
260+
<p class="m-0!">📝 Make sure to save your <span class="text-fuchsia-700 font-semibold">iApp address</span> after deployment - you'll need it later!</p>
261261
<p>You can find your iApp address in the <code>iexec-app.json</code> file in your project folder.</p>
262262
<br>
263263
<p>⚠️ If you encounter issues during deployment, make sure Docker's BuildKit feature is enabled and supports AMD64 architecture:</p>
@@ -284,8 +284,8 @@ allowing it to run securely in a **Trusted Execution Environment (TEE)** for
284284
**confidential computing**. If you want to explore further, you can check the
285285
protocol documentation [here](https://protocol.docs.iex.ec/).
286286

287-
<div class="bg-gradient-to-br from-green-400/10 to-green-400/5 rounded-[6px] p-6 border-l-4 border-green-600 mb-6">
288-
<p>🎉 Congratulations! You've successfully deployed and run your first iApp on iExec. This is a significant milestone - your application is now ready to securely process confidential data in a trusted environment.</p>
287+
<div class="bg-gradient-to-r from-green-400/10 to-green-400/5 rounded-[6px] p-6 border-l-4 border-green-600 mb-6">
288+
<p class="m-0!">🎉 Congratulations! You've successfully deployed and run your first iApp on iExec. This is a significant milestone - your application is now ready to securely process confidential data in a trusted environment.</p>
289289
</div>
290290

291291
## 🎯 Key takeaways
@@ -296,6 +296,6 @@ protocol documentation [here](https://protocol.docs.iex.ec/).
296296
- ⛓️ **Deployment:** Apps are deployed on iExec protocol to run in trusted
297297
environments
298298

299-
<div class="bg-gradient-to-br from-green-400/10 to-green-400/5 rounded-[6px] p-6 border-l-4 border-green-600 mb-6">
300-
<p>Next up: Alice will learn how to authorize the iApp and Bob to access and use her protected data! 🚀</p>
299+
<div class="bg-gradient-to-r from-green-400/10 to-green-400/5 rounded-[6px] p-6 border-l-4 border-green-600 mb-6">
300+
<p class="m-0!">Next up: Alice will learn how to authorize the iApp and Bob to access and use her protected data! 🚀</p>
301301
</div>

0 commit comments

Comments
 (0)