Skip to content

Commit b3a005b

Browse files
committed
feat(demos): enhance blockchain integration with real-time transaction tracking
- Add enhanced switch button for Real Blockchain vs Mock Demo modes - Implement realistic transaction hash generation and Stellar Explorer links - Add always-visible transaction sidebar in immersive demo mode - Create auto-completion countdown system for better demo flow - Fix close button functionality with confirmation dialog - Add scroll-to-top animation and interactive user guidance - Integrate copy-to-clipboard for transaction hashes and wallet addresses - Enhance visual design with smooth animations and professional styling - Provide comprehensive blockchain education and verification capabilities
1 parent 2fa2b33 commit b3a005b

16 files changed

+997
-123
lines changed

components/demos/HelloMilestoneDemo.tsx

Lines changed: 787 additions & 60 deletions
Large diffs are not rendered by default.

components/hooks/useClientEnv.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,4 @@ export function useClientEnv() {
4545

4646

4747

48+

components/hooks/useScrollPosition.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,4 @@ export function useScrollToTop() {
5858

5959

6060

61+

components/ui/ImmersiveDemoModal.tsx

Lines changed: 196 additions & 63 deletions
Large diffs are not rendered by default.

components/ui/common/Card.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,4 @@ export const Card: React.FC<CardProps> = ({
6565

6666

6767

68+

components/ui/common/LoadingSpinner.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,4 @@ export const LoadingSpinner: React.FC<LoadingSpinnerProps> = ({
4949

5050

5151

52+

components/ui/common/ProgressBar.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,4 @@ export const ProgressBar: React.FC<ProgressBarProps> = ({
6060

6161

6262

63+

components/utils/constants.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,3 +86,4 @@ export const FEATURE_FLAGS = {
8686

8787

8888

89+

components/utils/formatting.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,3 +103,4 @@ export function formatDuration(ms: number): string {
103103

104104

105105

106+

components/utils/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ export * from './constants';
44

55

66

7+

0 commit comments

Comments
 (0)