-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmobile.js
More file actions
91 lines (77 loc) · 2.11 KB
/
mobile.js
File metadata and controls
91 lines (77 loc) · 2.11 KB
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
function MobileNavView (props) {
var innerNavViewStyle = {
textAlign : "center"
};
var h1Style = {
fontSize : "10vw",
};
var h2Style = {
display : "flex",
alignItems: "center",
justifyContent: "center",
fontSize : "8vw",
marginBottom : "2vw",
marginRight : "2vw",
marginTop : "1vw"
};
var contactsStyle = {
marginRight: "2vw"
};
var resumeStyle = {
padding: "0.69vw",
fontSize: "4.3vw",
marginRight: "2vw",
borderRadius: "1vw"
};
var pStyle = {
fontSize : "3vw"
};
return (
<div className="NavView" style={props.navViewStyle}>
<div className="InnerNavView" style={innerNavViewStyle}>
<h1 style={h1Style}>TAEHYUN_LEE</h1>
<h2 id="contacts" style={h2Style}>
<a id="resume_link" href={links.resume} style={resumeStyle}>Resume</a>
<a href={links.github} ><i className="fab fa-github-square"></i></a>
<a href={links.linkedin} ><i className="fab fa-linkedin"></i></a>
<a href={links.mail} ><i className="fas fa-envelope-square"></i></a>
</h2>
<code style={pStyle}>{about_me}</code>
</div>
</div>
);
}
class MobileApp extends React.Component {
render() {
var mobileContainingViewStyle = {
"width" : "100%",
"marginLeft" : "0%"
};
var mobilePaletteContainingViewStyle = {
position : "absolute",
top : "85%",
display : "flex",
alignItems: "center",
justifyContent: "center"
};
var mobilePaletteStyle = {
};
var mobileChangeColStyle = {
width: "6vw",
height: "6vw",
margin: "2vw"
};
var mobileNavViewStyle = {
width: "100%"
};
return (
<div className="ContainingView" style={mobileContainingViewStyle}>
<div className="MobilePaletteContainingView" style={mobilePaletteContainingViewStyle}>
<ColorPalettesView paletteStyle = {mobilePaletteStyle}
changeColStyle = {mobileChangeColStyle}/>
</div>
<MobileNavView navViewStyle = {mobileNavViewStyle}/>
</div>
);
}
}