Skip to content

Commit 85be921

Browse files
committed
feat: refactor FeatureCard component usage and update layout in iExec Explorer documentation
1 parent ba79172 commit 85be921

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

src/components/FeatureCard.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
<template>
2-
<a :href="linkUrl" class="block h-full text-inherit no-underline">
2+
<a
3+
:href="linkUrl"
4+
class="block h-full text-inherit no-underline! visited:no-underline! hover:no-underline! active:no-underline!"
5+
>
36
<div
47
class="bg-soft-bg border-border flex h-full cursor-pointer flex-col rounded-lg border p-6 transition-all duration-200 ease-in-out hover:-translate-y-0.5 hover:shadow-md"
58
>

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ explore apps and protectedData—all in one powerful dashboard.
2121

2222
## 🎯 What You Can Explore
2323

24-
<div class="grid grid-cols-[repeat(auto-fit,minmax(280px,1fr))] gap-6 my-8">
24+
<CardGrid>
2525
<FeatureCard
2626
icon="💼"
2727
title="Deals & Tasks"
@@ -48,9 +48,7 @@ explore apps and protectedData—all in one powerful dashboard.
4848
title="Workerpools"
4949
description="Explore the decentralized computing infrastructure, including usage and ownership details"
5050
link-url="#workerpools"
51-
/>
52-
53-
</div>
51+
/> </CardGrid>
5452

5553
<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">
5654
<h4 class="!mt-0 !mb-2">🏗️ Understanding iExec Architecture</h4>
@@ -205,4 +203,5 @@ Explore the decentralized computing infrastructure:
205203
<script setup>
206204
import ImageViewer from '../../components/ImageViewer.vue';
207205
import FeatureCard from '../../components/FeatureCard.vue';
206+
import CardGrid from '../../components/CardGrid.vue';
208207
</script>

0 commit comments

Comments
 (0)