-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
211 lines (184 loc) · 8.49 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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
<!DOCTYPE html>
<html>
<head>
<title>Han Hao</title>
<meta charset="UTF-8">
<meta name="keywords" content="Han Han, Han, NTU">
<meta name="description" content="Han Hao's website">
<meta name="author" content="Han Hao Chen">
<link href="http://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<!--Import materialize.css-->
<link type="text/css" rel="stylesheet" href="assets/css/materialize.min.css" media="screen,projection"/>
<!--Let browser know website is optimized for mobile-->
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
</head>
<body>
<!--Import jQuery before materialize.js-->
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
<div class="navbar-fixed">
<nav id="navbar" class="white">
<div class="nav-wrapper container">
<!-- <a href="./index.html" class="brand-logo" style="color:black" id="Go_main">Han Hao</a> -->
<a href="./index.html" id="nav-title" style="color:black" class="brand-logo">Han Hao</a>
<a href="#" data-activates="mobile-demo" class="button-collapse" style="color:black" id="Go_main"><i class="material-icons">menu</i></a>
<ul class="right hide-on-med-and-down">
<li><a href="./about.html" style="color:black" id="Go_about">about</a></li>
<li><a href="./product.html" style="color:black" id="Go_product">product</a></li>
<li><a href="./sample.html" style="color:black" id="Go_sample">sample</a></li>
<li><a href="./contact.html" style="color:black" id="Go_contact">contact</a></li>
</ul>
<ul class="side-nav" id="mobile-demo">
<li><a href="./about.html" style="color:black" id="Go_about">about</a></li>
<li><a href="./product.html" style="color:black" id="Go_product">product</a></li>
<li><a href="./sample.html" style="color:black" id="Go_sample">sample</a></li>
<li><a href="./contact.html" style="color:black" id="Go_contact">contact</a></li>
</ul>
<!-- <a href="#" data-activates="mobile-demo" class="button-collapse" id="Go_main" style="color:black"><i class="material-icons">menu</i></a> -->
</div>
</nav>
</div>
<div class="page active" id="main">
<div id="index-banner" class="parallax-container" style="height:200px;">
<div class="section no-pad-bot">
<div class="container">
<!-- <br><br> -->
<h1 class="header center teal-text text-lighten-2">Hello World</h1>
<div class="row center">
<h5 class="header col s12 light">A modern responsive front-end framework based on Material Design</h5>
</div>
<!-- <div class="row center">
<a href="http://materializecss.com/getting-started.html" id="download-button" class="btn-large waves-effect waves-light teal lighten-1">Get Started</a>
</div> -->
<!-- <br><br> -->
</div>
</div>
<div class="parallax"><img src="DSC_9311.jpg" alt="Unsplashed background img 1" style="display: block; transform: translate3d(-50%, 241px, 0px);"></div>
</div>
<div class="container">
<div class="section">
<!-- Icon Section -->
<div class="row">
<div class="col s12 m4">
<div class="icon-block">
<h2 class="center brown-text"><i class="material-icons">flash_on</i></h2>
<h5 class="center">Speeds up development</h5>
<p class="light">We did most of the heavy lifting for you to provide a default stylings that incorporate our custom components. Additionally, we refined animations and transitions to provide a smoother experience for developers.</p>
</div>
</div>
<div class="col s12 m4">
<div class="icon-block">
<h2 class="center brown-text"><i class="material-icons">group</i></h2>
<h5 class="center">User Experience Focused</h5>
<p class="light">By utilizing elements and principles of Material Design, we were able to create a framework that incorporates components and animations that provide more feedback to users. Additionally, a single underlying responsive system across all platforms allow for a more unified user experience.</p>
</div>
</div>
<div class="col s12 m4">
<div class="icon-block">
<h2 class="center brown-text"><i class="material-icons">settings</i></h2>
<h5 class="center">Easy to work with</h5>
<p class="light">We have provided detailed documentation as well as specific code examples to help new users get started. We are also always open to feedback and can answer any questions a user may have about Materialize.</p>
</div>
</div>
</div>
</div>
</div>
<div class="parallax-container valign-wrapper">
<div class="section no-pad-bot">
<div class="container">
<div class="row center">
<h5 class="header col s12 light">A modern responsive front-end framework based on Material Design</h5>
</div>
</div>
</div>
<div class="parallax"><img src="IMG_0409.jpg" alt="Unsplashed background img 2" style="transform: translate3d(-50%, 384px, 0px); display: block;"></div>
</div>
<!-- <div class="container">
<div class="section">
<div class="row">
<div class="col s12 center">
<h3><i class="mdi-content-send brown-text"></i></h3>
<h4>Contact Us</h4>
<p class="left-align light">haha contact me</p>
</div>
</div>
</div>
</div> -->
<!-- <div class="parallax-container valign-wrapper">
<div class="section no-pad-bot">
<div class="container">
<div class="row center">
<h5 class="header col s12 light">A modern responsive front-end framework based on Material Design</h5>
</div>
</div>
</div>
<div class="parallax"><img src="background3.jpg" alt="Unsplashed background img 3"></div>
</div> -->
<footer class="page-footer teal" style="margin-top: 0px;">
<div class="container">
<div class="row">
<div class="col l6 s12">
<h5 class="white-text">Company Bio</h5>
<p class="grey-text text-lighten-4">hahahahahahahahaha,lalalalalalalalal</p>
</div>
<div class="col l3 s12">
<h5 class="white-text">Settings</h5>
<ul>
<li><a class="white-text" href="#!">Link 1</a></li>
<li><a class="white-text" href="#!">Link 2</a></li>
<li><a class="white-text" href="#!">Link 3</a></li>
<li><a class="white-text" href="#!">Link 4</a></li>
</ul>
</div>
<div class="col l3 s12">
<h5 class="white-text">Connect</h5>
<ul>
<li><a class="white-text" href="#!">Link 1</a></li>
<li><a class="white-text" href="#!">Link 2</a></li>
<li><a class="white-text" href="#!">Link 3</a></li>
<li><a class="white-text" href="#!">Link 4</a></li>
</ul>
</div>
</div>
</div>
<div class="footer-copyright">
<div class="container">
Made by Han Hao Chen
</div>
</div>
</footer>
</div>
<script src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
<script type="text/javascript" src="assets/js/materialize.min.js"></script>
<script type="text/javascript" src="assets/js/main.js"></script>
<script>
//init tabs
$(".button-collapse").sideNav();
$(document).ready(function(){
$('ul.tabs').tabs();
});
(function($){
$(function(){
$('.button-collapse').sideNav();
$('.parallax').parallax();
}); // end of document ready
})(jQuery); // end of jQuery name space
function navFunc(navItem) {
var sections = document.getElementsByClassName('page');
for(var i=0; i<sections.length; i++)
sections[i].style.display = "none";
var Go_target = navItem.getAttribute('id');
var target = Go_target.substring(3, Go_target.length);
document.getElementById(target).style.display = "block";
window.scrollTo(0, 0);
sections = document.getElementsByClassName('hide-tab-scrollbar');
for(var i=0;i<sections.length;i++) {
sections[i].setAttribute('class', '');
}
sections = document.getElementsByClassName('hide-tab-scrollbar');
for(var i=0;i<sections.length;i++) {
sections[i].setAttribute('class', '');
}
}
</script>
</body>
</html>