GreenMoood commited on
Commit
2eb6ae2
·
verified ·
1 Parent(s): b7a427e

it does not work

Browse files
Files changed (3) hide show
  1. dashboard.html +2 -2
  2. index.html +2 -2
  3. login.html +3 -6
dashboard.html CHANGED
@@ -130,9 +130,9 @@
130
  <button class="p-2 rounded-full hover:bg-gray-700">
131
  <i data-feather="bell" class="w-5 h-5"></i>
132
  </button>
133
- <button onclick="window.location.href='login.html'" class="p-2 rounded-full hover:bg-gray-700">
134
  <i data-feather="log-out" class="w-5 h-5"></i>
135
- </button>
136
  </div>
137
  </header>
138
  <!-- Dashboard Content -->
 
130
  <button class="p-2 rounded-full hover:bg-gray-700">
131
  <i data-feather="bell" class="w-5 h-5"></i>
132
  </button>
133
+ <a href="login.html" class="p-2 rounded-full hover:bg-gray-700">
134
  <i data-feather="log-out" class="w-5 h-5"></i>
135
+ </a>
136
  </div>
137
  </header>
138
  <!-- Dashboard Content -->
index.html CHANGED
@@ -104,11 +104,11 @@
104
  </div>
105
  </div>
106
  <div class="max-w-md mx-auto text-center px-4 pb-8">
107
- <a href="login.html" class="login-btn inline-block px-8 py-3 rounded-full bg-blue-600 hover:bg-blue-500 text-white font-medium text-lg shadow-lg">
108
  Sign In with Microsoft 365
109
  <i data-feather="arrow-right" class="inline ml-2 w-5 h-5"></i>
110
  </a>
111
- <p class="mt-4 text-blue-100">Use your company Microsoft account</p>
112
  </div>
113
  </main>
114
 
 
104
  </div>
105
  </div>
106
  <div class="max-w-md mx-auto text-center px-4 pb-8">
107
+ <a href="login.html" class="login-btn block px-8 py-3 rounded-full bg-blue-600 hover:bg-blue-500 text-white font-medium text-lg shadow-lg text-center">
108
  Sign In with Microsoft 365
109
  <i data-feather="arrow-right" class="inline ml-2 w-5 h-5"></i>
110
  </a>
111
+ <p class="mt-4 text-blue-100">Use your company Microsoft account</p>
112
  </div>
113
  </main>
114
 
login.html CHANGED
@@ -60,10 +60,10 @@
60
  </div>
61
  <a href="#" class="text-sm text-blue-300 hover:text-blue-200">Forgot password?</a>
62
  </div>
63
- <button onclick="window.location.href='dashboard.html'" class="w-full bg-blue-600 hover:bg-blue-500 text-white font-medium py-3 px-4 rounded-lg transition shadow-md">
64
  Continue with Microsoft 365
65
  <i data-feather="arrow-right" class="inline ml-2 w-4 h-4"></i>
66
- </button>
67
  </div>
68
 
69
  <div class="mt-6 text-center">
@@ -83,10 +83,7 @@
83
  }
84
 
85
  // Auto-redirect for demo purposes (remove in production)
86
- document.querySelector('button').addEventListener('click', function() {
87
- window.location.href = 'dashboard.html';
88
- });
89
- });
90
  </script>
91
  </body>
92
  </html>
 
60
  </div>
61
  <a href="#" class="text-sm text-blue-300 hover:text-blue-200">Forgot password?</a>
62
  </div>
63
+ <a href="dashboard.html" class="block w-full bg-blue-600 hover:bg-blue-500 text-white font-medium py-3 px-4 rounded-lg transition shadow-md text-center">
64
  Continue with Microsoft 365
65
  <i data-feather="arrow-right" class="inline ml-2 w-4 h-4"></i>
66
+ </a>
67
  </div>
68
 
69
  <div class="mt-6 text-center">
 
83
  }
84
 
85
  // Auto-redirect for demo purposes (remove in production)
86
+ });
 
 
 
87
  </script>
88
  </body>
89
  </html>