rahul7star commited on
Commit
839a84f
·
verified ·
1 Parent(s): 21ef9ac

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +4 -17
index.html CHANGED
@@ -53,7 +53,7 @@
53
  <nav class="bg-gray-900 shadow-sm sticky top-0 z-10 border-b border-purple-500">
54
  <div class="container mx-auto px-4 py-3 flex justify-between items-center">
55
  <div class="flex items-center">
56
- <video class="w-24 h-12 rounded-md object-cover mr-2" src="https://huggingface.co/rahul7star/ohamlab/resolve/main/ohamlab.mp4" autoplay muted loop playsinline></video>
57
  <span class="text-xl font-bold text-purple-200">OhamLab</span>
58
  </div>
59
  <div class="hidden md:flex space-x-8">
@@ -87,9 +87,7 @@
87
  <button id="logout-guest-btn" class="hidden ml-2 bg-red-100 text-red-700 px-6 py-2 rounded-full shadow-md hover:bg-red-200 transition">
88
  Logout Guest
89
  </button>
90
- <button id="demo-btn" class="mt-4 block mx-auto bg-white text-indigo-600 border-2 border-indigo-600 px-8 py-3 rounded-full font-medium shadow-lg hover:bg-indigo-50 transition">
91
- See Demo
92
- </button>
93
  <div id="user-profile" class="hidden flex items-center space-x-4">
94
  <img id="user-avatar" class="w-10 h-10 rounded-full" src="" alt="User Avatar">
95
  <span id="user-name" class="font-medium text-gray-700"></span>
@@ -1027,17 +1025,7 @@
1027
  const sections = ['home', 'features', 'create', 'pricing'];
1028
  let currentIndex = 0;
1029
 
1030
- window.addEventListener('scroll', () => {
1031
- scrollNav.classList.toggle('hidden', window.scrollY < 200);
1032
- });
1033
-
1034
- scrollUpBtn.addEventListener('click', () => window.scrollTo({ top: 0, behavior: 'smooth' }));
1035
-
1036
- scrollDownBtn.addEventListener('click', () => {
1037
- currentIndex = (currentIndex + 1) % sections.length;
1038
- const target = document.getElementById(sections[currentIndex]);
1039
- if (target) target.scrollIntoView({ behavior: 'smooth' });
1040
- });
1041
 
1042
  // Demo toggle functionality
1043
  document.getElementById('demo-toggle').addEventListener('click', () => {
@@ -1056,6 +1044,5 @@
1056
  iframe.src = 'about:blank';
1057
  }
1058
  });
1059
- </script>
1060
- </body>
1061
  </html>
 
53
  <nav class="bg-gray-900 shadow-sm sticky top-0 z-10 border-b border-purple-500">
54
  <div class="container mx-auto px-4 py-3 flex justify-between items-center">
55
  <div class="flex items-center">
56
+ <video class="w-48 h-12 rounded-md object-cover mr-2" src="https://huggingface.co/rahul7star/ohamlab/resolve/main/ohamlab.mp4" autoplay muted loop playsinline></video>
57
  <span class="text-xl font-bold text-purple-200">OhamLab</span>
58
  </div>
59
  <div class="hidden md:flex space-x-8">
 
87
  <button id="logout-guest-btn" class="hidden ml-2 bg-red-100 text-red-700 px-6 py-2 rounded-full shadow-md hover:bg-red-200 transition">
88
  Logout Guest
89
  </button>
90
+
 
 
91
  <div id="user-profile" class="hidden flex items-center space-x-4">
92
  <img id="user-avatar" class="w-10 h-10 rounded-full" src="" alt="User Avatar">
93
  <span id="user-name" class="font-medium text-gray-700"></span>
 
1025
  const sections = ['home', 'features', 'create', 'pricing'];
1026
  let currentIndex = 0;
1027
 
1028
+
 
 
 
 
 
 
 
 
 
 
1029
 
1030
  // Demo toggle functionality
1031
  document.getElementById('demo-toggle').addEventListener('click', () => {
 
1044
  iframe.src = 'about:blank';
1045
  }
1046
  });
1047
+ </script></body>
 
1048
  </html>