File tree Expand file tree Collapse file tree 2 files changed +22
-20
lines changed
Expand file tree Collapse file tree 2 files changed +22
-20
lines changed Original file line number Diff line number Diff line change 11<template >
2- <a
3- :href =" href"
2+ <a
3+ :href =" href"
44 :class =" [
5- 'rounded-xl bg-[var(--vp-c-bg-soft)] p-6 no-underline! text-[var(--vp-c-text-1)]! relative before:duration-300 before:absolute before:inset-x-0 before:top-0 before:h- 10 hover: before:-translate-y-0.5 before:bg-primary before:-z-10 before:rounded-xl ',
6- variant === 'bonus' ? 'border-2 border-primary ' : ''
5+ 'before:bg-primary relative rounded-xl bg-[var(--vp-c-bg-soft)] p-6 text-[var(--vp-c-text-1)]! no-underline! before:absolute before:inset-x-0 before:top-0 before:-z- 10 before:h-10 before:rounded-xl before:duration-300 hover: before:-translate-y-0.5 ',
6+ variant === 'bonus' ? 'border-primary border-2 ' : '',
77 ]"
88 >
99 <h3 class =" mt-0! mb-3!" >{{ title }}</h3 >
1212 :label =" readTime"
1313 :variant =" badgeVariant"
1414 />
15- <p class =" text-[var(--vp-c-text-2)] my-4 " >
15+ <p class =" my-4 text-[var(--vp-c-text-2)]" >
1616 {{ description }}
1717 </p >
18- <div
18+ <div
1919 v-if =" variant === 'bonus'"
20- class =" inline-flex items-center gap-2 bg-primary text-white px-4 py-2 rounded-full font-medium hover:bg-primary/90 transition-colors"
20+ class =" bg-primary hover:bg-primary/90 inline-flex items-center gap-2 rounded-full px-4 py-2 font-medium text-white transition-colors"
2121 >
2222 {{ actionText }}
2323 <Icon icon =" lucide:arrow-right" :height =" 20" />
2424 </div >
25- <div
26- v-else
27- class =" inline-flex gap-2 items-center"
28- >
25+ <div v-else class =" inline-flex items-center gap-2" >
2926 {{ actionText }}
3027 <Icon icon =" lucide:arrow-right" :height =" 20" />
3128 </div >
@@ -42,7 +39,13 @@ interface Props {
4239 readTime: string ;
4340 description: string ;
4441 actionText? : string ;
45- badgeVariant? : ' primary' | ' default' | ' success' | ' warning' | ' danger' | ' important' ;
42+ badgeVariant? :
43+ | ' primary'
44+ | ' default'
45+ | ' success'
46+ | ' warning'
47+ | ' danger'
48+ | ' important' ;
4649 variant? : ' default' | ' bonus' ;
4750}
4851
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ iExec in this interactive guide.
4545
4646<CardGrid >
4747
48- <TutorialCard
48+ <TutorialCard
4949 href="helloWorld/1-overview"
5050 title="1 - iExec Overview"
5151 readTime="8 min read"
@@ -54,7 +54,7 @@ iExec in this interactive guide.
5454 badgeVariant="primary"
5555 />
5656
57- <TutorialCard
57+ <TutorialCard
5858 href="helloWorld/2-protectData"
5959 title="2. Protect Your Data"
6060 readTime="6 min read"
@@ -63,7 +63,7 @@ iExec in this interactive guide.
6363 badgeVariant="primary"
6464 />
6565
66- <TutorialCard
66+ <TutorialCard
6767 href="helloWorld/3-buildIApp"
6868 title="3. Build your iApp"
6969 readTime="10 min read"
@@ -72,23 +72,22 @@ iExec in this interactive guide.
7272 badgeVariant="primary"
7373 />
7474
75- <TutorialCard
75+ <TutorialCard
7676 href="helloWorld/4-manageDataAccess"
7777 title="4. Manage Data Access"
7878 readTime="6 min read"
7979 description="Learn advanced data access management, permissions and monetization"
8080 actionText="Read"
8181 badgeVariant="primary"
8282 />
83-
84- <TutorialCard
83+
84+ <TutorialCard
8585 href="helloWorld/5-bonusChapter"
8686 title="Bonus Chapter"
8787 description="Finish the journey with a surprise bonus chapter!"
8888 actionText="Special content"
8989 variant="bonus"
90- />
91- </CardGrid >
90+ /> </CardGrid >
9291
9392## Getting Started
9493
You can’t perform that action at this time.
0 commit comments