Romeo David commited on
Commit
c48a15e
·
1 Parent(s): f98533f

Add "Go to top" links for improved navigation in display_outputs function

Browse files
Files changed (1) hide show
  1. pages/output.py +16 -3
pages/output.py CHANGED
@@ -115,6 +115,7 @@ def seo_on_page_table(df_data):
115
 
116
 
117
  def display_outputs():
 
118
  client_name = "RMX Creatives"
119
  client_website = "https://rmxcreatives.com/"
120
  overview = f"""**{client_name}** is a financial services company based in Auckland, New Zealand, specializing in providing quick and flexible loan solutions for businesses and individuals. Represented by Paul Stone, LoansOne has enlisted ShoreMarketing to perform a deep dive into their digital footprint to have a view of the holistic status of their digital properties and determine how each property can play part in implementing a stronger digital marketing plan.\n
@@ -151,6 +152,7 @@ In line with this, we have looked into the technology used by **{client_name}**
151
  website_and_tools_data = get_analyst_response("Website and Tools Analyst")
152
  write_table(website_and_tools_data)
153
 
 
154
  st.markdown("---")
155
 
156
  st.markdown("### SEARCH ENGINE MARKETING/PPC")
@@ -162,6 +164,7 @@ Currently, {client_name} has already explored numerous online advertising. Its c
162
  sem_data = get_analyst_response("SEM/PPC Analyst")
163
  write_table(sem_data)
164
 
 
165
  st.markdown("---")
166
 
167
  st.markdown("### SEARCH ENGINE OPTIMIZATION")
@@ -172,6 +175,7 @@ There are two types of SEO based on where the optimization is implemented: On-pa
172
  seo_data = get_analyst_response("SEO Analyst")
173
  write_table(seo_data)
174
 
 
175
  st.markdown("---")
176
 
177
  # Write On Page Table
@@ -179,6 +183,7 @@ There are two types of SEO based on where the optimization is implemented: On-pa
179
  on_page_data = get_analyst_response("On Page Analyst")
180
  seo_on_page_table(on_page_data)
181
 
 
182
  st.markdown("---")
183
 
184
  # Write Off Page Table
@@ -186,6 +191,7 @@ There are two types of SEO based on where the optimization is implemented: On-pa
186
  on_page_data = get_analyst_response("Off Page Analyst")
187
  seo_on_page_table(on_page_data)
188
 
 
189
  st.markdown("---")
190
 
191
  # Write SocMed Table
@@ -196,6 +202,7 @@ Regardless, it is still a great channel worth investing to improve a business’
196
  social_media_data = get_analyst_response("Social Media Analyst")
197
  write_table(social_media_data)
198
 
 
199
  st.markdown("---")
200
 
201
  # Write SocMed Table
@@ -203,13 +210,14 @@ Regardless, it is still a great channel worth investing to improve a business’
203
  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. """)
204
  content_data = get_analyst_response("Content Analyst")
205
  write_table(content_data)
206
-
207
  st.markdown("---")
208
 
209
  if (get_analyst_response("Marketplace Analyst")):
210
  st.markdown("### MARKET PLACE")
211
  marketpalce_data = get_analyst_response("Marketplace Analyst")
212
  write_table(marketpalce_data)
 
213
  st.markdown("---")
214
 
215
 
@@ -247,9 +255,10 @@ Regardless, it is still a great channel worth investing to improve a business’
247
  st.markdown("##### LEAD NURTURING")
248
  st.write(lld_data['lead_nurturing'])
249
 
 
 
250
 
251
 
252
- st.markdown("---")
253
  st.markdown("#### CONTENT - PROCESS AND ASSETS")
254
  st.write(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. \n
255
  We have evaluated the process of content development strategy and existing content assets of {client_name} based on how they serve clients throughout the customer journey. """)
@@ -259,9 +268,11 @@ We have evaluated the process of content development strategy and existing conte
259
  st.write("TBD")
260
  st.markdown("##### DECISION STAGE")
261
  st.write("TBD")
 
 
 
262
 
263
 
264
- st.markdown("---")
265
  st.markdown("#### CONVERSION – ACTIVATION OF VISITORS")
266
  st.markdown("##### AWARENESS TO TRAFFIC")
267
  st.write("TBD")
@@ -275,6 +286,8 @@ We have evaluated the process of content development strategy and existing conte
275
  st.markdown("##### CONNECTION OF ALL ONLINE AND OFFLINE TOUCH POINTS")
276
  st.write("TBD")
277
 
 
 
278
 
279
  if st.button("Back to Dashboard", icon="🏠"):
280
  st.switch_page("pages/home.py")
 
115
 
116
 
117
  def display_outputs():
118
+ st.markdown("<div id='top'></div>", unsafe_allow_html=True);
119
  client_name = "RMX Creatives"
120
  client_website = "https://rmxcreatives.com/"
121
  overview = f"""**{client_name}** is a financial services company based in Auckland, New Zealand, specializing in providing quick and flexible loan solutions for businesses and individuals. Represented by Paul Stone, LoansOne has enlisted ShoreMarketing to perform a deep dive into their digital footprint to have a view of the holistic status of their digital properties and determine how each property can play part in implementing a stronger digital marketing plan.\n
 
152
  website_and_tools_data = get_analyst_response("Website and Tools Analyst")
153
  write_table(website_and_tools_data)
154
 
155
+ st.markdown("<a href='#top'>Go to top</a>", unsafe_allow_html=True)
156
  st.markdown("---")
157
 
158
  st.markdown("### SEARCH ENGINE MARKETING/PPC")
 
164
  sem_data = get_analyst_response("SEM/PPC Analyst")
165
  write_table(sem_data)
166
 
167
+ st.markdown("<a href='#top'>Go to top</a>", unsafe_allow_html=True)
168
  st.markdown("---")
169
 
170
  st.markdown("### SEARCH ENGINE OPTIMIZATION")
 
175
  seo_data = get_analyst_response("SEO Analyst")
176
  write_table(seo_data)
177
 
178
+ st.markdown("<a href='#top'>Go to top</a>", unsafe_allow_html=True)
179
  st.markdown("---")
180
 
181
  # Write On Page Table
 
183
  on_page_data = get_analyst_response("On Page Analyst")
184
  seo_on_page_table(on_page_data)
185
 
186
+ st.markdown("<a href='#top'>Go to top</a>", unsafe_allow_html=True)
187
  st.markdown("---")
188
 
189
  # Write Off Page Table
 
191
  on_page_data = get_analyst_response("Off Page Analyst")
192
  seo_on_page_table(on_page_data)
193
 
194
+ st.markdown("<a href='#top'>Go to top</a>", unsafe_allow_html=True)
195
  st.markdown("---")
196
 
197
  # Write SocMed Table
 
202
  social_media_data = get_analyst_response("Social Media Analyst")
203
  write_table(social_media_data)
204
 
205
+ st.markdown("<a href='#top'>Go to top</a>", unsafe_allow_html=True)
206
  st.markdown("---")
207
 
208
  # Write SocMed Table
 
210
  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. """)
211
  content_data = get_analyst_response("Content Analyst")
212
  write_table(content_data)
213
+ st.markdown("<a href='#top'>Go to top</a>", unsafe_allow_html=True)
214
  st.markdown("---")
215
 
216
  if (get_analyst_response("Marketplace Analyst")):
217
  st.markdown("### MARKET PLACE")
218
  marketpalce_data = get_analyst_response("Marketplace Analyst")
219
  write_table(marketpalce_data)
220
+ st.markdown("<a href='#top'>Go to top</a>", unsafe_allow_html=True)
221
  st.markdown("---")
222
 
223
 
 
255
  st.markdown("##### LEAD NURTURING")
256
  st.write(lld_data['lead_nurturing'])
257
 
258
+ st.markdown("<a href='#top'>Go to top</a>", unsafe_allow_html=True)
259
+ st.markdown("---")
260
 
261
 
 
262
  st.markdown("#### CONTENT - PROCESS AND ASSETS")
263
  st.write(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. \n
264
  We have evaluated the process of content development strategy and existing content assets of {client_name} based on how they serve clients throughout the customer journey. """)
 
268
  st.write("TBD")
269
  st.markdown("##### DECISION STAGE")
270
  st.write("TBD")
271
+
272
+ st.markdown("<a href='#top'>Go to top</a>", unsafe_allow_html=True)
273
+ st.markdown("---")
274
 
275
 
 
276
  st.markdown("#### CONVERSION – ACTIVATION OF VISITORS")
277
  st.markdown("##### AWARENESS TO TRAFFIC")
278
  st.write("TBD")
 
286
  st.markdown("##### CONNECTION OF ALL ONLINE AND OFFLINE TOUCH POINTS")
287
  st.write("TBD")
288
 
289
+ st.markdown("<a href='#top'>Go to top</a>", unsafe_allow_html=True)
290
+
291
 
292
  if st.button("Back to Dashboard", icon="🏠"):
293
  st.switch_page("pages/home.py")