Spaces:
Runtime error
Runtime error
Merge pull request #32 from HemanthSai7/main
Browse files- frontend/assets/image.png +0 -3
- frontend/pages/Usage.py +15 -13
frontend/assets/image.png
DELETED
Git LFS Details
|
frontend/pages/Usage.py
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
import streamlit as st
|
2 |
from Login import auth_page
|
|
|
3 |
|
4 |
st.set_page_config(
|
5 |
page_title="Usage",
|
@@ -27,24 +28,25 @@ with st.sidebar.expander("🧑Account Details",expanded=True):
|
|
27 |
def usage():
|
28 |
st.markdown("### :rainbow[How to use Techdocs?]")
|
29 |
|
30 |
-
|
31 |
|
32 |
-
|
33 |
|
34 |
-
|
|
|
35 |
|
36 |
-
|
37 |
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
|
49 |
st.markdown("### 📝 :rainbow[Using Techdocs via the CLI]")
|
50 |
st.info("Please use the CLI to generate the documentation for your project. The Streamlit app is just a preview to give the user an idea of the project.")
|
|
|
1 |
import streamlit as st
|
2 |
from Login import auth_page
|
3 |
+
from PIL import Image
|
4 |
|
5 |
st.set_page_config(
|
6 |
page_title="Usage",
|
|
|
28 |
def usage():
|
29 |
st.markdown("### :rainbow[How to use Techdocs?]")
|
30 |
|
31 |
+
col1,col2 = st.columns(2,gap="small")
|
32 |
|
33 |
+
with col1:
|
34 |
|
35 |
+
img = Image.open("images/image.png")
|
36 |
+
st.image(img)
|
37 |
|
38 |
+
st.caption("Boat sailing in the sea")
|
39 |
|
40 |
+
with col2:
|
41 |
+
intro_text="""
|
42 |
+
Now that you've arrived at this digital crossroads, you're most likely eager to dive into the world of Techdocs. Great choice! In today's fast-paced tech landscape, having well-structured and easily accessible documentation is like having a treasure map to navigate the vast ocean of code. You are probably wondering how to use Techdocs.
|
43 |
+
"""
|
44 |
|
45 |
+
text="""
|
46 |
+
But you might be wondering: "How do I embark on this documentation journey with Techdocs?" Fear not, because we're about to chart a course through the fascinating world of Techdocs, where clarity, efficiency, and ease-of-use are the guiding stars.
|
47 |
+
"""
|
48 |
+
st.write(f'<p style="font-size:20px; color:#9c9d9f ">{intro_text}</p>', unsafe_allow_html=True)
|
49 |
+
st.write(f'<p style="color:#9c9d9f; font-size:20px">{text}</p>', unsafe_allow_html=True)
|
50 |
|
51 |
st.markdown("### 📝 :rainbow[Using Techdocs via the CLI]")
|
52 |
st.info("Please use the CLI to generate the documentation for your project. The Streamlit app is just a preview to give the user an idea of the project.")
|