tracinginsights commited on
Commit
9f864b4
1 Parent(s): 787220f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +31 -31
app.py CHANGED
@@ -1,7 +1,7 @@
1
  from git import Repo
2
  import os
3
  import streamlit as st
4
- import streamlit_analytics
5
  from PIL import Image
6
 
7
  st.set_page_config(
@@ -25,35 +25,35 @@ from repo_directory.st_functions import st_button, load_css
25
 
26
 
27
  #streamlit_analytics.start_tracking()
28
- with streamlit_analytics.track():
29
- load_css()
30
-
31
- col1, col2, col3 = st.columns(3)
32
- col2.image(Image.open('Logo.png'))
33
-
34
-
35
- st.header('Tracing Insights')
36
-
37
- st.info("Home for F1 data-driven analytics, pre-race predictions, post-race analysis, dank memes you won't find anywhere else")
38
-
39
- icon_size = 20
40
-
41
- st_button('youtube', 'https://www.youtube.com/@TracingInsights', 'Tracing Insights YouTube channel', icon_size)
42
- st_button('twitter', 'https://twitter.com/tracinginsights', 'Follow me on Twitter', icon_size)
43
- st_button('newsletter', 'https://tracinginsights.substack.com/', 'Sign up for my Newsletter', icon_size)
44
- st_button('cup', 'https://www.buymeacoffee.com/tracinginsights', 'Buy me a Coffee', icon_size)
45
- st_button('', 'https://discord.gg/ZabvWFNQFz', 'Join Discord', icon_size)
46
- st_button('', 'https://instagram.com/tracinginsights', 'Follow me on Instagram', icon_size)
47
-
48
- st_button('', 'https://www.facebook.com/TracingInsights', 'Follow me on Facebook', icon_size)
49
- st_button('', 'https://www.linkedin.com/company/tracinginsights', 'Follow me on LinkedIn', icon_size)
50
- st_button('', 'https://www.patreon.com/tracinginsights', 'Patreon for exclusive content', icon_size)
51
- st_button('', 'https://www.twitch.tv/tracinginsights', 'Follow me on Twitch', icon_size)
52
- st_button('', 'https://clubhouse.com/@tracinginsights', 'Follow me on ClubHouse', icon_size)
53
-
54
- st_button('', 'https://paypal.me/TracingInsights?country.x=IN&locale.x=en_GB', 'PayPal', icon_size)
55
- st_button('', 'https://tracinginsights.creator-spring.com/', 'Shop Merch', icon_size)
56
- st_button('', 'https://www.reddit.com/r/TracingInsights/', 'Join r/TracingInsights sub-reddit', icon_size)
57
- st_button('', 'https://amazon.com/dp/B0BF2XK7Q6', 'Buy my Childrens book', icon_size)
58
 
59
  #streamlit_analytics.stop_tracking()
 
1
  from git import Repo
2
  import os
3
  import streamlit as st
4
+ #import streamlit_analytics
5
  from PIL import Image
6
 
7
  st.set_page_config(
 
25
 
26
 
27
  #streamlit_analytics.start_tracking()
28
+ #with streamlit_analytics.track():
29
+ load_css()
30
+
31
+ col1, col2, col3 = st.columns(3)
32
+ col2.image(Image.open('Logo.png'))
33
+
34
+
35
+ st.header('Tracing Insights')
36
+
37
+ st.info("Home for F1 data-driven analytics, pre-race predictions, post-race analysis, dank memes you won't find anywhere else")
38
+
39
+ icon_size = 20
40
+
41
+ st_button('youtube', 'https://www.youtube.com/@TracingInsights', 'Tracing Insights YouTube channel', icon_size)
42
+ st_button('twitter', 'https://twitter.com/tracinginsights', 'Follow me on Twitter', icon_size)
43
+ st_button('newsletter', 'https://tracinginsights.substack.com/', 'Sign up for my Newsletter', icon_size)
44
+ st_button('cup', 'https://www.buymeacoffee.com/tracinginsights', 'Buy me a Coffee', icon_size)
45
+ st_button('', 'https://discord.gg/ZabvWFNQFz', 'Join Discord', icon_size)
46
+ st_button('', 'https://instagram.com/tracinginsights', 'Follow me on Instagram', icon_size)
47
+
48
+ st_button('', 'https://www.facebook.com/TracingInsights', 'Follow me on Facebook', icon_size)
49
+ st_button('', 'https://www.linkedin.com/company/tracinginsights', 'Follow me on LinkedIn', icon_size)
50
+ st_button('', 'https://www.patreon.com/tracinginsights', 'Patreon for exclusive content', icon_size)
51
+ st_button('', 'https://www.twitch.tv/tracinginsights', 'Follow me on Twitch', icon_size)
52
+ st_button('', 'https://clubhouse.com/@tracinginsights', 'Follow me on ClubHouse', icon_size)
53
+
54
+ st_button('', 'https://paypal.me/TracingInsights?country.x=IN&locale.x=en_GB', 'PayPal', icon_size)
55
+ st_button('', 'https://tracinginsights.creator-spring.com/', 'Shop Merch', icon_size)
56
+ st_button('', 'https://www.reddit.com/r/TracingInsights/', 'Join r/TracingInsights sub-reddit', icon_size)
57
+ st_button('', 'https://amazon.com/dp/B0BF2XK7Q6', 'Buy my Childrens book', icon_size)
58
 
59
  #streamlit_analytics.stop_tracking()