-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.py
127 lines (92 loc) · 2.97 KB
/
app.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
import streamlit as st
from PIL import Image
with open("style.css") as f:
st.markdown('<style>{}</style>'.format(f.read()), unsafe_allow_html=True)
#####################
# Header
st.write('''
# VINAY NAIK V
##### *Resume*
''')
image = Image.open('dp.jpg')
st.image(image, width=150)
st.markdown('## bio', unsafe_allow_html=True)
st.info('''
- student at siddaganga institute of technology -computer science and engineering.
- aspiring coder
''')
#####################
# Navigation
st.markdown('<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">', unsafe_allow_html=True)
st.markdown("""
<nav class="navbar fixed-top navbar-expand-lg navbar-dark" style="background-color: #16A2CB;">
<a class="navbar-brand" href="https://youtube.com/dataprofessor" target="_blank">vinay</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav">
<li class="nav-item active">
<a class="nav-link disabled" href="/">Home <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="#education">Education</a>
</li>
</div>
</nav>
""", unsafe_allow_html=True)
#####################
# Custom function for printing text
def txt(a, b):
col1, col2 = st.columns([4,1])
with col1:
st.markdown(a)
with col2:
st.markdown(b)
def txt2(a, b):
col1, col2 = st.columns([1,4])
with col1:
st.markdown(f'`{a}`')
with col2:
st.markdown(b)
def txt3(a, b):
col1, col2 = st.columns([1,2])
with col1:
st.markdown(a)
with col2:
st.markdown(b)
def txt4(a, b, c):
col1, col2, col3 = st.columns([1.5,2,2])
with col1:
st.markdown(f'`{a}`')
with col2:
st.markdown(b)
with col3:
st.markdown(c)
#####################
st.markdown('''
## Education
''')
txt('**sheshadripuram pu collage** ( pre university), *tumkur*, karnataka',
'2020-2022')
st.markdown('''
- percentage: 10th-96%
12th-93%
''')
txt('**siddaganga institute of technology** (bachelor of engineering), *tumkur karnataka*',
'2022-2026')
st.markdown('''
''')
#####################
st.markdown('''
## Skills
''')
txt3('Programming', '`Python`, `java`, `c`')
txt3('Web development', '`Flask`, `HTML`, `CSS`')
txt3('Model deployment', '`streamlit`')
#####################
st.markdown('''
## Social Media
''')
txt2('LinkedIn', 'https://www.linkedin.com/in/vinay-naik-v-4aa303251')
txt2('GitHub', 'https://github.com/vinay2522')