Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
f2c3948
feat: add Banner component and integrate into documentation
ErwanDecoster Aug 22, 2025
3b3a722
feat: enhance Banner component styling with CSS variables and gradients
ErwanDecoster Aug 22, 2025
49c2a83
feat: introduce Container component and update documentation to utili…
ErwanDecoster Aug 22, 2025
e2bdf48
feat: update Container component variants and enhance documentation w…
ErwanDecoster Aug 25, 2025
d3e1aba
feat: replace Container components with tip blocks for improved docum…
ErwanDecoster Aug 25, 2025
8d06e31
feat: add title prop to Container component and update template for i…
ErwanDecoster Aug 25, 2025
823ed42
feat: replace Container components with custom blocks for improved do…
ErwanDecoster Aug 25, 2025
d73466b
feat: remove spacing prop and update variant classes for improved sty…
ErwanDecoster Aug 25, 2025
8a67b54
fix: remove unnecessary class from iApp generator tool link for impro…
ErwanDecoster Aug 25, 2025
d72a645
feat: enhance text formatting for improved readability and emphasis a…
ErwanDecoster Aug 25, 2025
a0b5fdf
fix: update link formatting for consistency in iExec overview documen…
ErwanDecoster Aug 25, 2025
ee7bc8c
refactor: simplify content structure by removing unnecessary HTML wra…
ErwanDecoster Aug 25, 2025
4d44e48
refactor: streamline content structure by removing unnecessary HTML e…
ErwanDecoster Aug 25, 2025
4ee4cc0
refactor: remove emoji from headings for improved clarity and consist…
ErwanDecoster Aug 26, 2025
c84767f
refactor: improve content readability by breaking long lines into sho…
ErwanDecoster Aug 26, 2025
da401af
feat: add CardWithBorder and CardWithoutBorder components for improve…
ErwanDecoster Aug 28, 2025
3e2990a
refactor: replace HTML links with Markdown syntax for improved readab…
ErwanDecoster Aug 28, 2025
04eadbf
fix: update GitHub link for Content Delivery section to correct repos…
ErwanDecoster Aug 28, 2025
18056ea
fix: update Twitter link to reflect new domain
ErwanDecoster Aug 28, 2025
2e84cb1
refactor: improve content readability by breaking long lines into sho…
ErwanDecoster Aug 28, 2025
71c08a2
refactor: enhance documentation readability by converting headings an…
ErwanDecoster Aug 28, 2025
93f2110
fix: update text color for display address in AddressChip component
ErwanDecoster Aug 28, 2025
df5890e
fix: add utility classes for margin adjustments in Container component
ErwanDecoster Aug 28, 2025
3dcc3bd
fix: correct header formatting in welcome.md
ErwanDecoster Aug 28, 2025
b91c1dd
refactor: replace HTML div with Markdown info block for better readab…
ErwanDecoster Aug 28, 2025
4372701
fix: remove unnecessary class from network link for cleaner styling i…
ErwanDecoster Aug 28, 2025
f72e997
fix: add variant prop to Button for consistent styling in ImageViewer…
ErwanDecoster Aug 28, 2025
85351f6
fix: update button styling for consistent appearance in Button component
ErwanDecoster Aug 28, 2025
ed1f6bb
fix: remove icon props from FeatureCard components for cleaner implem…
ErwanDecoster Aug 29, 2025
6267128
fix: simplify UseCaseCard structure and remove demoIcon prop for clea…
ErwanDecoster Aug 29, 2025
f11c97a
fix: adjust class order for consistent styling in FeatureCard and Use…
ErwanDecoster Aug 29, 2025
4a965e9
fix: update buttonClasses for consistent styling in secondary variant…
ErwanDecoster Aug 29, 2025
75089e9
fix: update variantClasses for consistent styling in Badge component
ErwanDecoster Aug 29, 2025
3713633
fix: update ProjectCard usage for consistent structure and styling in…
ErwanDecoster Aug 29, 2025
0e0e6d9
fix: update captions in documentation for consistent styling
ErwanDecoster Aug 29, 2025
a9fd2eb
fix: update UseCaseCard structure for consistent styling and improved…
ErwanDecoster Aug 29, 2025
ae18739
feat: add TutorialCard component for improved tutorial presentation i…
ErwanDecoster Aug 29, 2025
e5956c4
fix: improve formatting and structure of TutorialCard usage in docume…
ErwanDecoster Aug 29, 2025
2770a77
Merge branch 'main' into feature/update-style-and-components
ErwanDecoster Aug 29, 2025
571ab1d
fix: improve line breaks for better readability in multiple documenta…
ErwanDecoster Aug 29, 2025
65c0a46
feat: update homepage layout and add background SVG for improved visuals
ErwanDecoster Sep 1, 2025
d06df42
feat: enhance HomePage styling and add background SVG for improved vi…
ErwanDecoster Sep 1, 2025
95955ba
refactor: remove unused background SVG comments and clean up VPFeatur…
ErwanDecoster Sep 1, 2025
83eab2f
feat: add contributing guide for improved documentation collaboration
ErwanDecoster Sep 1, 2025
735cc7d
feature: update feature icons and add new SVG files for improved visuals
ErwanDecoster Sep 1, 2025
f2a6681
fix: update URLs in chatGPT and Claude links for correct documentatio…
ErwanDecoster Sep 1, 2025
add7ddc
fix: type update
ErwanDecoster Sep 1, 2025
4d51f6f
fix: update broken links
ErwanDecoster Sep 1, 2025
5e56ebb
fix: add a prettier-ignore to add a space between text and link
ErwanDecoster Sep 1, 2025
7fcf1d1
Merge branch 'feature/update-style-and-components' of https://github.…
ErwanDecoster Sep 1, 2025
f5f3fb2
fix: remove unused import of ChainSelector component
ErwanDecoster Sep 1, 2025
a7b711e
fix: remove useless character
ErwanDecoster Sep 1, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export default withMermaid(

socialLinks: [
{ icon: 'github', link: 'https://github.com/iExecBlockchainComputing' },
{ icon: 'x', link: 'https://twitter.com/iEx_ec' },
{ icon: 'x', link: 'https://x.com/iEx_ec' },
{ icon: 'discord', link: 'https://discord.com/invite/pbt9m98wnU' },
],

Expand Down
2 changes: 1 addition & 1 deletion .vitepress/sidebar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export function getSidebar() {
{
text: 'GET STARTED',
items: [
{ text: '💡 Welcome', link: '/get-started/welcome' },
{ text: 'Welcome', link: '/get-started/welcome' },
{
text: 'Toolkit',
link: '/get-started/toolkit',
Expand Down
224 changes: 211 additions & 13 deletions .vitepress/theme/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -92,37 +92,114 @@
--vp-c-default-2: var(--vp-c-gray-2);
--vp-c-default-3: var(--vp-c-gray-3);
--vp-c-default-soft: var(--vp-c-gray-soft);
}

/**
* Colors: Text
*
* - `text-1`: Used for primary text.
*
* - `text-2`: Used for muted texts, such as "inactive menu" or "info texts".
*
* - `text-3`: Used for subtle texts, such as "placeholders" or "caret icon".
* -------------------------------------------------------------------------- */

--vp-c-brand-1: #917600;
--vp-c-brand-2: #fcd15a;
--vp-c-brand-3: #917600;
--vp-c-brand-soft: var(--vp-c-indigo-soft);
:root {
/* --vp-c-text-1: #3c3c43; */
--vp-c-text-1: #1d1d24;
/* --vp-c-text-2: #67676c; */
--vp-c-text-2: #5d5d69;
--vp-c-text-3: #929295;
}

.dark {
/* --vp-c-text-1: #dfdfd6; */
--vp-c-text-1: #fff;
/* --vp-c-text-2: #98989f; */
--vp-c-text-2: #a3a3a8;
--vp-c-text-3: #6a6a71;
}

/**
* Colors: Function
*
* - `default`: The color used purely for subtle indication without any
* special meanings attached to it such as bg color for menu hover state.
*
* - `brand`: Used for primary brand colors, such as link text, button with
* brand theme, etc.
*
* - `tip`: Used to indicate useful information. The default theme uses the
* brand color for this by default.
*
* - `warning`: Used to indicate warning to the users. Used in custom
* container, badges, etc.
*
* - `danger`: Used to show error, or dangerous message to the users. Used
* in custom container, badges, etc.
*
* To understand the scaling system, refer to "Colors: Palette" section.
* -------------------------------------------------------------------------- */

:root {
--vp-c-default-1: var(--vp-c-gray-1);
--vp-c-default-2: var(--vp-c-gray-2);
--vp-c-default-3: var(--vp-c-gray-3);
--vp-c-default-soft: var(--vp-c-gray-soft);

--vp-c-brand-1: #183ee9;
--vp-c-brand-2: var(--vp-c-indigo-2);
--vp-c-brand-3: var(--vp-c-indigo-3);
--vp-c-brand-soft: #e3e8ff;

--vp-c-tip-1: var(--vp-c-brand-1);
--vp-c-tip-2: var(--vp-c-brand-2);
--vp-c-tip-3: var(--vp-c-brand-3);
--vp-c-tip-soft: var(--vp-c-brand-soft);

--vp-c-warning-1: var(--vp-c-yellow-1);
--vp-c-warning-2: var(--vp-c-yellow-2);
--vp-c-warning-3: var(--vp-c-yellow-3);
--vp-c-warning-soft: var(--vp-c-yellow-soft);
--vp-c-note-1: var(--vp-c-brand-1);
--vp-c-note-2: var(--vp-c-brand-2);
--vp-c-note-3: var(--vp-c-brand-3);
--vp-c-note-soft: var(--vp-c-brand-soft);

--vp-c-success-1: #00704b;
--vp-c-success-2: var(--vp-c-green-2);
--vp-c-success-3: var(--vp-c-green-3);
--vp-c-success-soft: #eafcf6;

--vp-c-important-1: var(--vp-c-purple-1);
--vp-c-important-2: var(--vp-c-purple-2);
--vp-c-important-3: var(--vp-c-purple-3);
--vp-c-important-soft: var(--vp-c-purple-soft);

--vp-c-danger-1: var(--vp-c-red-1);
--vp-c-warning-1: #da7b0b;
--vp-c-warning-2: var(--vp-c-yellow-2);
--vp-c-warning-3: var(--vp-c-yellow-3);
--vp-c-warning-soft: #fdefde;

--vp-c-danger-1: #bf3131;
--vp-c-danger-2: var(--vp-c-red-2);
--vp-c-danger-3: var(--vp-c-red-3);
--vp-c-danger-soft: var(--vp-c-red-soft);
--vp-c-danger-soft: #f3d7d7;

--vp-c-caution-1: var(--vp-c-red-1);
--vp-c-caution-2: var(--vp-c-red-2);
--vp-c-caution-3: var(--vp-c-red-3);
--vp-c-caution-soft: var(--vp-c-red-soft);
}

.dark {
--vp-c-brand-1: #fcd15a;
--vp-c-brand-2: #917600;
--vp-c-brand-3: #fcd15a;
--vp-c-brand-1: #a2b3ff;
--vp-c-brand-soft: #1d2032;

--vp-c-success-1: #74ecc5;
--vp-c-success-soft: #243030;

--vp-c-danger-1: #bf3131;
--vp-c-danger-soft: #2b1d21;

--vp-c-warning-1: #f49425;
--vp-c-warning-soft: #312720;
}

/**
Expand Down Expand Up @@ -195,3 +272,124 @@ html:not(.dark) .dark-only {
input {
@apply w-full rounded-md border border-[var(--vp-c-divider)] bg-[var(--vp-c-bg-soft)] px-4 py-3 text-base text-[var(--vp-c-text-1)] transition focus:border-[var(--vp-c-brand-2)] focus:outline-none disabled:cursor-not-allowed disabled:opacity-70;
}

/**
* Component: Banner
* -------------------------------------------------------------------------- */

:root {
--c-bg-gradient-from: #e1e6f7;
--c-bg-gradient-to: #f1f2f6;
--c-border: #b6b7c3;
--c-text: #b6b7c3;
}

.dark {
--c-bg-gradient-from: #2e334a;
--c-bg-gradient-to: #292b34;
--c-border: #5a5b68;
--c-text: #b6b7c3;
}

.vp-doc .custom-block {
@apply p-6 text-base;
}

.vp-doc .custom-block.tip {
@apply border-l-4 border-l-[var(--vp-c-brand-1)];
}

.vp-doc .custom-block.tip strong {
@apply text-[var(--vp-c-brand-1)];
}

.custom-block.tip code {
@apply bg-[var(--vp-code-bg)];
}

.vp-doc .custom-block.warning {
@apply border-l-4 border-l-[var(--vp-c-warning-1)];
}

.vp-doc .custom-block.warning strong {
@apply text-[var(--vp-c-warning-1)];
}

.vp-doc .custom-block.info {
@apply border-l-4 border-l-[var(--vp-c-info-1)];
}

.vp-doc .custom-block.info strong {
@apply text-[var(--vp-c-info-1)];
}

.vp-doc .custom-block.danger {
@apply border-l-4 border-l-[var(--vp-c-danger-1)];
}

.vp-doc .custom-block.danger strong {
@apply text-[var(--vp-c-danger-1)];
}

.vp-doc .custom-block.details {
@apply border-l-4 border-l-[var(--vp-c-details-1)];
}

.vp-doc .custom-block.details strong {
@apply text-[var(--vp-c-details-1)];
}

/**
* HomePage: rewrite
* -------------------------------------------------------------------------- */

:root {
--vp-home-hero-name-color: var(--vp-c-text-1);
--vp-button-brand-bg: #fcd15a;
--vp-button-brand-hover-bg: #fcd15a;
}

.VPHero .VPButton {
@apply font-medium transition hover:-translate-y-0.5 hover:shadow-md;
}

.VPHero .VPButton.brand {
@apply text-[var(--vp-c-black)]!;
}

.VPImage.image-src {
@apply max-h-none max-w-none lg:size-[448px]!;
}

article.box .icon {
@apply size-14 rounded-[14px] bg-[var(--vp-c-bg-soft)] p-2;
box-shadow:
-12.835px -12.835px 21.392px 0 var(--vp-c-bg),
12.835px 12.835px 21.392px 0 var(--vp-c-bg);
}

.image .image-container {
@apply relative flex items-center justify-center;
}

.image .image-container::before {
@apply pointer-events-none absolute top-[60%] left-1/2 -z-10 h-[929px] w-[995px] -translate-x-1/2 -translate-y-1/2 bg-contain bg-center bg-no-repeat;
content: '';
background-image: url('/bg-gradient.svg');
}

.image .image-container .VPImage.image-src {
@apply relative z-10;
}

.VPHero.has-image.VPHomeHero {
@apply pb-0;
}

.VPLink.link.VPFeature {
@apply relative rounded-[32px] border bg-gradient-to-b from-[var(--vp-c-white)] to-[var(--vp-c-white)] transition-all duration-300 *:relative *:z-20 after:absolute after:inset-px after:z-10 after:rounded-[31px] after:bg-[var(--vp-c-bg-soft)] hover:shadow-lg;
}

.dark .VPLink.link.VPFeature {
@apply from-[var(--c-border)] to-transparent;
}
Loading