Epaget commited on
Commit
75de43c
·
verified ·
1 Parent(s): 8268a9c

Add 1 files

Browse files
Files changed (1) hide show
  1. index.html +33 -8
index.html CHANGED
@@ -40,6 +40,14 @@
40
  .document-icon {
41
  font-size: 3rem;
42
  }
 
 
 
 
 
 
 
 
43
  </style>
44
  </head>
45
  <body class="bg-gray-50">
@@ -62,7 +70,7 @@
62
  <h2 class="text-3xl md:text-4xl font-bold mb-6">Shared Documents Portal</h2>
63
  <p class="text-xl max-w-3xl mx-auto mb-8">Access important documents and resources shared by Première Urgence Internationale</p>
64
  <a href="https://assopuami.sharepoint.com/sites/EXT_PremireUrgenceInternationaledocuments/_layouts/15/guestaccess.aspx?share=El3eJ9F9qBBCvomjoIhLHGQBr57YAWQmgCsoPS9rivxXKg&e=CuwmUx"
65
- class="inline-block bg-white brand-red-text font-bold py-3 px-8 rounded-lg hover:bg-gray-100 transition duration-300">
66
  Access Documents <i class="fas fa-arrow-right ml-2"></i>
67
  </a>
68
  </div>
@@ -90,7 +98,7 @@
90
 
91
  <div class="text-center mt-8">
92
  <a href="https://assopuami.sharepoint.com/sites/EXT_PremireUrgenceInternationaledocuments/_layouts/15/guestaccess.aspx?share=El3eJ9F9qBBCvomjoIhLHGQBr57YAWQmgCsoPS9rivxXKg&e=CuwmUx"
93
- class="brand-red text-white font-bold py-3 px-8 rounded-lg hover:brand-red-hover transition duration-300 inline-block">
94
  <i class="fas fa-external-link-alt mr-2"></i> Go to Document Library
95
  </a>
96
  </div>
@@ -146,12 +154,29 @@
146
  <script>
147
  // Simple JavaScript for any interactive elements
148
  document.addEventListener('DOMContentLoaded', function() {
149
- // You could add analytics tracking for the document link clicks
150
- const docLink = document.querySelectorAll('a[href*="sharepoint.com"]');
151
- docLink.forEach(link => {
152
- link.addEventListener('click', function() {
153
- console.log('Document library link clicked');
154
- // Could add analytics tracking here
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
155
  });
156
  });
157
  });
 
40
  .document-icon {
41
  font-size: 3rem;
42
  }
43
+
44
+ .btn-grow {
45
+ transition: transform 0.3s ease;
46
+ }
47
+
48
+ .btn-grow:hover {
49
+ transform: scale(1.05);
50
+ }
51
  </style>
52
  </head>
53
  <body class="bg-gray-50">
 
70
  <h2 class="text-3xl md:text-4xl font-bold mb-6">Shared Documents Portal</h2>
71
  <p class="text-xl max-w-3xl mx-auto mb-8">Access important documents and resources shared by Première Urgence Internationale</p>
72
  <a href="https://assopuami.sharepoint.com/sites/EXT_PremireUrgenceInternationaledocuments/_layouts/15/guestaccess.aspx?share=El3eJ9F9qBBCvomjoIhLHGQBr57YAWQmgCsoPS9rivxXKg&e=CuwmUx"
73
+ class="inline-block bg-white brand-red-text font-bold py-3 px-8 rounded-lg hover:bg-gray-100 transition duration-300 btn-grow">
74
  Access Documents <i class="fas fa-arrow-right ml-2"></i>
75
  </a>
76
  </div>
 
98
 
99
  <div class="text-center mt-8">
100
  <a href="https://assopuami.sharepoint.com/sites/EXT_PremireUrgenceInternationaledocuments/_layouts/15/guestaccess.aspx?share=El3eJ9F9qBBCvomjoIhLHGQBr57YAWQmgCsoPS9rivxXKg&e=CuwmUx"
101
+ class="brand-red text-white font-bold py-3 px-8 rounded-lg hover:brand-red-hover transition duration-300 inline-block btn-grow">
102
  <i class="fas fa-external-link-alt mr-2"></i> Go to Document Library
103
  </a>
104
  </div>
 
154
  <script>
155
  // Simple JavaScript for any interactive elements
156
  document.addEventListener('DOMContentLoaded', function() {
157
+ // Track document link clicks
158
+ const docLinks = document.querySelectorAll('a[href*="sharepoint.com"]');
159
+ docLinks.forEach(link => {
160
+ link.addEventListener('click', function(e) {
161
+ // Optional: Add analytics tracking here
162
+ console.log('Navigating to SharePoint document library');
163
+
164
+ // You could add a confirmation if needed
165
+ // const confirmed = confirm('You are being redirected to our secure document library. Continue?');
166
+ // if (!confirmed) {
167
+ // e.preventDefault();
168
+ // }
169
+ });
170
+ });
171
+
172
+ // Add a subtle animation to buttons on hover
173
+ const buttons = document.querySelectorAll('.btn-grow');
174
+ buttons.forEach(button => {
175
+ button.addEventListener('mouseenter', function() {
176
+ this.style.transform = 'scale(1.05)';
177
+ });
178
+ button.addEventListener('mouseleave', function() {
179
+ this.style.transform = 'scale(1)';
180
  });
181
  });
182
  });