Skip to content

Commit 999434c

Browse files
authored
Merge branch 'main' into feature/use-iapp
2 parents 7f7713d + cead2a6 commit 999434c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+5419
-4050
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ jobs:
1616

1717
- name: Setup Node
1818
uses: actions/setup-node@v4
19+
with:
20+
node-version: '22'
1921

2022
- name: Install dependencies
2123
run: |

.vitepress/config.mts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { transformerTwoslash } from '@shikijs/vitepress-twoslash';
22
import tailwindcss from '@tailwindcss/vite';
33
import { defineConfig } from 'vitepress';
4+
import { fileURLToPath, URL } from 'node:url';
45
import { getSidebar } from './sidebar';
56
import {
67
groupIconMdPlugin,
@@ -17,6 +18,11 @@ export default defineConfig({
1718
ignoreDeadLinks: true,
1819
vite: {
1920
plugins: [tailwindcss(), groupIconVitePlugin()],
21+
resolve: {
22+
alias: {
23+
'@': fileURLToPath(new URL('../src', import.meta.url)),
24+
},
25+
},
2026
},
2127
srcDir: './src',
2228
markdown: {
@@ -89,6 +95,12 @@ export default defineConfig({
8995
{ text: 'Build iApp', link: '/build-iapp/what-is-iapp' },
9096
{ text: 'Use iApp', link: '/use-iapp/introduction' },
9197
{ text: 'Protocol', link: '/protocol/sdk' },
98+
{
99+
component: 'ChainSelector',
100+
props: {
101+
className: 'w-48',
102+
},
103+
},
92104
],
93105
outline: {
94106
level: [2, 4],

.vitepress/sidebar.ts

Lines changed: 12 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ export function getSidebar() {
3838
text: '📋 Use Cases',
3939
link: '/overview/use-cases',
4040
},
41+
{
42+
text: '🪙 RLC Token',
43+
link: '/overview/rlc',
44+
},
4145
{
4246
text: '🤖 Develop with AI',
4347
link: '/overview/develop-with-ai',
@@ -55,6 +59,10 @@ export function getSidebar() {
5559
text: 'Builder Dashboard',
5660
link: '/overview/tooling-and-explorers/builder-dashboard',
5761
},
62+
{
63+
text: 'RLC Bridge',
64+
link: '/overview/tooling-and-explorers/bridge',
65+
},
5866
{
5967
text: 'Subgraph Explorer',
6068
link: '/overview/tooling-and-explorers/subgraph-explorer',
@@ -348,15 +356,14 @@ export function getSidebar() {
348356
{ text: '❓ What Is an iApp?', link: '/build-iapp/what-is-iapp' },
349357
{
350358
text: '📖 Guides',
351-
link: '/build-iapp/guides',
352359
items: [
353360
{
354-
text: 'Manage Your iApps',
355-
link: '/build-iapp/guides/manage-iapps',
361+
text: 'Build and Deploy your iApps',
362+
link: '/build-iapp/guides/build-&-deploy-iapp',
356363
},
357364
{
358-
text: 'Orders (how they work, how to manage them)',
359-
link: '/build-iapp/guides/orders',
365+
text: 'Manage your iApps',
366+
link: '/build-iapp/guides/manage-iapp',
360367
},
361368
{
362369
text: 'Inputs and Outputs (types, differences, formats)',
@@ -374,20 +381,11 @@ export function getSidebar() {
374381
text: 'How to Get and Decrypt Results',
375382
link: '/build-iapp/guides/how-to-get-and-decrypt-results',
376383
},
377-
{
378-
text: 'AI Frameworks',
379-
link: '/build-iapp/guides/ai-frameworks',
380-
},
381-
{
382-
text: 'Other Emerging Trends',
383-
link: '/build-iapp/guides/other-emerging-trends',
384-
},
385384
],
386385
},
387386
{
388387
text: '🤖 iApp Generator',
389388
link: '/build-iapp/iapp-generator',
390-
collapsed: true,
391389
items: [
392390
{
393391
text: 'Getting Started',
@@ -397,20 +395,8 @@ export function getSidebar() {
397395
text: 'Building Your iApp',
398396
link: '/build-iapp/iapp-generator/building-your-iexec-app',
399397
},
400-
{
401-
text: 'References',
402-
link: '/build-iapp/iapp-generator/references',
403-
},
404-
{
405-
text: 'Advanced Creation',
406-
link: '/build-iapp/iapp-generator/advanced-creation',
407-
},
408398
],
409399
},
410-
{
411-
text: '🔧 Protocol-Level Guides',
412-
link: '/build-iapp/iapp-generator/protocol-level-guides',
413-
},
414400
],
415401
},
416402
],

.vitepress/theme/index.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ import 'virtual:group-icons.css';
99
import '@shikijs/vitepress-twoslash/style.css';
1010
import { QueryClient, VueQueryPlugin } from '@tanstack/vue-query';
1111
import { WagmiPlugin } from '@wagmi/vue';
12-
import { wagmiAdapter } from '../../src/utils/wagmiConfig';
12+
import { createPinia } from 'pinia';
13+
import { wagmiAdapter } from '@/utils/wagmiConfig';
14+
import ChainSelector from '@/components/ChainSelector.vue';
1315
import './style.css';
1416

1517
export default {
@@ -19,11 +21,15 @@ export default {
1921
app.use(TwoslashFloatingVue as any);
2022

2123
const queryClient = new QueryClient();
24+
const pinia = createPinia();
2225

26+
app.use(pinia);
2327
app.use(VueQueryPlugin, { queryClient });
2428

2529
app.use(WagmiPlugin, { config: wagmiAdapter.wagmiConfig });
2630

31+
app.component('ChainSelector', ChainSelector);
32+
2733
googleAnalytics({
2834
id: 'GTM-P7KSD4T',
2935
});

.vitepress/theme/style.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,15 @@
7676
--color-danger-2: var(--vp-c-red-2);
7777
--color-danger-3: var(--vp-c-red-3);
7878
--color-danger-soft: var(--vp-c-red-soft);
79+
80+
/* ShadCN */
81+
--color-muted-foreground: var(--vp-c-text-3);
82+
--color-ring: var(--vp-c-brand-2);
83+
--color-destructive: var(--vp-c-red-2);
84+
--color-popover: var(--vp-c-bg);
85+
--color-popover-foreground: var(--vp-c-text-1);
86+
--color-accent: var(--vp-c-bg-soft);
87+
--color-accent-foreground: var(--vp-c-text-1);
7988
}
8089

8190
:root {

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,3 +170,7 @@ Fork this repository and ensure you're working on the `main` branch:
170170
- Add a Development workflow
171171
- Update context7 when doc will be deployed
172172
- Check theGraph Images with design Team
173+
- Update the Dune Dashboard to the final version
174+
- Add new section in `iexec-explorer.md` file to talk about: available chain on
175+
the UI + SRLC/RLC on account section feature of the protocol
176+
- Update or add design illustrations based on the new design system

components.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"$schema": "https://shadcn-vue.com/schema.json",
3+
"style": "new-york",
4+
"typescript": true,
5+
"tailwind": {
6+
"config": "",
7+
"css": "src/styles/globals.css",
8+
"baseColor": "neutral",
9+
"cssVariables": true,
10+
"prefix": ""
11+
},
12+
"aliases": {
13+
"components": "@/components",
14+
"composables": "@/composables",
15+
"utils": "@/lib/utils",
16+
"ui": "@/components/ui",
17+
"lib": "@/lib"
18+
},
19+
"iconLibrary": "iconify"
20+
}

0 commit comments

Comments
 (0)