trohith89 commited on
Commit
3678ab7
·
verified ·
1 Parent(s): bd816e8

Update Home.py

Browse files
Files changed (1) hide show
  1. Home.py +43 -0
Home.py CHANGED
@@ -104,3 +104,46 @@ st.markdown(
104
  """,
105
  unsafe_allow_html=True
106
  )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
104
  """,
105
  unsafe_allow_html=True
106
  )
107
+
108
+ st.markdown(
109
+ """
110
+ <style>
111
+ .button-container {
112
+ display: flex;
113
+ justify-content: center;
114
+ gap: 20px;
115
+ }
116
+
117
+ .prev-btn, .next-btn {
118
+ padding: 10px 20px;
119
+ font-size: 16px;
120
+ border: 2px solid transparent;
121
+ border-radius: 12px;
122
+ cursor: pointer;
123
+ color: white;
124
+ font-weight: bold;
125
+ text-align: center;
126
+ width: 120px;
127
+ transition: all 0.3s ease;
128
+ }
129
+
130
+ .prev-btn {
131
+ background: linear-gradient(to right, #ff7e5f, #feb47b);
132
+ }
133
+
134
+ .next-btn {
135
+ background: linear-gradient(to right, #6a11cb, #2575fc);
136
+ }
137
+
138
+ .prev-btn:hover, .next-btn:hover {
139
+ transform: scale(1.1);
140
+ border-color: white;
141
+ }
142
+ </style>
143
+ <div class="button-container">
144
+ <button class="prev-btn" onclick="window.location.href='YOUR_PREV_PAGE_URL'">Previous</button>
145
+ <button class="next-btn" onclick="window.location.href='YOUR_NEXT_PAGE_URL'">Next</button>
146
+ </div>
147
+ """,
148
+ unsafe_allow_html=True
149
+ )