Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
aa86940
feat: trs
anuragxxd Apr 13, 2025
04cd267
feat: trs tools
anuragxxd Apr 18, 2025
280778f
feat: trs
anuragxxd May 2, 2025
7916c0b
fix: minor bugs
anuragxxd May 3, 2025
db89d49
chore: release alpha 2
anuragxxd May 3, 2025
91e29f9
feat: provider support
anuragxxd May 17, 2025
62bd140
feat: release alpha 6
anuragxxd May 18, 2025
4d909a3
feat: tailwind purging
anuragxxd May 18, 2025
ea9f8b1
feat: add new components for GA4GH service registry and TRS
anuragxxd May 28, 2025
2468736
feat: add cloud registry
anuragxxd Jun 1, 2025
3514f39
feat: update GA4GH WES components and improve styling
anuragxxd Jun 21, 2025
6d809b4
fix: eventing
anuragxxd Jun 22, 2025
71fbaa9
chore: update package-lock.json
anuragxxd Jun 22, 2025
2cd9827
feat: docs
anuragxxd Jun 22, 2025
14dfb04
feat: enhance documentation for various components including Collapsi…
anuragxxd Jun 22, 2025
41c9ce6
feat: docs for provider & customization
anuragxxd Jun 23, 2025
5d551e1
feat: update PreviewLayout styling, remove CrossPlatform component, e…
anuragxxd Jun 23, 2025
3aae783
chore: update concurrently package to version 8.2.2 and clean up pack…
anuragxxd Jun 23, 2025
083ef1c
feat: final stuff
anuragxxd Jun 23, 2025
a569e43
feat: final stuff2
anuragxxd Jun 23, 2025
e8edd76
feat: refactor PreviewLayout to use EccUtilsDesignCard, update Hero c…
anuragxxd Jun 25, 2025
1557e59
feat: add framer-motion integration with new animated icons and enhan…
anuragxxd Jun 25, 2025
81484a2
feat: enhance documentation & code comoponent dark mode support
anuragxxd Jul 20, 2025
067d273
Merge branch 'main' of https://github.com/elixir-cloud-aai/cloud-comp…
anuragxxd Jul 20, 2025
0fed6ba
chore: update actions/cache to version 4 in GitHub workflows for impr…
anuragxxd Jul 20, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions .github/workflows/pr_evaluation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
echo "::set-output name=version::$(node -v)"

- name: Get node_modules cache
uses: actions/cache@v3.0.2
uses: actions/cache@v4
id: node_modules
with:
path: |
Expand Down Expand Up @@ -114,7 +114,7 @@ jobs:
echo "::set-output name=version::$(node -v)"

- name: Get node_modules cache
uses: actions/cache@v3.0.2
uses: actions/cache@v4
id: node_modules
with:
path: |
Expand All @@ -123,7 +123,7 @@ jobs:

- name: Cache Playwright
id: playwright-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.cache/ms-playwright
Expand Down
14 changes: 0 additions & 14 deletions apps/documentation/components/common/Card.tsx

This file was deleted.

12 changes: 12 additions & 0 deletions apps/documentation/components/common/PreviewLayout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import React from 'react';
import { EccUtilsDesignCard } from '@elixir-cloud/design/react';

interface PreviewLayoutProps {
children: React.ReactNode;
}

const PreviewLayout: React.FC<PreviewLayoutProps> = ({ children }) => {
return <EccUtilsDesignCard className='part:shadow-inner'>{children}</EccUtilsDesignCard>;
};

export default PreviewLayout;
18 changes: 0 additions & 18 deletions apps/documentation/components/home/CrossPlatform.tsx

This file was deleted.

65 changes: 0 additions & 65 deletions apps/documentation/components/home/Customizable.tsx

This file was deleted.

111 changes: 111 additions & 0 deletions apps/documentation/components/home/FeaturesGrid.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
import {
EccUtilsDesignCard,
EccUtilsDesignCardHeader,
EccUtilsDesignCardTitle,
EccUtilsDesignCardDescription,
EccUtilsDesignCardContent,
} from '@elixir-cloud/design/react';
import { EarthIcon } from '@/components/icons/earth';
import { ConnectIcon } from '@/components/icons/connect';
import { SettingsIcon } from '@/components/icons/settings';
import { BlocksIcon } from '../icons/blocks';
import { GitPullRequestIcon } from '../icons/git';
import { ChartColumnIncreasingIcon } from '../icons/chart';
import { createRef, useRef } from 'react';

const features = [
{
icon: ConnectIcon,
title: 'Framework Agnostic',
description:
'Web components that work seamlessly with React, Vue, Angular, vanilla HTML, or any web framework.',
color: 'text-blue-600 dark:text-blue-400',
},
{
icon: SettingsIcon,
title: 'Fully Customizable',
description:
'Complete design control with CSS custom properties, design tokens, and shadcn/ui-inspired architecture.',
color: 'text-purple-600 dark:text-purple-400',
},
{
icon: EarthIcon,
title: 'GA4GH Standards',
description:
'Built-in compatibility with all major GA4GH API specifications for federated cloud computing.',
color: 'text-green-600 dark:text-green-400',
},
{
icon: BlocksIcon,
title: 'Provider Architecture',
description:
'Pluggable data layer supporting REST APIs, GraphQL endpoints, and mock providers for development.',
color: 'text-orange-600 dark:text-orange-400',
},
{
icon: GitPullRequestIcon,
title: 'Open Source',
description: 'ECC is open source and free to use. It is licensed under the Apache License 2.0.',
color: 'text-indigo-600 dark:text-indigo-400',
},
{
icon: ChartColumnIncreasingIcon,
title: 'Production Ready',
description:
'Battle-tested components used in real federated cloud environments across research organizations.',
color: 'text-red-600 dark:text-red-400',
},
];

interface IconHandle {
startAnimation: () => void;
stopAnimation: () => void;
}

export default function FeaturesGrid() {
const iconRefs = useRef(features.map(() => createRef<IconHandle>()));
return (
<section className='mt-24 md:mt-32 px-4 max-w-7xl mx-auto'>
{/* Section Header */}
<div className='text-center mb-16'>
<h2 className='text-3xl md:text-4xl font-bold text-zinc-900 dark:text-zinc-100 mb-4'>
Built for Modern Development
</h2>
<p className='text-lg text-zinc-600 dark:text-zinc-300 max-w-3xl mx-auto'>
Everything you need to build robust, scalable applications for federated cloud
environments.
</p>
</div>

{/* Features Grid */}
<div className='grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8'>
{features.map((feature, index) => {
const Icon = feature.icon;
return (
<EccUtilsDesignCard
key={index}
className='h-full part:h-full part:hover:shadow-lg part:transition-all part:duration-300 part:group'
onMouseEnter={() => iconRefs.current[index].current?.startAnimation()}
onMouseLeave={() => iconRefs.current[index].current?.stopAnimation()}
>
<EccUtilsDesignCardHeader className='part:flex part:flex-row part:items-start part:space-y-4'>
<Icon
ref={iconRefs.current[index]}
className={`h-8 w-8 scale-[.8] ${feature.color}`}
/>
<EccUtilsDesignCardTitle className='part:text-xl part:font-semibold part:text-zinc-900 part:dark:text-zinc-100 part:mb-2'>
{feature.title}
</EccUtilsDesignCardTitle>
</EccUtilsDesignCardHeader>
<EccUtilsDesignCardContent>
<EccUtilsDesignCardDescription className='part:text-zinc-600 part:dark:text-zinc-400 part:leading-relaxed'>
{feature.description}
</EccUtilsDesignCardDescription>
</EccUtilsDesignCardContent>
</EccUtilsDesignCard>
);
})}
</div>
</section>
);
}
91 changes: 56 additions & 35 deletions apps/documentation/components/home/Hero.tsx
Original file line number Diff line number Diff line change
@@ -1,46 +1,67 @@
'use client';
import { RiArrowRightLine } from '@remixicon/react';
import { Link } from 'nextra-theme-docs';
import { RiArrowRightLine, RiGithubLine } from '@remixicon/react';
import { EccUtilsDesignButton } from '@elixir-cloud/design/react';

export default function Hero() {
return (
<div className='mx-auto static mt-0 md:mt-[7rem] flex flex-col items-center'>
<div className='flex flex-col items-center w-full md:w-5/6'>
<h1 className='text-7xl font-extrabold bg-gradient-to-r from-sky-600 to-green-400 via-sky-400 text-transparent bg-clip-text text-center flex-col items-center gap-4 hidden md:flex'>
<div>The Component Library</div>
<div>for Federated Cloud Services</div>
</h1>
<h1 className='text-4xl mt-32 font-extrabold bg-gradient-to-r from-sky-600 to-green-400 via-sky-400 text-transparent bg-clip-text text-center block md:hidden'>
The Component Library for Federated Cloud Services
<div className='mx-auto static mt-12 md:mt-[6rem] flex flex-col items-center'>
<div className='flex flex-col items-center w-full md:w-5/6 max-w-6xl'>
{/* Main Headline */}
<h1 className='text-5xl md:text-7xl font-extrabold bg-gradient-to-r from-sky-600 to-green-400 via-sky-400 text-transparent bg-clip-text text-center leading-tight'>
<div className='hidden md:block'>
<div>Build Federated Cloud</div>
<div>Applications with Ease</div>
</div>
<div className='block md:hidden'>
Build Federated Cloud Applications with Ease
</div>
</h1>
<p className='mt-6 md:mt-8 text-base md:text-xl text-zinc-500 max-w-7xl text-center'>
Modular, customizable, and extensible components for interacting with cloud
infrastructure.

{/* Subtitle */}
<p className='mt-6 md:mt-8 text-lg md:text-xl text-zinc-600 dark:text-zinc-300 max-w-4xl text-center leading-relaxed'>
Production-ready components for GA4GH-compliant cloud services.
<span className='block mt-2'>
Framework-agnostic, fully customizable, and built for modern development.
</span>
</p>
<div className='flex flex-wrap gap-4 mt-10 md:mt-12 text-sm md:text-base items-center justify-center'>
<Link
href='/docs/introduction'
className='rounded-xl bg-sky-600 hover:bg-sky-500 !text-white py-2 px-6 transition duration-300 ease-in-out flex items-center gap-1'
style={{ textDecoration: 'none' }}

{/* CTAs */}
<div className='flex flex-col sm:flex-row gap-4 mt-10 md:mt-12 text-sm md:text-base items-center justify-center'>
<EccUtilsDesignButton
onClick={() => {
window.location.href = '/docs/introduction';
}}
variant='default'
className='part:bg-sky-600 part:hover:bg-sky-500 part:text-white'
>
Get started
<RiArrowRightLine className='inline-block h-4' />
</Link>
<Link
href='/docs/installation'
className='rounded-xl dark:bg-zinc-700 dark:hover:bg-zinc-600 bg-zinc-300 hover:bg-zinc-200 dark:!text-white !text-zinc-900 py-2 px-6 transition duration-300 ease-in-out flex items-center justify-center'
style={{ textDecoration: 'none' }}
Get Started
<RiArrowRightLine className='h-4 w-4' />
</EccUtilsDesignButton>

<EccUtilsDesignButton
onClick={() => {
window.location.href = 'https://github.com/elixir-cloud-aai/cloud-components';
}}
variant='secondary'
>
Install
</Link>
<div className='p-0.5 rounded-xl flex items-center justify-center bg-gradient-to-r from-sky-600 to-green-400 via-sky-400'>
<Link
href='/docs/customization'
className='rounded-xl dark:bg-zinc-700 dark:hover:bg-zinc-600 bg-zinc-300 hover:bg-zinc-200 dark:!text-white !text-zinc-900 py-1.5 px-6 transition duration-300 ease-in-out w-full'
style={{ textDecoration: 'none' }}
>
Make your own?
</Link>
<RiGithubLine className='h-4 w-4' />
View on GitHub
</EccUtilsDesignButton>
</div>

{/* Quick stats */}
<div className='flex flex-wrap gap-6 mt-8 text-sm text-zinc-500 dark:text-zinc-400 items-center justify-center'>
<div className='flex items-center gap-2'>
<div className='w-2 h-2 bg-green-500 rounded-full'></div>
<span>5+ GA4GH Services</span>
</div>
<div className='flex items-center gap-2'>
<div className='w-2 h-2 bg-blue-500 rounded-full'></div>
<span>25+ Components</span>
</div>
<div className='flex items-center gap-2'>
<div className='w-2 h-2 bg-purple-500 rounded-full'></div>
<span>Framework Agnostic</span>
</div>
</div>
</div>
Expand Down
Loading