Wajahat698 commited on
Commit
e1559d5
·
verified ·
1 Parent(s): 2e6a730

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -7
app.py CHANGED
@@ -1504,11 +1504,12 @@ if not st.session_state.get("chat_started", False):
1504
  });
1505
  </script>
1506
  <style>
1507
- /* Hide all <a> elements inside elements with block-container and st-emotion-cache-1eo1tir ea3mdgi5 classes */
1508
  .block-container.st-emotion-cache-1eo1tir.ea3mdgi5 a {
1509
- display: none !important;
 
1510
  }
1511
- /* Ensure links in the sidebar are visible and underlined */
1512
  .stSidebar a {
1513
  display: inline !important;
1514
  text-decoration: underline !important;
@@ -1565,19 +1566,20 @@ if not st.session_state.get("chat_started", False):
1565
  <div class="section-container">
1566
  <div class="section">
1567
  <h2>Find</h2>
1568
- <p>Discover all your great TrustBuilders®. <br> Example: Find Development Trust Builders® for Food for the hungry
1569
  </div>
1570
  <div class="section">
1571
  <h2>Create</h2>
1572
- <p>Generate trust-optimised solutions : <br>Example: Find Food for the hungry development TrustBuilders®. Then use them to write a 200-word annual report article. Enthusiastic tone.</p>
1573
  </div>
1574
  <div class="section">
1575
  <h2>Trust-optimise</h2>
1576
- <p>Paste your LinkedIn profile, EDM or blog and ask Trustifier.ai® to improve it using specific Trust Buckets® and add your specific TrustBuilders® as examples.</p>
1577
  </div>
1578
  </div>
1579
  <div style="height: 50px;"></div> <!-- Adds a gap of 50px after the section containers -->
1580
- """, unsafe_allow_html=True)
 
1581
 
1582
  hide_specific_warning = """
1583
  <script>
 
1504
  });
1505
  </script>
1506
  <style>
1507
+ /* Completely hide all <a> elements inside specific containers */
1508
  .block-container.st-emotion-cache-1eo1tir.ea3mdgi5 a {
1509
+ pointer-events: none; /* Disable interaction with links */
1510
+ display: none !important; /* Hide links */
1511
  }
1512
+ /* Ensure sidebar links remain functional and visible */
1513
  .stSidebar a {
1514
  display: inline !important;
1515
  text-decoration: underline !important;
 
1566
  <div class="section-container">
1567
  <div class="section">
1568
  <h2>Find</h2>
1569
+ <p>Discover all your great TrustBuilders®. <br> Example: Find Development Trust Builders® for Food for the hungry.</p>
1570
  </div>
1571
  <div class="section">
1572
  <h2>Create</h2>
1573
+ <p>Generate trust-optimised solutions: <br>Example: Find Food for the hungry development TrustBuilders®. Then use them to write a 200-word annual report article. Enthusiastic tone.</p>
1574
  </div>
1575
  <div class="section">
1576
  <h2>Trust-optimise</h2>
1577
+ <p>Paste your LinkedIn profile, EDM, or blog and ask Trustifier.ai® to improve it using specific Trust Buckets® and add your specific TrustBuilders® as examples.</p>
1578
  </div>
1579
  </div>
1580
  <div style="height: 50px;"></div> <!-- Adds a gap of 50px after the section containers -->
1581
+ """, unsafe_allow_html=True)
1582
+
1583
 
1584
  hide_specific_warning = """
1585
  <script>