|
1 | | -# React + TypeScript + Vite |
| 1 | +# ARPA-H AI Foundation Model Demo |
2 | 2 |
|
3 | | -This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules. |
| 3 | +> **Restricted Access** — 이 데모 페이지는 접근 코드가 필요합니다. |
4 | 4 |
|
5 | | -Currently, two official plugins are available: |
| 5 | +ARPA-H 과제를 위한 AI Foundation Model 시연 웹페이지입니다. |
| 6 | +뇌영상(fMRI) 및 뇌파(EEG/iEEG) 데이터에 대한 AI 파운데이션 모델의 임상 예측 파이프라인을 인터랙티브하게 시연합니다. |
6 | 7 |
|
7 | | -- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react) uses [Babel](https://babeljs.io/) (or [oxc](https://oxc.rs) when used in [rolldown-vite](https://vite.dev/guide/rolldown)) for Fast Refresh |
8 | | -- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh |
| 8 | +## Live Demo |
9 | 9 |
|
10 | | -## React Compiler |
| 10 | +🔗 https://transconnectome.github.io/arpa-h_webdemo/ |
11 | 11 |
|
12 | | -The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see [this documentation](https://react.dev/learn/react-compiler/installation). |
| 12 | +## Overview |
13 | 13 |
|
14 | | -## Expanding the ESLint configuration |
| 14 | +패럴랙스 스크롤 원페이지로 구성된 5단계 AI 파이프라인 시연: |
15 | 15 |
|
16 | | -If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules: |
| 16 | +| Step | Section | Description | |
| 17 | +|:----:|---------|-------------| |
| 18 | +| — | **Hero** | AI Foundation Model의 필요성 (모션 그래픽) | |
| 19 | +| 01 | **Data Upload** | 뇌영상/뇌파 데이터 업로드 → 확장자 기반 모달리티 자동 분류 | |
| 20 | +| 02 | **Model Selection** | 모달리티에 따른 Foundation Model 자동 선택 (SWIFT / DIVER / VLM) | |
| 21 | +| 03 | **Task Selection** | 임상 예측 과제 선택 (MCI→AD, MDD, OCD, 치료반응) | |
| 22 | +| 04 | **Progress** | 모델 처리 파이프라인 시각화 | |
| 23 | +| 05 | **Results** | 예측 결과 및 성능 메트릭 시각화 (Accuracy, AUC 등) | |
17 | 24 |
|
18 | | -```js |
19 | | -export default defineConfig([ |
20 | | - globalIgnores(['dist']), |
21 | | - { |
22 | | - files: ['**/*.{ts,tsx}'], |
23 | | - extends: [ |
24 | | - // Other configs... |
| 25 | +## Foundation Models |
25 | 26 |
|
26 | | - // Remove tseslint.configs.recommended and replace with this |
27 | | - tseslint.configs.recommendedTypeChecked, |
28 | | - // Alternatively, use this for stricter rules |
29 | | - tseslint.configs.strictTypeChecked, |
30 | | - // Optionally, add this for stylistic rules |
31 | | - tseslint.configs.stylisticTypeChecked, |
| 27 | +| Model | Modality | Description | |
| 28 | +|-------|----------|-------------| |
| 29 | +| **SWIFT** | fMRI | Spatiotemporal representation learning for functional brain imaging | |
| 30 | +| **DIVER** | EEG / iEEG | Foundation model for electrophysiological brain signals | |
| 31 | +| **VLM** | Visual / Structural | Vision-language model for structural brain imaging | |
32 | 32 |
|
33 | | - // Other configs... |
34 | | - ], |
35 | | - languageOptions: { |
36 | | - parserOptions: { |
37 | | - project: ['./tsconfig.node.json', './tsconfig.app.json'], |
38 | | - tsconfigRootDir: import.meta.dirname, |
39 | | - }, |
40 | | - // other options... |
41 | | - }, |
42 | | - }, |
43 | | -]) |
| 33 | +## Tech Stack |
| 34 | + |
| 35 | +| Category | Technology | |
| 36 | +|----------|-----------| |
| 37 | +| Framework | React 19 + TypeScript | |
| 38 | +| Build | Vite 7 | |
| 39 | +| Styling | Tailwind CSS 4 | |
| 40 | +| Animation | Framer Motion, GSAP | |
| 41 | +| Charts | Chart.js + react-chartjs-2 | |
| 42 | +| Deployment | GitHub Pages (via GitHub Actions) | |
| 43 | + |
| 44 | +## Development |
| 45 | + |
| 46 | +```bash |
| 47 | +# Install dependencies |
| 48 | +npm install |
| 49 | + |
| 50 | +# Start dev server |
| 51 | +npm run dev |
| 52 | + |
| 53 | +# Build for production |
| 54 | +npm run build |
| 55 | + |
| 56 | +# Preview production build |
| 57 | +npm run preview |
| 58 | +``` |
| 59 | + |
| 60 | +## Deployment |
| 61 | + |
| 62 | +`main` 브랜치에 push 시 GitHub Actions를 통해 자동 배포됩니다. |
| 63 | +수동 배포가 필요한 경우: |
| 64 | + |
| 65 | +```bash |
| 66 | +gh workflow run "Deploy to GitHub Pages" --repo Transconnectome/arpa-h_webdemo --ref main |
44 | 67 | ``` |
45 | 68 |
|
46 | | -You can also install [eslint-plugin-react-x](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-x) and [eslint-plugin-react-dom](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-dom) for React-specific lint rules: |
47 | | - |
48 | | -```js |
49 | | -// eslint.config.js |
50 | | -import reactX from 'eslint-plugin-react-x' |
51 | | -import reactDom from 'eslint-plugin-react-dom' |
52 | | - |
53 | | -export default defineConfig([ |
54 | | - globalIgnores(['dist']), |
55 | | - { |
56 | | - files: ['**/*.{ts,tsx}'], |
57 | | - extends: [ |
58 | | - // Other configs... |
59 | | - // Enable lint rules for React |
60 | | - reactX.configs['recommended-typescript'], |
61 | | - // Enable lint rules for React DOM |
62 | | - reactDom.configs.recommended, |
63 | | - ], |
64 | | - languageOptions: { |
65 | | - parserOptions: { |
66 | | - project: ['./tsconfig.node.json', './tsconfig.app.json'], |
67 | | - tsconfigRootDir: import.meta.dirname, |
68 | | - }, |
69 | | - // other options... |
70 | | - }, |
71 | | - }, |
72 | | -]) |
| 69 | +## Project Structure |
| 70 | + |
73 | 71 | ``` |
| 72 | +src/ |
| 73 | +├── components/ # 재사용 컴포넌트 |
| 74 | +│ ├── CountUp.tsx # 숫자 카운트업 애니메이션 |
| 75 | +│ ├── NeuralParticles.tsx # 뉴럴 네트워크 파티클 캔버스 |
| 76 | +│ ├── PasswordGate.tsx # 접근 코드 게이트 |
| 77 | +│ ├── SectionTransition.tsx # 다크↔라이트 전환 |
| 78 | +│ └── TypingText.tsx # 타이핑 애니메이션 |
| 79 | +├── sections/ # 페이지 섹션 |
| 80 | +│ ├── HeroSection.tsx |
| 81 | +│ ├── DataUploadSection.tsx |
| 82 | +│ ├── ModelSelectionSection.tsx |
| 83 | +│ ├── TaskSelectionSection.tsx |
| 84 | +│ ├── ProgressSection.tsx |
| 85 | +│ └── ResultsSection.tsx |
| 86 | +└── App.tsx # 파이프라인 상태 관리 + 라우팅 |
| 87 | +``` |
| 88 | + |
| 89 | +## License |
| 90 | + |
| 91 | +Internal use only — Transconnectome |
0 commit comments