Ronio Jerico Roque commited on
Commit
6beaa58
·
1 Parent(s): ffcaafd

Refactor display_outputs function to comment out redundant "Go to top" links for improved clarity

Browse files
Files changed (1) hide show
  1. pages/output.py +12 -12
pages/output.py CHANGED
@@ -230,7 +230,7 @@ def display_outputs():
230
  st.markdown(f"for: **{client_name} ({client_website})**")
231
  st.write("")
232
  st.write("")
233
-
234
  st.markdown("#### Table of Contents")
235
  st.markdown("""<ul><li><a href='#digital-footprint-overview'>Digital Footprint Overview</a></li>
236
  <li><a href='#executive-summary'>Executive Summary</a></li>
@@ -247,7 +247,7 @@ def display_outputs():
247
  </ul>""", unsafe_allow_html=True)
248
 
249
  st.markdown("---")
250
-
251
  st.write("")
252
  st.write("")
253
  st.markdown("### DIGITAL FOOTPRINT OVERVIEW")
@@ -284,7 +284,7 @@ In line with this, we have looked into the technology used by **{client_name}**
284
  website_and_tools_data = get_analyst_response("Website and Tools Analyst")
285
  write_table(website_and_tools_data)
286
 
287
- st.markdown("<a href='#top'>Go to top</a>", unsafe_allow_html=True)
288
  st.markdown("---")
289
 
290
  st.markdown("### SEARCH ENGINE MARKETING/PPC")
@@ -296,7 +296,7 @@ Currently, {client_name} has already explored numerous online advertising. Its c
296
  sem_data = get_analyst_response("SEM/PPC Analyst")
297
  write_table(sem_data)
298
 
299
- st.markdown("<a href='#top'>Go to top</a>", unsafe_allow_html=True)
300
  st.markdown("---")
301
 
302
  st.markdown("### SEARCH ENGINE OPTIMIZATION")
@@ -307,7 +307,7 @@ There are two types of SEO based on where the optimization is implemented: On-pa
307
  seo_data = get_analyst_response("SEO Analyst")
308
  write_table(seo_data)
309
 
310
- st.markdown("<a href='#top'>Go to top</a>", unsafe_allow_html=True)
311
  st.markdown("---")
312
 
313
  # Write On Page Table
@@ -315,7 +315,7 @@ There are two types of SEO based on where the optimization is implemented: On-pa
315
  on_page_data = get_analyst_response("On Page Analyst")
316
  seo_on_page_table(on_page_data)
317
 
318
- st.markdown("<a href='#top'>Go to top</a>", unsafe_allow_html=True)
319
  st.markdown("---")
320
 
321
  # Write Off Page Table
@@ -323,7 +323,7 @@ There are two types of SEO based on where the optimization is implemented: On-pa
323
  on_page_data = get_analyst_response("SEO Off Page Analyst")
324
  seo_on_page_table(on_page_data)
325
 
326
- st.markdown("<a href='#top'>Go to top</a>", unsafe_allow_html=True)
327
  st.markdown("---")
328
 
329
  # Write SocMed Table
@@ -334,7 +334,7 @@ Regardless, it is still a great channel worth investing to improve a business’
334
  social_media_data = get_analyst_response("Social Media Analyst")
335
  write_table(social_media_data)
336
 
337
- st.markdown("<a href='#top'>Go to top</a>", unsafe_allow_html=True)
338
  st.markdown("---")
339
 
340
  # Write SocMed Table
@@ -342,7 +342,7 @@ Regardless, it is still a great channel worth investing to improve a business’
342
  st.markdown(f"""Content is king in digital marketing. People log into the internet to look for and consume information in different formats: text-based, video, audio, or image. Content is what help businesses establish their expertise in the industry, convert leads into customers, guide their customers through their sales funnel, and build relationships with their customers. """)
343
  content_data = get_analyst_response("Content Analyst")
344
  write_table(content_data)
345
- st.markdown("<a href='#top'>Go to top</a>", unsafe_allow_html=True)
346
  st.markdown("---")
347
 
348
  # if (get_analyst_response("Marketplace Analyst")):
@@ -391,7 +391,7 @@ Regardless, it is still a great channel worth investing to improve a business’
391
  st.markdown("##### LEAD NURTURING")
392
  st.write(lld_data.get('lead_nurturing', None))
393
 
394
- st.markdown("<a href='#top'>Go to top</a>", unsafe_allow_html=True)
395
  st.markdown("---")
396
 
397
 
@@ -424,7 +424,7 @@ We have evaluated the process of content development strategy and existing conte
424
  st.write(None)
425
 
426
 
427
- st.markdown("<a href='#top'>Go to top</a>", unsafe_allow_html=True)
428
  st.markdown("---")
429
 
430
 
@@ -458,7 +458,7 @@ We have evaluated the process of content development strategy and existing conte
458
  st.markdown("##### CONNECTION OF ALL ONLINE AND OFFLINE TOUCH POINTS")
459
  st.write(conversion)
460
 
461
- st.markdown("<a href='#top'>Go to top</a>", unsafe_allow_html=True)
462
 
463
 
464
 
 
230
  st.markdown(f"for: **{client_name} ({client_website})**")
231
  st.write("")
232
  st.write("")
233
+ '''
234
  st.markdown("#### Table of Contents")
235
  st.markdown("""<ul><li><a href='#digital-footprint-overview'>Digital Footprint Overview</a></li>
236
  <li><a href='#executive-summary'>Executive Summary</a></li>
 
247
  </ul>""", unsafe_allow_html=True)
248
 
249
  st.markdown("---")
250
+ '''
251
  st.write("")
252
  st.write("")
253
  st.markdown("### DIGITAL FOOTPRINT OVERVIEW")
 
284
  website_and_tools_data = get_analyst_response("Website and Tools Analyst")
285
  write_table(website_and_tools_data)
286
 
287
+ #st.markdown("<a href='#top'>Go to top</a>", unsafe_allow_html=True)
288
  st.markdown("---")
289
 
290
  st.markdown("### SEARCH ENGINE MARKETING/PPC")
 
296
  sem_data = get_analyst_response("SEM/PPC Analyst")
297
  write_table(sem_data)
298
 
299
+ #st.markdown("<a href='#top'>Go to top</a>", unsafe_allow_html=True)
300
  st.markdown("---")
301
 
302
  st.markdown("### SEARCH ENGINE OPTIMIZATION")
 
307
  seo_data = get_analyst_response("SEO Analyst")
308
  write_table(seo_data)
309
 
310
+ #st.markdown("<a href='#top'>Go to top</a>", unsafe_allow_html=True)
311
  st.markdown("---")
312
 
313
  # Write On Page Table
 
315
  on_page_data = get_analyst_response("On Page Analyst")
316
  seo_on_page_table(on_page_data)
317
 
318
+ #st.markdown("<a href='#top'>Go to top</a>", unsafe_allow_html=True)
319
  st.markdown("---")
320
 
321
  # Write Off Page Table
 
323
  on_page_data = get_analyst_response("SEO Off Page Analyst")
324
  seo_on_page_table(on_page_data)
325
 
326
+ #st.markdown("<a href='#top'>Go to top</a>", unsafe_allow_html=True)
327
  st.markdown("---")
328
 
329
  # Write SocMed Table
 
334
  social_media_data = get_analyst_response("Social Media Analyst")
335
  write_table(social_media_data)
336
 
337
+ #st.markdown("<a href='#top'>Go to top</a>", unsafe_allow_html=True)
338
  st.markdown("---")
339
 
340
  # Write SocMed Table
 
342
  st.markdown(f"""Content is king in digital marketing. People log into the internet to look for and consume information in different formats: text-based, video, audio, or image. Content is what help businesses establish their expertise in the industry, convert leads into customers, guide their customers through their sales funnel, and build relationships with their customers. """)
343
  content_data = get_analyst_response("Content Analyst")
344
  write_table(content_data)
345
+ #st.markdown("<a href='#top'>Go to top</a>", unsafe_allow_html=True)
346
  st.markdown("---")
347
 
348
  # if (get_analyst_response("Marketplace Analyst")):
 
391
  st.markdown("##### LEAD NURTURING")
392
  st.write(lld_data.get('lead_nurturing', None))
393
 
394
+ #st.markdown("<a href='#top'>Go to top</a>", unsafe_allow_html=True)
395
  st.markdown("---")
396
 
397
 
 
424
  st.write(None)
425
 
426
 
427
+ #st.markdown("<a href='#top'>Go to top</a>", unsafe_allow_html=True)
428
  st.markdown("---")
429
 
430
 
 
458
  st.markdown("##### CONNECTION OF ALL ONLINE AND OFFLINE TOUCH POINTS")
459
  st.write(conversion)
460
 
461
+ #st.markdown("<a href='#top'>Go to top</a>", unsafe_allow_html=True)
462
 
463
 
464