Lisibonny commited on
Commit
f80ab29
1 Parent(s): 8ca54ac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +27 -15
app.py CHANGED
@@ -33,26 +33,14 @@ def main():
33
  st.header('El Repartidor Dominicano')
34
  st.image('repartidor_periodicos.jpeg', width=150)
35
 
36
-
37
- with st.expander("About the #30DaysOfStreamlit"):
38
- st.markdown(
39
- """
40
- The **#30DaysOfStreamlit** is a coding challenge designed to help you get started in building Streamlit apps.
41
-
42
- Particularly, you'll be able to:
43
- - Set up a coding environment for building Streamlit apps
44
- - Build your first Streamlit app
45
- - Learn about all the awesome input/output widgets to use for your Streamlit app
46
- """
47
- )
48
 
49
  # Sidebar
50
- st.sidebar.header("About")
51
  st.sidebar.markdown(
52
  "[Streamlit](https://streamlit.io) is a Python library that allows the creation of interactive, data-driven web applications in Python."
53
  )
54
 
55
- st.sidebar.header("Resources")
56
  st.sidebar.markdown(
57
  """
58
  - [Streamlit Documentation](https://docs.streamlit.io/)
@@ -62,11 +50,35 @@ def main():
62
  """
63
  )
64
 
65
- st.sidebar.header("Deploy")
66
  st.sidebar.markdown(
67
  "You can quickly deploy Streamlit apps using [Streamlit Community Cloud](https://streamlit.io/cloud) in just a few clicks."
68
  )
69
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
70
 
71
  df=cargar_articulos()
72
  articulos_indexados = pd.read_csv('articulos_indexados.csv')
 
33
  st.header('El Repartidor Dominicano')
34
  st.image('repartidor_periodicos.jpeg', width=150)
35
 
 
 
 
 
 
 
 
 
 
 
 
 
36
 
37
  # Sidebar
38
+ st.sidebar.header("Acerca de")
39
  st.sidebar.markdown(
40
  "[Streamlit](https://streamlit.io) is a Python library that allows the creation of interactive, data-driven web applications in Python."
41
  )
42
 
43
+ st.sidebar.header("Acerca de los Artículo Noticiosos Indexados")
44
  st.sidebar.markdown(
45
  """
46
  - [Streamlit Documentation](https://docs.streamlit.io/)
 
50
  """
51
  )
52
 
53
+ st.sidebar.header("Disclaimer")
54
  st.sidebar.markdown(
55
  "You can quickly deploy Streamlit apps using [Streamlit Community Cloud](https://streamlit.io/cloud) in just a few clicks."
56
  )
57
 
58
+ st.sidebar.header("¿Te gustó mi sitio? ¡Cómprame un café!)
59
+ st.sidebar.markdown(
60
+ """
61
+ <div id="donate-button-container">
62
+ <div id="donate-button"></div>
63
+ <script src="https://www.paypalobjects.com/donate/sdk/donate-sdk.js" charset="UTF-8"></script>
64
+ <script>
65
+ PayPal.Donation.Button({
66
+ env:'production',
67
+ hosted_button_id:'VK5ZAB52ZYDNA',
68
+ image: {
69
+ src:'https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif',
70
+ alt:'Donate with PayPal button',
71
+ title:'PayPal - The safer, easier way to pay online!',
72
+ }
73
+ }).render('#donate-button');
74
+ </script>
75
+ </div>
76
+ """
77
+ )
78
+
79
+
80
+
81
+
82
 
83
  df=cargar_articulos()
84
  articulos_indexados = pd.read_csv('articulos_indexados.csv')