-
Notifications
You must be signed in to change notification settings - Fork 1
/
footpage.py
80 lines (74 loc) · 3.09 KB
/
footpage.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
# -*- coding: utf-8 -*-
import base64
import datetime
import io
import dash
import dash_core_components as dcc
import dash_html_components as html
from mylayouts import *
from image import *
images = {
'alana': base64.b64encode(open('img/alana.png', 'rb').read()),
'caio': base64.b64encode(open('img/caio.png', 'rb').read()),
'micanga': base64.b64encode(open('img/micanga.png', 'rb').read())
}
texts = {
'bye': 'Thanks to use Anattery',
'creators': 'CREATORS',
'alana': ['Technical expertise in Interfacial electrochemistry, Electrocatalysis, Development and Characterization of materials for energy conversion/storage. Project Design and Management.'],
'caio': ['<TO DO>'],
'micanga': ['Computer Science researcher currently working with Cooperative Game Theory. Diverse background and interest in the hottest areas (e.g., Data Forecasting and General Problem Design).'],
}
colors = {
'background': '#FFFFFF',
'text': '#000000'
}
def FootPage():
column1 = [ImageHTML(images['alana']),
SubTitleBoldHTML('Alana Aragon Zulke','#FFFFFF'),
html.Div(ParagraphHTML(texts['alana']),
style={ 'width': '90%', 'height': '90%',
'marginLeft': '5%',
'marginRight': '5%',
'marginTop': '5%',
'marginBottom': '5%',
'borderWidth': '1px',
'borderStyle': 'outset',
'borderRadius': '5px',
'backgroundColor': colors['background'],
})]
column2 = [ImageHTML(images['caio']),
SubTitleBoldHTML('Caio Ferreira Bernardo','#FFFFFF'),
html.Div(ParagraphHTML(texts['caio']),
style={ 'width': '90%', 'height': '90%',
'marginLeft': '5%',
'marginRight': '5%',
'marginTop': '5%',
'marginBottom': '5%',
'borderWidth': '1px',
'borderStyle': 'outset',
'borderRadius': '5px',
'backgroundColor': colors['background'],
})]
column3 = [ImageHTML(images['micanga']),
SubTitleBoldHTML('Matheus Ap. do Carmo Alves','#FFFFFF'),\
html.Div(ParagraphHTML(texts['micanga']),
style={ 'width': '90%', 'height': '90%',
'marginLeft': '5%',
'marginRight': '5%',
'marginTop': '5%',
'marginBottom': '5%',
'borderWidth': '1px',
'borderStyle': 'outset',
'borderRadius': '5px',
'backgroundColor': colors['background'],
}
)]
return html.Div(style={ 'width': '100%', 'height': '100%',
'backgroundColor': colors['background'],
'backgroundImage': 'url(https://www.everynation.org/wp-content/uploads/2018/02/Monthly-Website-Header-background.jpg)'},
children = [
TitleHTML(texts['bye'],'#FFFFFF','32'),
TitleHTML(texts['creators'],'#FFFFFF','32'),
ThreeColumnsHTML([column1,column2,column3]),
])