-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
143 lines (108 loc) · 3.06 KB
/
index.html
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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Digital Portfolio</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylexsheet" href="https://fonts.google.com/specimen/Lora">
</head>
<style>
html {
height: 100%;
margin: 0%;
}
body {
display: flex;
flex-direction: column;
height: 100%;
width: 100%;
padding: 0%;
margin: 0%;
max-height: 100vh;
background-color: #282828;
overflow: hidden;
}
@keyframes pageEnter {
0% {
transform: translateY(100%);
}
100% {
transform: translateY(0);
}
}
#home-page {
display: flex;
flex-direction: column;
scroll-behavior: smooth;
flex-grow: 1;
background-color: white;
transform: translate(-100%);
animation: 2s cubic-bezier(0,1.02,.2,1.01) 1s 1 pageEnter forwards;
}
#global-nav-object {
height: 4rem;
}
@keyframes slideInFromLeft {
0% {
opacity: 0;
transform: translateX(-10%);
}
100% {
opacity: 1;
transform: translateX(0);
}
}
#home-page-content {
display: flex;
flex-direction: column;
justify-content: center;
position: absolute;
height: 100%;
left: 10%;
color: #d4c2ff;
font-size: 3rem;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
#home-page-content h1 {
opacity: 0;
margin: 0%;
padding: 0%;
text-shadow: #716099 5px 8px;
animation: .75s ease-out 1.2s 1 slideInFromLeft forwards;
}
#home-page-content p {
opacity: 0;
margin: 0%;
padding: 0%;
animation: .75s ease-out 1.4s 1 slideInFromLeft forwards;
}
</style>
<body>
<object id="global-nav-object" data="./articleTemplateObjects/articleGlobalNavObjectHome.html"></object>
<div id="home-page">
<script src="vanta.js/three.r134.min.js"></script>
<script src="vanta.js/vanta.globe.min.js"></script>
<script>
VANTA.GLOBE({
el: "#home-page",
mouseControls: true,
touchControls: true,
gyroControls: false,
minHeight: 200.00,
minWidth: 200.00,
scale: 1.00,
scaleMobile: 1.00,
color: 0xd4c2ff,
backgroundColor: 0x282828
})
</script>
<div id="home-page-content">
<h1>Digital Portfolio</h1>
<p>Soohan Cho</p>
</div>
</div>
<p style="position: absolute; margin: 0%; padding: 0%; bottom: 10px; left: 10px; color: gray;">Powered By: VANTA.js</p>
</body>
</html>