This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/whimsy-whimsical-site.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new 48bab58  Add missing Privacy link
48bab58 is described below

commit 48bab58301b06f6eaa517ab803723f8a1628a693
Author: Sebb <s...@apache.org>
AuthorDate: Tue Aug 19 14:33:50 2025 +0100

    Add missing Privacy link
    
    Fix up broken drop-down
---
 dropdown.css | 31 +++++++++++++++++++++++++++++++
 index.html   | 23 ++++++++++++-----------
 2 files changed, 43 insertions(+), 11 deletions(-)

diff --git a/dropdown.css b/dropdown.css
new file mode 100644
index 0000000..e240f47
--- /dev/null
+++ b/dropdown.css
@@ -0,0 +1,31 @@
+/* The container <div> - needed to position the dropdown content */
+.dropdown {
+  position: relative;
+  display: inline-block;
+}
+
+/* Dropdown Content (Hidden by Default) */
+.dropdown-content {
+  display: none;
+  position: absolute;
+  background-color: #f9f9f9;
+  min-width: 200px;
+  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
+  z-index: 1;
+}
+
+/* Links inside the dropdown */
+.dropdown-content a {
+  color: black;
+  padding: 12px 16px;
+  text-decoration: none;
+  display: block;
+}
+
+/* Change color of dropdown links on hover */
+.dropdown-content a:hover {background-color: #f1f1f1}
+
+/* Show the dropdown menu on hover */
+.dropdown:hover .dropdown-content {
+  display: block;
+}
diff --git a/index.html b/index.html
index ed63642..e1ae566 100644
--- a/index.html
+++ b/index.html
@@ -5,6 +5,7 @@
   <title>Apache Whimsy Project Homepage</title>
   <meta name="viewport" content="width=device-width, initial-scale=1">
   <link rel="stylesheet" type="text/css" href="bootstrap.min.css"/>
+  <link rel="stylesheet" type="text/css" href="dropdown.css"/>
 </head>
 <body>
   <div class="header container-fluid">
@@ -32,17 +33,17 @@
             </a>
           </li>
           <li class="dropdown">
-            <a href="#" class="dropdown-toggle" data-toggle="dropdown" 
role="button" aria-haspopup="true" aria-expanded="false">About Apache <span 
class="caret"></span></a>
-            <ul class="dropdown-menu">
-              <li><a href="https://www.apache.org/foundation/governance/";>The 
Apache Way</a></li>
-              <li><a href="https://community.apache.org/";>How To 
Participate</a></li>
-              <li><a 
href="https://www.apache.org/foundation/thanks.html";>Thanks to our 
Supporters</a></li>
-              <li><a 
href="https://www.apache.org/foundation/contributing.html";>Support 
Apache</a></li>
-              <li><a 
href="https://www.apache.org/foundation/sponsorship.html";>Sponsor 
Apache</a></li>
-              <li><a 
href="https://www.apache.org/foundation/thanks.html";>Thanks</a> to our 
Sponsors!</li>
-              <li><a href="https://www.apache.org/security/";>Security</a></li>
-              <li><a href="https://www.apache.org/licenses/";>License</a></li>
-            </ul>
+            <a href="#" role="button" aria-haspopup="true" 
aria-expanded="false">About Apache <span class="caret"></span></a>
+            <div class="dropdown-content">
+              <a href="https://www.apache.org/foundation/governance/";>The 
Apache Way</a>
+              <a href="https://community.apache.org/";>How To Participate</a>
+              <a 
href="https://www.apache.org/foundation/contributing.html";>Support Apache</a>
+              <a 
href="https://www.apache.org/foundation/sponsorship.html";>Sponsor Apache</a>
+              <a href="https://www.apache.org/foundation/thanks.html";>Thanks 
to our Sponsors!</a>
+              <a href="https://www.apache.org/security/";>Security</a>
+              <a 
href="privacy.apache.org/policies/privacy-policy-public.html">Privacy</href>
+              <a href="https://www.apache.org/licenses/";>License</a>
+            </div>
           </li>
         </ul>
       </div>

Reply via email to