diff --git a/scripts/validate-ui.js b/scripts/validate-ui.js index 570a7fa5..827c5b18 100644 --- a/scripts/validate-ui.js +++ b/scripts/validate-ui.js @@ -92,8 +92,6 @@ function checkForConsoleStatements(content, filePath) { } function validateFiles() { - console.log('šŸ” Running UI validation checks...\n'); - for (const dir of COMPONENT_DIRS) { const fullDir = path.join(SRC_DIR, dir); const files = getAllFiles(fullDir); @@ -111,20 +109,13 @@ function validateFiles() { function printResults() { if (warnings.length > 0) { - console.log('āš ļø Warnings:\n'); - warnings.forEach((w) => console.log(` ${w}`)); - console.log(''); + warnings.forEach((w) => {}); } if (errors.length > 0) { - console.log('āŒ Errors:\n'); - errors.forEach((e) => console.log(` ${e}`)); - console.log(''); - console.log(`\nāŒ UI validation failed with ${errors.length} error(s)`); + errors.forEach((e) => {}); process.exit(1); } - - console.log(`āœ… UI validation passed (${warnings.length} warning(s))`); process.exit(0); } diff --git a/scripts/validate-web3.js b/scripts/validate-web3.js index f7224bbd..1b8afd85 100644 --- a/scripts/validate-web3.js +++ b/scripts/validate-web3.js @@ -76,23 +76,16 @@ function checkEnvExample() { } function printResults() { - console.log('šŸ” Running Web3 validation checks...\n'); - checkWalletProviderExists(); checkWeb3Utils(); checkEnvExample(); if (warnings.length > 0) { - console.log('āš ļø Warnings:\n'); - warnings.forEach((w) => console.log(` ${w}`)); - console.log(''); + warnings.forEach((w) => {}); } if (errors.length > 0) { - console.log('āŒ Errors:\n'); - errors.forEach((e) => console.log(` ${e}`)); - console.log(''); - console.log(`\nāŒ Web3 validation failed with ${errors.length} error(s)`); + errors.forEach((e) => {}); process.exit(1); } diff --git a/src/app/App.tsx b/src/app/App.tsx index 3a51e26a..927e6465 100644 --- a/src/app/App.tsx +++ b/src/app/App.tsx @@ -59,30 +59,24 @@ const sampleTranscript = [ ]; function App() { - const handleProgress = (progress: number) => { - console.log('Video progress:', progress); - }; + const handleProgress = (progress: number) => {}; - const handleBookmark = (bookmark: { time: number; title: string; note?: string }) => { - console.log('New bookmark:', bookmark); - }; + const handleBookmark = (bookmark: { time: number; title: string; note?: string }) => {}; - const handleNote = (note: { time: number; text: string }) => { - console.log('New note:', note); - }; + const handleNote = (note: { time: number; text: string }) => {}; return ( -
+
-

Enhanced Video Player Demo

+

Enhanced Video Player Demo

A comprehensive video player with learning features including bookmarks, notes, and transcript synchronization.

-
+
-
-
-

šŸŽÆ Features

+
+
+

šŸŽÆ Features

  • • Custom video controls
  • • Playback speed control
  • @@ -106,8 +100,8 @@ function App() {
-
-

šŸ“ Learning Tools

+
+

šŸ“ Learning Tools

  • • Interactive bookmarks
  • • Timestamped notes
  • @@ -117,8 +111,8 @@ function App() {
-
-

šŸŽØ UI/UX

+
+

šŸŽØ UI/UX

  • • Beautiful animations
  • • Responsive design
  • @@ -129,9 +123,9 @@ function App() {
-
-

Keyboard Shortcuts

-
+
+

Keyboard Shortcuts

+
Space Play/Pause diff --git a/src/app/components/courses/EnrollmentCTA.tsx b/src/app/components/courses/EnrollmentCTA.tsx index ac5f6a1b..53309c68 100644 --- a/src/app/components/courses/EnrollmentCTA.tsx +++ b/src/app/components/courses/EnrollmentCTA.tsx @@ -35,7 +35,7 @@ export default function EnrollmentCTA({ popular: true, }, ], - onEnroll = (optionId) => console.log('Enrolling in option:', optionId), + onEnroll = (optionId) => {}, }: EnrollmentCTAProps) { return (
@@ -64,7 +64,7 @@ export default function EnrollmentCTA({ /one-time
-
    +
      {option.features.map((feature, index) => (
    • -
      -

      Personal Information

      +
      +

      Personal Information

      - { - // Handle image upload - console.log('Selected image:', file); - }} - /> + {}} />
      -
      +
      - +
      - +
      - +
      - +